Skip to content

Make sandbox image commits asynchronous#1280

Open
zhongwen666 wants to merge 2 commits into
alibaba:masterfrom
zhongwen666:feat/async-sandbox-commit
Open

Make sandbox image commits asynchronous#1280
zhongwen666 wants to merge 2 commits into
alibaba:masterfrom
zhongwen666:feat/async-sandbox-commit

Conversation

@zhongwen666

@zhongwen666 zhongwen666 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

closes #1279

Summary

Run sandbox image commit and push asynchronously through the Proxy role while preserving the Admin role legacy synchronous commit API.

Key changes

  • Add async commit start and status polling to sandbox_proxy_api.py, dispatch through the existing Rocklet execute API, and persist lifecycle state in Worker-local PID, lock, and log files.
  • Preserve the Admin synchronous /commit route and Ray chain; use existing sandbox metadata with database host fallback and no new Redis task state.
  • Add Python and TypeScript SDK polling support and cover lifecycle, concurrency, timeout cleanup, and restart recovery with three focused tests.

@zhongwen666
zhongwen666 force-pushed the feat/async-sandbox-commit branch from 98ca3a7 to dc68915 Compare July 21, 2026 11:11
@zhongwen666
zhongwen666 force-pushed the feat/async-sandbox-commit branch from dc68915 to 6462445 Compare July 22, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make sandbox image commits asynchronous

1 participant