fix(gateway): clean failed OCI stages #263
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!263
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-147-oci-stage-cleanup"
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?
Why:
config.jsonfiles on disk.What:
Validation:
cargo nextest run -p ar-gateway staged_oci_bundlecargo nextest run -p ar-gatewayjust fmtjust clippyjust testcargo build --workspaceafter cleaning stale local artifactsThe PR introduces a refactor to handle OCI staging failures more securely by cleaning up partial configurations and preventing sensitive data leaks. It adds comprehensive tests to validate these changes, ensuring robustness and security. The changes appear safe to merge.
Walkthrough
startup.rs:stage_embedded_oci_gateway_bundle_at_pathnow callsstage_embedded_oci_gateway_bundle_at_path_with_config_writer, promoting code reuse and maintainability.LLM usage and cost
Estimated total USD: $0.037364 via https://api.openai.com and https://api.openai.com