Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

code-server automatically opens notebooks and changes metadata on start

Aberta
#7,399 6 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
jupyter-notebook

Direção de pesquisa

Reproduza o comportamento usando a configuração reportada de code-server, JupyterLab e notebook, começando pelo fluxo de inicialização e abertura do workspace. Compare os metadados do notebook antes e depois da inicialização do code-server e, em seguida, identifique o ponto de entrada da integração responsável. A tarefa estará concluída quando o notebook não for aberto automaticamente e seus metadados permanecerem inalterados.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
TypeScript
Estrelas
79.4k
Forks
6.9k
Merge médio
2d 13h
PRs com merge (30d)
39

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de coder/code-server

Todas as issues de coder/code-server

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.