Repository navigation
Conversation
Live evidence on the throwaway PR (#2775) surfaced a real bug: the bare 'Test' prefix (test_hub_agents.yml's matrix-templated job) was also matching OTHER prefix-mode jobs' rendered names (Test Apps Build (jira), Test MCPAgent (ubuntu-latest)) because the reserved-names guard only covered static names, not other prefixes. The verdict came out right that run (both were legitimately still skipped), but the failure message misattributed which job was actually failing. Replaces the reserved-names dict with a general most-specific-owner rule: every check-run name belongs to whichever job's matcher matches it most specifically (exact beats any prefix; among prefixes, the longer one wins), computed across every job in every workflow file regardless of exclude or trigger type.
Live evidence on the throwaway PR (#2775) surfaced a real bug: the bare 'Test' prefix (test_hub_agents.yml's matrix-templated job) was also matching OTHER prefix-mode jobs' rendered names (Test Apps Build (jira), Test MCPAgent (ubuntu-latest)) because the reserved-names guard only covered static names, not other prefixes. The verdict came out right that run (both were legitimately still skipped), but the failure message misattributed which job was actually failing. Replaces the reserved-names dict with a general most-specific-owner rule: every check-run name belongs to whichever job's matcher matches it most specifically (exact beats any prefix; among prefixes, the longer one wins), computed across every job in every workflow file regardless of exclude or trigger type.
|
🟡 Two "throwaway" probe comments are still present in production source files and will merge into main if not removed. Both comments explicitly say they should be deleted — one says "deleted immediately after capture", the other "deleted with the evidence branch" — but they're still in the diff. This isn't a runtime correctness issue, but merging intentionally-temporary noise into two core files violates the project's inline-comment convention (no issue-number references, no task-context comments) and leaves permanent rot. 🔍 Technical details
Both should be removed before merge. Neither has any effect on behavior, but both violate CLAUDE.md's rule against task-reference comments ("Don't reference the current task, fix, or callers … since those belong in the PR description and rot as the codebase evolves"). |
2752ab5 to
6640610
Compare
|
Verdict: Approve — this is a deliberate throwaway CI-validation probe for #2767, and it does exactly what it says. The PR adds two self-describing "throwaway evidence probe" comments — one at the end of the email agent, one near the top of the base agent — purely to prove the widened
Real-world evidenceN/A — comment-only change, no CLI/API/MCP/UI surface touched (the 🔍 Technical detailsChanged files
Issues 🟢 Minor — Throwaway comments must be removed, not merged ( No correctness, security, or breaking-change concerns — the change is inert by construction. Strengths
|
Live evidence on the throwaway PR (#2775) showed this: the repo's auto-labeler added labels shortly after the PR opened, firing a second labeled event for the same SHA while the gate was still polling. With cancel-in-progress: true, that killed the in-progress run before it ever called post_check_run() — benign here only because a further run happened to supersede it. If a cancelled run is ever the LAST triggering event for a SHA, the check silently never posts at all: a fourth way to fail open, inside the fix for the other three. Queuing costs run time on a burst of events but guarantees every trigger eventually gets a real, posted verdict.
|
Confirmed — this is a deliberate throwaway CI-validation probe for #2767. Closing without merging now that the trigger is verified, so the two probe comments never reach main. |
|
Closing unmerged — throwaway evidence PR only, purpose served. |
Throwaway PR used only to capture before/after CI evidence for #2767 (PR base-branch trigger gap + required checks gate). Base is intentionally not
main. Will be closed and both branches deleted immediately after capture.