8000
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
min task run: keep the approved task environment when saving the policy fails #4058
Found in review of #4009 (comment), at crates/minimal/src/task.rs:1165. Unresolved when this issue was filed.
Keep the approved task environment when saving it fails.
If the user approves an environment variable and the policy write returns WriteError::Failed, this call returns before gate_task_env hands back the resolved environment and amended policy. Previously, run_entry used both and continued after reporting the save failure. Keep the report deferred until the command completes so the current approval still applies. If the task succeeds, report the write failure at that point.
Activity