Repository navigation
fix(sandbox): fix create ordering race, dual-registry credentials, and policy identity clearing - #176
Merged
Merged
Conversation
…d policy identity clearing
drew
added a commit
that referenced
this pull request
Mar 16, 2026
…d policy identity clearing (#176)
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
Follow-up fixes for #170 (CloudFront CDN registry switch) that were discovered during testing but never committed.
spec: None, causing the supervisor to fail with "sandbox has no spec". Error cleanup paths now use early returns and clean up store + index on failure.DIST_REGISTRY_*env vars to the cluster container and add a second mirror + auth block inregistries.yamlso containerd can pull community sandbox images at runtime.get_or_insert_withto ensure a policy always exists before clearing process identity. Previously, if no explicit policy was passed with a custom image,clear_process_identitywas skipped, causing the server to fall back to disk discovery which could re-introducerun_as_user: sandboxfor images without that user.spawn_store_reconcilerwas implemented in feat(cli): switch community sandbox registry to CloudFront CDN #170 but never actually spawned in server startup.