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 — fix(server): links on hosts the server cannot browse no longer re-read every minute by eyeveil · Pull Request #33879 · pingdotgg/t3code

Conversation

@eyeveil

@eyeveil eyeveil commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions
@eyeveil
fix(server): links on hosts the server cannot browse no longer re-rea…
18d9026
…d every minute
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Nov 10, 2026
@macroscopeapp

macroscopeapp Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

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: Passed 4

Check name Status Explanation
Title check Passed The title clearly describes the main change: preventing repeated reads for links on unsupported hosts. It is specific and relevant.
Description check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: ac5e48c
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9c5cdee5-86ef-446f-b3cd-d6b7382175c6
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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge GitCafe Production

juliusmarminge commented Nov 10, 2026

Copy link
Copy Markdown
Member

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Nov 10, 2026
This was referenced Nov 10, 2026
fix(server): pull request links whose reads keep failing back off instead of re-reading every minute #31969
Merged
fix(server): PR sync stops reading missing pull requests every minute #17800
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

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.

Projects

None yet

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.

2 participants

@eyeveil @juliusmarminge
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.
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.