code-server automatically opens notebooks and changes metadata on start
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- jupyter-notebook
调研方向
使用报告中的 code-server、JupyterLab 和 notebook 设置重现该行为,从启动/打开工作区的流程开始。比较 code-server 启动前后的 notebook 元数据,然后确定负责该行为的集成入口点。完成标准是 notebook 不会自动打开,并且其元数据保持不变。
由索引模型根据 Issue 内容生成。
描述
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:
- 主要语言
- TypeScript
- 星标
- 79.4k
- 派生
- 6.9k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 39
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/code-server 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
coder/code-server#8017 · 2 条评论 ·
-
security
难度 2/5 1-3 小时 新手友好度 74/100
coder/code-server#8013 · 4 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
coder/code-server#7976 · 2 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
coder/code-server#7962 · 3 条评论 ·
-
bug needs-investigation
难度 4/5 3-5 天 新手友好度 55/100
coder/code-server#7955 · 1 条评论 ·
查看 coder/code-server 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 75/100
fil-donadoni/tolaria#4409 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
corsairdev/corsair#1764 ·