Files
OpenShell/crates
Shiju 97986d9059 fix(server): resume unspecified sandbox phase (#1765)
Legacy or never-initialized sandbox rows decode to the proto-default
Unspecified phase. The startup resume sweep skipped them, leaving the
backend unreconciled: never resumed, never errored. Unspecified was the
only non-terminal phase skipped, since unrecognized values already fall
through to Unknown and get resumed.

Treat Unspecified as running so the sweep reconciles it from live driver
state: resume when the backend resource exists, mark Error when it is gone.

Tests

- cargo test -p openshell-server \
  resume_persisted_sandboxes_resumes_running_phases

Signed-off-by: Shiju <shiju@nvidia.com>
2026-06-04 19:30:46 -07:00
..