Repository navigation
fix(server): PR watches report reruns that fail again and failed runs another GitHub event hides - #32319
fix(server): PR watches report reruns that fail again and failed runs another GitHub event hides#32319juliusmarminge wants to merge 13 commits into
Needs Human Approval
- Eligibility · Permissive mode · Your custom policy
- Correctness
Note
More information about how approvability works can be found in our Help Center.
Details
Eligibility
This changes how PR watches identify failed retries and combine checks from different GitHub events. Unresolved concerns about missed GitLab retry failures and false or duplicate agent wakes need resolution before the new notification behavior can be relied upon.
Additional Thinking
Your Custom Policy
Default criteria apply. The assessed changes introduce neither a product-default setting change nor a diagnostic-suppression directive, so neither additional mandatory-review condition independently triggers this decision.
Code
The scoped diff adds optional check timestamps and per-head failed-run history, restores that history when watches restart, and changes GitHub check deduplication to retain the worse outcome across trigger events. This affects check summaries and agent wake notifications for existing PR watches. Optional fields preserve older watch compatibility; history resets on head changes. Ignored files were not reconstructed.
Review Context
The author is a repository admin and ping-devs member; no specific code ownership was supplied. Unresolved external concerns describe duplicate notifications after partial reads, false failures for skipped/neutral outcomes, missing GitLab stage retry notifications, and unrelated stage wakes. These concern agent behavior rather than style and have no supplied resolution. The Macroscope Medium finding describes permanently suppressed retry-failure wakes and independently meets the configured Medium blocking threshold. Supplied agents were skipped or unknown, not passes. The PR description reports targeted tests and synthetic reproductions, but these do not answer the unresolved concerns.
Verdict
Existing watches drive agent notifications. Substantive unanswered external concerns identify missed retry failures and false or duplicate wakes, potentially leaving failed work unattended or causing unnecessary agent activity. A human must resolve the GitLab retry-identity and cross-event status concerns before relying on the changed notification behavior. The separate Medium correctness gate remains applicable without re-adjudication.
Notes:
No code owners found in target merge base 750e492
Correctness
1 blocking correctness issue found
Agent Credits: 30 credits
Approvability runs at a flat rate of 30 credits whenever the agent is asked for a verdict.