molecule-core/tools
Molecule AI Infra-SRE 6d66e854cf fix(sre): gate-check-v3 remove combined_state self-referential fallback
The `elif ci_state == "failure"` fallback in signal_6_ci was creating a
self-referential failure loop: gate-check posts failure → combined_state
becomes failure → script re-blocks → posts failure again.

Root cause: combined_state is Gitea's aggregate over ALL commit statuses,
including gate-check-v3's own prior result. Using it as a fallback verdict
driver means the script gates on its own output.

Fix: remove the combined_state fallback. check_statuses already excludes
gate-check (Bug-1 fix from PR #547). Use failing_required as the sole
CI gate. If no required checks are defined on the branch, return CLEAR
rather than re-using combined_state which includes our own status.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 21:07:03 +00:00
..
branch-protection ci(branch-protection): check-name parity gate (#144) 2026-05-07 14:42:50 -07:00
gate-check-v3 fix(sre): gate-check-v3 remove combined_state self-referential fallback 2026-05-11 21:07:03 +00:00
check-template-parity.sh fix(scripts): migrate ghcr.io→ECR + raw.githubusercontent.com→Gitea (#46) 2026-05-07 00:56:23 -07:00
test-hermes-bridge.sh test: regression guards for 2026-04-23 hermes + CP bug wave 2026-04-23 17:45:13 -07:00