fix(gateway): report invalid OCI env values #206
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!206
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-149-oci-env-errors"
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
Verification
nix develop -c cargo test -p ar-gateway embedded_oci_gateway_reports_non_unicode -- --nocapturenix develop -c cargo clippy -p ar-gateway --all-targets -- -D warningsnix develop -c cargo fmt --all -- --checkCloses #149.
The PR introduces a mechanism to handle non-Unicode environment variables for OCI setups, ensuring they are reported as invalid. It also adds tests to verify this behavior and removes a potentially risky package. The changes appear safe to merge.
Walkthrough
read_env_var_for_ocito handle environment variable retrieval, distinguishing between missing and non-Unicode values.inner_gateway_process_env_from_lookupto use the new function, improving error handling for non-Unicode values.context-modepackage, addressing a session permission-bypass concern.