feat(gateway): add fail-closed OCI launcher seam #127
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review!127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-117-embedded-youki-oci-launcher"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
--bare/AR_GATEWAY_BARE=trueopt-out warnings.auto-review gateway --barethroughar_gateway::StartupOptionsand marks packaged container startup withAR_GATEWAY_EXTERNAL_ISOLATION=container.Verification
nix develop -c cargo fmt --all -- --checknix develop -c cargo nextest run -p ar-gateway external_container explicit_bare launcher startup_options run_from_env_wiresnix develop -c cargo test -p ar-cli gateway -- --nocapturenix develop -c cargo test -p ar-cli flake_publishes_auto_review_as_the_only_operator_binary -- --nocapturenix develop -c cargo clippy --workspace --all-targets -- -D warningsnix develop -c cargo nextest run --workspace --no-tests=passNotes
Closes #117
This PR introduces a fail-closed OCI launcher seam with a default direct-binary startup and an explicit
--bareopt-out. The changes appear well-structured and include updates to documentation and tests. Ensure that the implications of using the--bareoption are clearly communicated to users.Walkthrough
auto-review gateway --bare, indicating a change in default behavior.--bareoption.GatewayArgsto handle the--bareoption, and updated tests to cover this new behavior.StartupOptionsstruct and updatedrun_from_envto accept these options, ensuring the gateway launcher decision is based on the provided options.