GeezerVison is showing github.com — fix(server): links on hosts the server cannot browse no longer re-read every minute by eyeveil · Pull Request #33879 · pingdotgg/t3code
Conversation
Problem
A thread can link a pull request on a host this server has no forge support for, for example a self-hosted forge whose CLI isn't installed. PullRequestService fails that read with PullRequestUnavailableError reason provider-unsupported. PullRequestSyncReactor never records a sync time for a failed read, and only pauses a host on rate limits, so isDue stays true and the link is read again on every one-minute sweep, forever. On one server with 12 such links that was 908 "pull request sync skipped" warnings in a day, plus failed syncGroup spans that rotated the trace files within an hour.
Change
- A
provider-unsupported failure pauses background sweeps of that link (project and pull request key) for SLOW_SYNC_INTERVAL_MS, 15 minutes. Other failures still retry on the next sweep, and rate-limit pauses are unchanged.
- A refresh the user asks for (
requestSync) reads through the pause, because the cause can be transient, such as a signed-out CLI. A failed refresh is consumed so it does not bypass the pause on later sweeps, and a successful read clears the pause.
- Pause entries for links that are gone are pruned with the reactor's other per-link maps.
Scope and approval
A small, focused fix for an obvious bug: a read that cannot succeed until the server's setup changes should not run every minute. The pause is per link, because provider-unsupported can be per repository (Azure DevOps returns it for a linked repository without a checkout), so healthy links on the same host keep their cadence.
Verification
- New
PullRequestSyncReactor.test.ts case "reads a link on a host it cannot browse on the slow cadence". On main it fails at its first check (expected 2 to equal 1: the link is read again one sweep later). With the change it also shows a healthy link on the same host still reads, a requested refresh reads during the pause, and a failed refresh does not keep re-reading. All 55 tests in the file pass.
vp fmt --check, vp lint on the changed files, and apps/server typecheck pass.
- Observed on a running server before the change: the warning repeated every minute for each unsupported link. Not checked on a running server after the change.
Model and harness: Claude Opus 5.5 (lead, implementation, review) via Claude Code in T3 Code.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Needs Human Approval
Macroscope's review found this PR requires human approval — Unsupported links now retry automatically every 15 minutes rather than every minute, while requested refreshes still read immediately. Human confirmation is needed for this default recovery-cadence change, which can delay automatic updates after access is restored.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The reactor now pauses ordinary sync reads for links that return an unsupported-provider error. Explicit refreshes bypass the pause, and successful syncs clear it. Tests cover slow retries, reads of other links, and refresh behavior.
Changes: Unsupported-provider sync pauses
| Layer / File(s) |
Summary |
Classify and track unsupported links apps/server/src/orchestration-v2/PullRequestSyncReactor.ts |
The reactor identifies unsupported-provider errors and tracks pause deadlines by link. It removes tracking when link groups disappear. |
Apply pauses during sync sweeps apps/server/src/orchestration-v2/PullRequestSyncReactor.ts, apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts |
The reactor clears a link’s pause after a successful sync and pauses it after an unsupported-provider failure. Requested refreshes bypass the pause. Tests cover retry timing, other links, and refresh behavior. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested labels: bugfix
Suggested reviewers: juliusmarminge, macroscopeapp
Merge Risk: Minimal · up to 18d90
-
The pause and refresh behavior has no identified issue requiring resolution before merge.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title clearly describes the main change: preventing repeated reads for links on unsupported hosts. It is specific and relevant. |
| Description check |
 |
The description covers the problem, the change, the scope rationale, and focused verification results. It also states what was not checked after the change. |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between ac5e48c and 18d9026.
Files selected for processing: 2
-
apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts
apps/server/src/orchestration-v2/PullRequestSyncReactor.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks, @eyeveil, for identifying and testing the repeated unsupported-host reads. #31969 by @juliusmarminge addresses the same retry loop, including unsupported hosts, with per-link backoff and explicit refreshes, and has broader regression and runtime evidence. Closing this as a duplicate in favor of that PR.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 10, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:S
10-29 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|