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

Sandbox stuck in unrecoverable Error phase after supervisor session drops (SSH disconnect); stop/start refuse to act

Đang mở
#3,308 2 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
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
backend, cli

Hướng nghiên cứu

Bắt đầu bằng cách lần theo việc xử lý phiên supervisor và quá trình xác thực giai đoạn sandbox đứng sau các lỗi sandbox stopsandbox start đã được báo cáo, sử dụng các log gateway và các bước tái hiện được cung cấp. Được xem là hoàn tất khi kết nối SSH bị ngắt không còn làm mất khả năng khôi phục, hoặc một đường dẫn khôi phục tường minh có thể khôi phục sandbox mà không loại bỏ /sandbox.

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

Mô tả

state:triage-needed

Summary

When the SSH connection carrying a sandbox's supervisor session drops (e.g. client-side "Broken pipe"), the sandbox transitions to Phase: Error and there is no way to recover it short of sandbox delete + sandbox create. sandbox stop and sandbox start both refuse to act on an Error-phase sandbox, so the workspace inside /sandbox is unrecoverable.

Steps to reproduce

  1. openshell sandbox create (image/policy running openclaw-start as main command)
  2. Attach interactively over SSH and run through a long-running foreground process (e.g. an onboarding wizard)
  3. Let the SSH client disconnect mid-session (e.g. network blip → client_loop: send disconnect: Broken pipe)
  4. openshell sandbox get <name>Phase: Error
  5. openshell sandbox stop <name>Error: sandbox must be Ready to stop (current phase: Error)
  6. openshell sandbox start <name>Error: sandbox must be Stopped to start (current phase: Error)

Relevant logs

[1789391074.213] [gateway] [WARN ] supervisor session: stream error
[1789391074.213] [gateway] [INFO ] supervisor session: ended

(log capture was truncated at time of report)

Expected

Either:

  • The supervisor session should be independent of the client SSH connection that carries it (a network drop on the client side shouldn't kill the sandbox), or
  • Error phase should have a documented recovery path (e.g. sandbox stop --force / sandbox recover) that doesn't discard the workspace.

Actual

The only path out of Error phase is sandbox delete, which discards the sandbox's workspace with no export/backup step offered.

openshell version: 0.0.116

Ngôn ngữ chính
Rust
Star
8.7k
Fork
1.3k
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
271

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 NVIDIA/OpenShell

Tất cả issue của NVIDIA/OpenShell

Issue tương tự

Thêm issue về Rust

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.