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
Fix action result key collisions and secret leak in substitute mode
execute_action's result dict keyed entries on f"execute: {action}", so two
identical actions in one batch would collide and the first result would be
overwritten. With substitute=True, the substituted action (with ${env:...}
already expanded) was also written into the log line and the result key,
exposing secrets pulled in via ${env:...}.
- Key results as f"execute[{index}]: {display}" so duplicate actions keep
both results, matching execute_action_parallel's existing format.
- Track the original (un-substituted) action separately and use it for the
result key, the success log line, and the dry_run payload log; only the
executed callable receives the substituted payload.
- Update docs (en / zh-TW / zh-CN) and the http server test for the new
key format.
- Add regression tests for both fixes in test_action_executor.
0 commit comments