feat(gateway): launch through embedded OCI runtime #130
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!130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-117-oci-gateway-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
auto-review gatewayto default through a packaged embedded OCI launcher with staged bundle/config generation and fail-closed diagnostics.auto-reviewbinary with packaged rootfs andyoukipaths, and add OCI config/rootfs/package contract checks.Verification
nix develop -c cargo fmt --all -- --checknix develop -c cargo test -p ar-gateway oci -- --nocapturenix develop -c cargo nextest run -p ar-gateway --no-tests=passnix develop -c cargo test -p ar-cli flake_nix develop -c cargo clippy --workspace --all-targets -- -D warningsnix build .#checks.x86_64-linux.ar-gateway-embedded-oci-config-contract .#checks.x86_64-linux.auto-review-packaged-gateway-launcher-contract .#checks.x86_64-linux.ar-gateway-embedded-oci-rootfs-contentsCloses #117
This PR introduces an embedded OCI runtime for the
auto-review gateway, enhancing security and configurability. The changes include new structs and functions for handling OCI configurations, environment variables, and runtime commands. The PR appears safe to merge, with comprehensive tests ensuring functionality.Walkthrough
EmbeddedOciGatewayInputs,EmbeddedOciGatewayEnvValues,PackagedOciRuntimeCommand) to manage OCI configurations and runtime commands.@ -94,9 +186,9 @@ fn select_gateway_launcher(};🟡 Warning: The error message for OCI gateway launcher setup failure now includes the diagnostic details, which can help in debugging but may also expose sensitive information. Ensure that the diagnostic details are properly sanitized before being included in error messages.
@ -1063,8 +1495,8 @@ mod tests {"default gateway launcher failure should identify the OCI launcher path, got: {message}"🟡 Warning: The test checks for sanitized OCI setup failure context. Ensure that the diagnostic messages are properly sanitized to avoid leaking sensitive information.