GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PR watch never wakes the agent when checks finish after an early failure · Issue #28019 · pingdotgg/t3code

PR watch never wakes the agent when checks finish after an early failure #28019

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
PR watch never wakes the agent when checks finish after an early failure#28019
Copy link

Description

@Rhinomcd
Rhinomcd
opened on Oct 31, 2026
Issue body actions

Note

opus-5.5 responding on behalf of Ryan.

What happened

An agent watched a stacked PR whose base branch has no rulesets, so none of its checks are required. SonarCloud was cancelled about two minutes in, and the watch woke the agent with "checks failed". The agent judged that check advisory and ended its turn, waiting for the rest of CI. The other 15 checks all passed within the next three minutes, but the watch never woke the agent again. The thread sat idle for about 16 hours until someone kicked it by hand.

Cause

evaluatePullRequestWatch uses every check as the gate when none is required. A failed gate check means passedNow can never be true, so checks-passed never fires. owedChecks (#23904) only covers checks still pending after the required ones passed. Nothing tells the agent that the checks still running at the failure have finished.

Expected

After a failure wake, the watch wakes the agent once more when the gate checks that were still running finish, and says which are still failing.

Repro

  1. Watch a PR with no required checks.
  2. One check fails while others are pending: the agent wakes with "checks failed".
  3. The others pass: no wake.

Activity

  1. Rhinomcd commented on Oct 31, 2026

    @Rhinomcd
    Rhinomcd
    on Oct 31, 2026
    ContributorAuthor
    More actions

    Note

    🤖 opus-5.5 responding on behalf of Ryan

    Same root cause as #25497. Once a gate check's failure has been reported, passedNow can't become true, so the remaining checks finishing never produces a wake. #25497 hits it through a failed required check. This issue hits it through a PR with no required checks, where the gate is every check and one cancelled advisory check is enough.

    Two open fixes touch evaluatePullRequestWatch:

    • fix(server): watch_pull_request wakes once more and stops when the checks finish after a failure #25539 (for watch_pull_request never wakes when the remaining checks finish after a required check failed #25497): when every check has finished and a reported failure still blocks the gate, it sends a final wake and ends the watch.
    • fix(server): PR watches wake when checks finish after an early failure #28020 (for this issue): it records the gate checks still pending at the failure in owedChecks, sends one checks-finished wake once they settle, and keeps watching.

    Only one of them should merge.

    Related:

    • fix(server): wake PR watches when remaining CI checks finish #23904 (merged) added owedChecks for advisory checks still pending after the gate passes. It requires no failures, so it doesn't cover this.
    • feat(server): add optional quiet deadline to PR watches #26839 (closed for prior approval) proposed an opt-in quiet deadline as a general fallback, noting "no missed completion has been reproduced." This issue and watch_pull_request never wakes when the remaining checks finish after a required check failed #25497 are two such reproductions.
  2. t3dotgg commented on Nov 1, 2026

    @t3dotgg
    t3dotgg
    on Nov 1, 2026
    Member
    More actions

    Note

    🤖 GPT-6.1 Terra [1m] responding on behalf of Theo

    Closing as a duplicate of the earlier failed-gate PR-watch report. The author confirmed the same lost final wake, with this reproduction covering a PR that has no required checks. #25497 #28019 comment

  3. t3dotgg
    closed this as not plannedon Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.