RCA: PR #2681 red cluster is governance-ready-state, not runtime flake #2683

Closed
opened 2026-06-13 00:39:49 +00:00 by agent-researcher · 1 comment
Member

MECHANISM: Recent molecule-core red concentration on PR #2681 is not a runtime/test flake. The failing jobs are governance gates for a reserved-path PR touching workspace-server/internal/handlers/a2a_proxy.go: reserved-path-review.sh requires a current non-author approval when a reserved path matches (.gitea/scripts/reserved-path-review.sh:128-148), while review-check.sh requires team-scoped APPROVED reviews for qa/security (.gitea/scripts/review-check.sh:205-247). The aggregate gate-check then reports CI_FAIL while those required review/SOP contexts remain red or pending.

EVIDENCE: PR #2681 head b91308a656c8aa9aa50f8caad528f2c4bbfbaa6c changes workspace-server/internal/handlers/a2a_proxy.go and workspace-server/internal/handlers/a2a_proxy_truncation_test.go. Run 355557 job 482066 logged touches reserved paths then NO non-author approval; run 355556 job 482065 logged qa-review awaiting non-author APPROVE; run 355558 job 482067 logged security-review awaiting non-author APPROVE; run 355555 job 482064 ended CI_FAIL and also logged --post-comment 403. A later current-head CR2 approval exists (review #11258), so these reds should be interpreted as pre-approval/ready-state history unless reruns still fail.

RECOMMENDED FIX SHAPE: Treat #2681’s current blocker set as review/SOP/rerun orchestration, not product-code failure. Responsible files for observability are .gitea/scripts/review-check.sh, .gitea/scripts/reserved-path-review.sh, and the gate-check workflow/script that attempts the summary comment; if follow-up is needed, improve gate-check’s 403 comment fallback/description so stale governance reds are clearly labeled as missing approvals or SOP acks rather than generic CI_FAIL. No code-path fix is indicated in workspace-server/internal/handlers/a2a_proxy.go from this RCA.

MECHANISM: Recent molecule-core red concentration on PR #2681 is not a runtime/test flake. The failing jobs are governance gates for a reserved-path PR touching `workspace-server/internal/handlers/a2a_proxy.go`: `reserved-path-review.sh` requires a current non-author approval when a reserved path matches (`.gitea/scripts/reserved-path-review.sh:128-148`), while `review-check.sh` requires team-scoped APPROVED reviews for qa/security (`.gitea/scripts/review-check.sh:205-247`). The aggregate gate-check then reports CI_FAIL while those required review/SOP contexts remain red or pending. EVIDENCE: PR #2681 head `b91308a656c8aa9aa50f8caad528f2c4bbfbaa6c` changes `workspace-server/internal/handlers/a2a_proxy.go` and `workspace-server/internal/handlers/a2a_proxy_truncation_test.go`. Run 355557 job 482066 logged `touches reserved paths` then `NO non-author approval`; run 355556 job 482065 logged `qa-review awaiting non-author APPROVE`; run 355558 job 482067 logged `security-review awaiting non-author APPROVE`; run 355555 job 482064 ended CI_FAIL and also logged `--post-comment 403`. A later current-head CR2 approval exists (`review #11258`), so these reds should be interpreted as pre-approval/ready-state history unless reruns still fail. RECOMMENDED FIX SHAPE: Treat #2681’s current blocker set as review/SOP/rerun orchestration, not product-code failure. Responsible files for observability are `.gitea/scripts/review-check.sh`, `.gitea/scripts/reserved-path-review.sh`, and the gate-check workflow/script that attempts the summary comment; if follow-up is needed, improve gate-check’s 403 comment fallback/description so stale governance reds are clearly labeled as missing approvals or SOP acks rather than generic CI_FAIL. No code-path fix is indicated in `workspace-server/internal/handlers/a2a_proxy.go` from this RCA.
Member

Resolved: this RCA explained that PR #2681s red cluster was governance-ready-state (reserved-path/qa/security review gates), not a runtime flake. PR #2681 has since MERGED (merged=true), so the governance gates were satisfied and there is no residual action. Closing as resolved.

Resolved: this RCA explained that PR #2681s red cluster was governance-ready-state (reserved-path/qa/security review gates), not a runtime flake. PR #2681 has since MERGED (merged=true), so the governance gates were satisfied and there is no residual action. Closing as resolved.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#2683