Repository navigation
fix(agents): serialize sandbox provisioning - #115645
Merged
Merged
Conversation
vincentkoc
marked this pull request as ready for review
July 29, 2026 06:02
vincentkoc
force-pushed
the
fix/sandbox-browser-lifecycle-e2e-20260729
branch
4 times, most recently
from
July 29, 2026 06:30
3f25ca9 to
db880a6
Compare
vincentkoc
force-pushed
the
fix/sandbox-browser-lifecycle-e2e-20260729
branch
from
July 29, 2026 06:35
db880a6 to
f84d263
Compare
Member
Author
|
Land-ready at
No ClawSweeper comment or |
Member
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Jul 29, 2026
…ifecycle-hooks * origin/main: fix(agents): serialize sandbox provisioning (#115645)
This was referenced Jul 29, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 30, 2026
* fix(agents): serialize sandbox provisioning * test(docker): add sandbox browser sidecar e2e * fix(ci): register sandbox browser e2e entrypoint * fix(ci): restore code mode matrix checks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #115252
Related: #51363
What Problem This Solves
Fixes an issue where concurrent sandbox requests could race while creating the same normal or browser Docker container, producing a container-name conflict instead of one reusable sandbox context. It also closes the package-backed Docker proof gap for the sandbox browser sidecar.
Why This Change Was Made
The normal sandbox and browser sidecar lifecycles now serialize by their concrete bounded container names, so later callers re-read Docker state after create, start, or replacement completes. A service-class Docker E2E lane installs the packed OpenClaw tarball and verifies concurrent provisioning, authenticated browser control, a real Chrome snapshot, packaged CLI listing, browser recreation, and cleanup.
The branch also repairs the remaining current-main code-mode matrix boundary failure by importing the QA Lab public barrel through its supported
.jsspecifier. The callback typing failure was independently fixed by #115674 while this PR was in flight.User Impact
Concurrent agent startup can converge on one sandbox and browser sidecar without intermittent Docker name conflicts. Maintainers also get a real package-backed regression lane for this workflow.
Evidence
openclaw sandbox list --browser --json,sandbox recreate --browser, and cleanup.pnpm check:changedpassed all selected typecheck, lint, package, SDK, dead-code, and architecture gates.