Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

code-server automatically opens notebooks and changes metadata on start

Đang mở
#7,399 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
jupyter-notebook
Lĩnh vực
developer-experience

Hướng nghiên cứu

Tái hiện hành vi bằng cách sử dụng thiết lập code-server, JupyterLab và notebook đã được báo cáo, bắt đầu từ luồng khởi động/mở workspace. So sánh metadata của notebook trước và sau khi code-server khởi động, sau đó xác định integration entry point chịu trách nhiệm. Được xem là hoàn thành khi notebook không tự động mở và metadata của nó không thay đổi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
79.4k
Fork
6.9k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
39

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/code-server

Tất cả issue của coder/code-server

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.