code-server automatically opens notebooks and changes metadata on start
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
- Domínio
- developer-experience
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
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:
- Linguagem predominante
- TypeScript
- Estrelas
- 79.4k
- Forks
- 6.9k
- Merge médio
- 2d 13h
- PRs com merge (30d)
- 39
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de coder/code-server
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
coder/code-server#8017 · 2 comentários ·
-
Bump proxy-addr to 2.0.8 Abertasecurity
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
coder/code-server#8013 · 4 comentários ·
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
coder/code-server#7976 · 2 comentários ·
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
coder/code-server#7962 · 3 comentários ·
-
bug needs-investigation
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
coder/code-server#7955 · 1 comentário ·
Todas as issues de coder/code-server
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
TanStack/tanstack.com#1293 ·