Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

code-server automatically opens notebooks and changes metadata on start

Aperta
#7,399 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
jupyter-notebook

Direzione di ricerca

Riproduci il comportamento utilizzando la configurazione indicata di code-server, JupyterLab e notebook, iniziando dal flusso di avvio e apertura dell'area di lavoro. Confronta i metadati del notebook prima e dopo l'avvio di code-server, quindi individua il punto di ingresso dell'integrazione responsabile. Il lavoro è completato quando il notebook non si apre automaticamente e i suoi metadati rimangono invariati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug triage
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
  1. Clone a git repository in your code-server environment
  2. Create a jupyter notebook in the git repository (let's call it test.ipynb)
  3. Open the test.ipynb file in the JupyterLab environment (NOT code-server) and edit it
  4. Git commit the edits from the JupyterLab terminal: git add . and then git commit -m "test commit"
  5. 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:

Image

Expected
  1. It shouldn't open the test.ipynb file automatically in the code-server environment.
  2. it shouldn't edit the notebook metadata.
Actual
  1. It opens the test.ipynb file automatically in the code-server environment.
  2. 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:

Image

While, if I create a new Jupyter Notebook in the Jupyterlab environment, these are the metadata I see:

Image

Lingua principale
TypeScript
Stelle
79.4k
Fork
6.9k
Merge medio
2g 13h
PR unite (30g)
39

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/code-server

Tutte le issue di coder/code-server

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.