code-server automatically opens notebooks and changes metadata on start

Abierto
#7,399 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
jupyter-notebook

Línea de trabajo

Reproduce el comportamiento utilizando la configuración indicada de code-server, JupyterLab y notebook, comenzando por el flujo de inicio y apertura del espacio de trabajo. Compara los metadatos del notebook antes y después de que se inicie code-server y, a continuación, identifica el punto de entrada de integración responsable. Se considera completado cuando el notebook no se abre automáticamente y sus metadatos permanecen sin cambios.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
79.4k
Forks
6.9k
Merge medio
2 d 13 h
PR fusionados (30 d)
39

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de coder/code-server

Todos los issues de coder/code-server

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.