Skip to content

fix(server): explain merge queue check timeouts in PR watch wakes - #843

Merged
yaacovcorcos merged 1 commit into
mainfrom
claude/queue-removal-timeout-20261110
Nov 10, 2026
Merged

yaacovcorcos merged 1 commit into
mainfrom
claude/queue-removal-timeout-20261110

Conversation

@yaacovcorcos

Copy link
Copy Markdown
Contributor

What Changed

A follow-up to #819, so Scient matches the follow-ups sent upstream on pingdotgg/t3code#24141:

  • Timeouts read as a sentence. When queue checks run past the queue's check timeout, GitHub removes the PR with reason checks_timed_out. The wake used to read "…without merging: checks_timed_out." It now says the checks did not finish in time, and that they ran on the queue's own commit, not on the head.
  • Stronger fingerprint test. The fixture now gives totalCount and filteredCount different values. A timeline item that is not a removal must leave the status alone. This fails on the old totalCount code because of the fingerprint behaviour, not a decode error.
  • Removed a comment on the reasons map that only restated the code.

Why

This repo has seen checks_timed_out 4 times among its 471 queue removals since 2026-09-29. A probe PR (ScientFactory/merge-queue-watch-probe#7, with a 1-minute queue check timeout) reproduced the reason live. Read through the real GitHub API code, it woke with the new sentence.

Documentation Impact

Documentation impact: None — agent-facing wake text only.

Verification

  • pullRequestWatch.test.ts (32) and gitHubPullRequestJson.test.ts (64) pass.
  • Server and source-control-github typecheck, lint and format pass.
  • Platforms: server-side GitHub reads only; the same on macOS, Windows and Linux.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

🤖 Generated with Claude Code

GitHub removes a pull request with reason "checks_timed_out" when its queue
checks run past the queue's timeout; a wake read "...without merging:
checks_timed_out." It now says the checks did not finish in time and ran on the
queue's own commit. The fingerprint test also feeds totalCount, so only removals
may move the status. Matches the follow-ups sent to pingdotgg/t3code#24141.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XS labels Nov 10, 2026
@yaacovcorcos
yaacovcorcos added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit 2059685 Nov 10, 2026
55 checks passed
@yaacovcorcos
yaacovcorcos deleted the claude/queue-removal-timeout-20261110 branch November 10, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant