Fix heavy-build rootfs provisioning - #22
Open
H3xept wants to merge 1 commit into
Open
Conversation
H3xept
force-pushed
the
agent/fix-heavy-build-rootfs
branch
from
July 16, 2026 06:20
15b90b2 to
ebff2d4
Compare
H3xept
force-pushed
the
agent/fix-heavy-build-rootfs
branch
from
July 16, 2026 06:25
ebff2d4 to
3f08403
Compare
H3xept
marked this pull request as ready for review
July 16, 2026 09:28
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.
Fixes #21.
What
heavy-buildcurated image with Docker Engine, Buildx, and Compose503 no_capacitywith reasonimage_unavailablebefore creating a sandbox recorddocker infoduring guest boot and include the daemon log when startup failsWhy
The catalog advertised
heavy-build, but node provisioning did not build its rootfs. The scheduler assumed curated images were present, so requests reached Firecracker, failed while staging a missing artifact, and left a failed sandbox record behind a generic HTTP 500.The control plane now queries each worker's local runtime through the authenticated internal node API. Inventory checks run concurrently and each remote call has a two-second total timeout. A timeout or error makes only that worker ineligible, while nodes that report the requested artifact remain eligible for
base, browser, andheavy-buildplacement.Failure mode
Provisioning now stops if the Docker-capable image cannot boot or if Docker, Compose, nested containers, DNS, or bridge egress do not work. At runtime, a missing image produces a stable capacity response instead of a partial sandbox lifecycle.
Checks
cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspace(59 sandboxd unit tests and 22 integration tests passed)cargo audit(passed; one repository-allowedanyhowwarning reported)cd sdk/typescript && npm ci && npm run build && npm pack --dry-runcd sdk/python && python -m buildshellcheck deploy/provision-node.sh deploy/images/heavy-build/sandbox-initjq, andgitheavy-buildimage before a node is accepted; this exact target-image smoke runs during Linux/KVM provisioning