fix(api): surface p0 next action command in summary
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 38s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-01 23:16:53 +08:00
parent 530270c339
commit 230ad3ef9c
3 changed files with 19 additions and 1 deletions

View File

@@ -1079,6 +1079,13 @@ def apply_ai_loop_current_blocker_execution_queue(
summary["ai_loop_current_blocker_safe_next_action_stage"] = (
safe_next_action_stage
)
summary["ai_loop_current_blocker_safe_next_action"] = safe_next_action
summary["ai_loop_current_blocker_safe_next_action_command"] = (
safe_next_action_command
)
summary["ai_loop_current_blocker_safe_next_action_post_verifier"] = (
safe_next_action_post_verifier
)
summary["ai_loop_current_blocker_safe_next_action_requires_local_console"] = (
safe_next_action_requires_local_console
)

View File

@@ -538,6 +538,12 @@ def test_awoooi_priority_work_order_readback_overlays_ai_loop_current_blocker_qu
assert payload["summary"]["ai_loop_current_blocker_safe_next_action_id"] == (
"run_110_local_ssh_session_control_path_recovery_then_verify_cd_and_deploy_marker_readback"
)
assert payload["summary"]["ai_loop_current_blocker_safe_next_action_command"] == (
"recover-110-control-path-and-harbor-local.sh --check"
)
assert "read-public-gitea-actions-queue.py --json" in payload["summary"][
"ai_loop_current_blocker_safe_next_action_post_verifier"
]
assert payload["summary"][
"ai_loop_current_blocker_safe_next_action_requires_local_console"
] is True