Fix direct sandbox merged-/usr startup and IPv6 binding#26
Open
LeonardSEO wants to merge 1 commit into
Open
Conversation
|
|
LeonardSEO
marked this pull request as ready for review
July 20, 2026 09:19
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.
Summary
This PR addresses the concrete runtime issues that can be fixed without changing the storage or egress architecture:
/usrtree once (issue Direct sandbox startup fails on merged /usr runner images #22).SANDBOX_BIND_HOST/bind_porthandling so IPv6 listeners do not break on colon splitting (issue Allow for IPv6 clusters #23)./host-packagesmount when available and keeps bakedROOTFS/pkgsas the fallback when the mount is empty or unavailable (partial issue [Feature Request] Add NsJail direct sandbox with baked pkgs #24).Validation
bash tests/start-direct-sandbox.test.shbash -n docker/start-direct-sandbox.sh tests/start-direct-sandbox.test.shnpx --yes bun test api/src/config.test.tsgit diff --checkScope notes
Issue #25 appears to be an injection/lifecycle race in the LibreChat integration: the first execution arrives with zero injected files, while the second has the resource file. It is not reproducibly fixable in this repository from the issue evidence alone.
Issues #15, #21, #11, and #6 require separate upstream design or infrastructure work (virtio-fs/libkrun descriptor lifecycle, Flux-compatible chart sourcing, object-storage migration, and a policy-controlled egress gateway respectively).
References: #22, #23, #24, #25, #15, #21, #11, #6