Skip to content

fix(server): PR watch reports checks that finish before its first read - #300

Merged
pandec merged 2 commits into
devfrom
fix/pr-watch-baseline-pass
Nov 22, 2026
Merged

pandec merged 2 commits into
devfrom
fix/pr-watch-baseline-pass

Conversation

@pandec

@pandec pandec commented Nov 22, 2026

Copy link
Copy Markdown
Owner

A new PR watch baselines its first read and never reports a pass it finds there. When checks went green between the agent's read and that first read, the agent ended its turn and was never woken.

Tests: extended pullRequestWatch.test.ts (fails on base) and PullRequestWatchService.test.ts.

Claude Opus 5.5 in T3 Code (Claude Code harness).

A new watch baselines its first read, so a pass found there was never
reported. Report it when CI was pending at the start, like failures, and
tell the agent from watch_pull_request when checks already finished.
@pandec
pandec merged commit b0230be into dev Nov 22, 2026
3 checks passed
@pandec
pandec deleted the fix/pr-watch-baseline-pass branch November 22, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant