code-server automatically opens notebooks and changes metadata on start
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- jupyter-notebook
- Domain
- developer-experience
Research direction
Reproduce the behavior using the reported code-server, JupyterLab, and notebook setup, beginning with the startup/open-workspace flow. Compare the notebook metadata before and after code-server starts, then identify the integration entry point responsible. Done means the notebook does not open automatically and its metadata remains unchanged.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Microsoft Edge
- Local OS: Amazon Linux 2023
- Remote OS: Amazon Linux 2023
- Remote Architecture:
code-server --version: 4.98.0
Steps to Reproduce
- Clone a git repository in your code-server environment
- Create a jupyter notebook in the git repository (let's call it test.ipynb)
- Open the test.ipynb file in the JupyterLab environment (NOT code-server) and edit it
- Git commit the edits from the JupyterLab terminal:
git add .and thengit commit -m "test commit" - Now open the code-server environment:
-
The first strange thing is that the test.ipynb file will open automatically.
-
The second strange thing is that it edits the metadata of the notebook:
Expected
- It shouldn't open the test.ipynb file automatically in the code-server environment.
- it shouldn't edit the notebook metadata.
Actual
- It opens the test.ipynb file automatically in the code-server environment.
- It edits the notebook metadata.
Does this bug reproduce in native VS Code?
This cannot be tested in native VS Code
Does this bug reproduce in GitHub Codespaces?
This cannot be tested in GitHub Codespaces
Are you accessing code-server over a secure context?
- I am using a secure context.
Notes
My code-server environment runs inside a Docker container.
In this container I have installed:
- jupyterlab: 4.4.2
- jupyterlab_server: 2.27.3
- jupyterhub: 1.5.0
- code-server: 4.98.0
Also note that if I create a new Jupyter Notebook from code-server, these are the metadata I see:
While, if I create a new Jupyter Notebook in the Jupyterlab environment, these are the metadata I see:
- Dominant language
- TypeScript
- Stars
- 79.4k
- Forks
- 6.9k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 39
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coder/code-server
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
coder/code-server#8017 · 2 comments ·
-
security
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
coder/code-server#8013 · 4 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
coder/code-server#7976 · 2 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
coder/code-server#7962 · 3 comments ·
-
bug needs-investigation
Difficulty 4/5 3-5 days Newbie friendliness 55/100
coder/code-server#7955 · 1 comment ·
All issues in coder/code-server
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100