Skip to content

fix: persist sandbox before asynchronous bootstrap - #2

Merged
ttwj merged 3 commits into
mainfrom
codex/sandbox-provisioning-lifecycle
Jul 15, 2026
Merged

fix: persist sandbox before asynchronous bootstrap#2
ttwj merged 3 commits into
mainfrom
codex/sandbox-provisioning-lifecycle

Conversation

@ttwj

@ttwj ttwj commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Why

The deployed sandbox create path can start lengthy desktop/Claude bootstrap work before a durable sandbox identity is returned. This prevents reliable cancellation and cleanup.

Change

  • persist the provisioning sandbox identity before bootstrap
  • run optional bootstrap asynchronously and reflect terminal failure
  • add lifecycle route coverage
  • retain the Azure E2E runbook

Verification

  • pnpm --filter @onecli/api test -- src/routes/sandboxes.test.ts (2 passed)
  • Full local pre-push hook could not run because this Mac has no Rust toolchain for the unrelated gateway crate; GitHub CI remains required before merge.

ttwj added 3 commits July 16, 2026 00:45
(cherry picked from commit d0438e08e8c1eca695824a3e2a245cd16c5811b1)
(cherry picked from commit ebd0aa80f65ddbf780c1367b0f1aeb92c3f2fe8d)
@ttwj
ttwj merged commit 9f9234c into main Jul 15, 2026
4 checks passed
@ttwj
ttwj deleted the codex/sandbox-provisioning-lifecycle branch July 15, 2026 16:51
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.

1 participant