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(web): PR code tab no longer reloads when turns finish or the PR updates by Gigioxx · Pull Request #14539 · pingdotgg/t3code

Conversation

@Gigioxx

@Gigioxx Gigioxx commented Oct 1, 2026 •
edited by juliusmarminge
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Finished turns and PR revisions cleared the Code tab’s loaded diff pages, interrupting reviews of large pull requests. Background refreshes now keep unchanged pages and revalidate their cursors sequentially. Changed pages discard their descendants, and later pagination requires a fresh response. Explicit Refresh still resets to page one. Failed refreshes keep the diff visible and offer Retry; uncached pagination starts one request per page.

Thanks @Gigioxx for the original fix in #14539. This takeover preserves the contributor’s commits, merges current main, and rebuilds the component integration around the current query lifecycle.

Verification:

  • Focused diff logic suite: 17 tests before → 16 after; three PR-added cases reduced to two behavioral regressions. Both regressions fail under targeted mutations.
  • Web typecheck, lint and formatting for the four changed files pass.
  • Headless Linux browser: the actual panel with three synthetic HTTP diff pages (24 files) and injected refresh signals. Unchanged turn/revision refreshes retain pages and scroll; a changed middle page invalidates descendants and reloading fetches them; menu Refresh resets to page one. This verifies frontend integration, not a real provider turn or host-side revision.
  • Independent whole-diff reviews: two rounds with Claude Opus 5.5 and Codex gpt-6-sol. Round one found silent refresh failures and duplicate uncached-page reads; both were fixed and reproduced in the browser. Round two found no confirmed blockers at d664824fa5. Build/typecheck and lint passed on the published head. The initial web CI run failed an unrelated syntax-highlighting wait in WorkflowOpeningBlock; all three tests in that browser suite pass locally. The first rerun lost its Vitest browser connection; the second rerun again failed only the same unrelated WorkflowOpeningBlock assertion (8049 tests passed). CI remains blocked; monitoring is stopped after repeated host-read failures. Macroscope correctness passed; its eligibility check requires human approval for the refresh state machine and lint suppression.
  • Not verified: macOS, Windows, iOS, Android, or Electron desktop.

Before: current main, same fixture and initial scroll (800px). After a background signal it loses a loaded page (24 → 16 files+) and shifts to 722px.

Before: main loses a loaded page and shifts scroll

After: unchanged background refresh retains all 24 files and scroll position.

After: 24 files and scroll position retained

Retained diff after a failed background refresh; Retry resumes the sequential reads without losing scroll:

Refresh failure with visible Retry

Short recordings of background revalidation:

Before recording · After recording

Implemented with Codex gpt-6.1-sol in T3 Code; test reduction with Codex gpt-6-astra; adversarial review with Claude Opus 5.5 and Codex gpt-6-sol.

Fixes #14483

Sorry, something went wrong.

Uh oh!

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

All reactions
Gigioxx added 3 commits October 1, 2026 02:36
@Gigioxx
fix(web): PR code tab no longer reloads on background refreshes
23af18f
@Gigioxx
fix(web): revalidate every loaded diff page in place on background re…
e537c0f
…fresh
@Gigioxx
fix(web): accept only fresh answers while revalidating loaded diff pages
699de7d
@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Only developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing.

Next included review available in 16 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0eab4cb0-2f29-4e66-9491-afed418b0bb4
📥 Commits

Reviewing files that changed from the base of the PR and between 44f977f and 3e062d8.

📒 Files selected for processing: 4
  • apps/web/src/components/pullRequest/PullRequestCodeTab.tsx
  • apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx
  • apps/web/src/components/pullRequest/pullRequestDiff.logic.test.ts
  • apps/web/src/components/pullRequest/pullRequestDiff.logic.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

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

@Gigioxx Gigioxx mentioned this pull request Oct 1, 2026
fix(web): PR code tab no longer reloads when turns finish or the PR updates #14513
Closed
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Oct 1, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 1, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 1, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs Human Approval

Macroscope's review found this PR requires human approval — This PR substantially changes how the production PR code viewer revalidates and retains paginated diff state during background updates, including new retry and pagination lifecycle behavior. It also introduces an inline static-analysis suppression, so the change warrants focused review.

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.

@juliusmarminge juliusmarminge added the macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews label Oct 2, 2026 — with ChatGPT Codex Connector
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 2, 2026 05:38

Dismissing prior approval to re-evaluate 699de7d

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 2, 2026
View reviewed changes
@juliusmarminge juliusmarminge mentioned this pull request Oct 2, 2026
PR review Code tab jumps to the top of the file list after a reaction, comment, or background refresh #14817
Closed
@Gigioxx
fix(web): resolve PR diff refresh conflicts with main
c97d728
@Thomasssb1

Thomasssb1 commented Oct 15, 2026

Copy link
Copy Markdown

I’m also experiencing this - activity in unrelated threads resets the PR diff scroll position, which makes reviewing larger diffs difficult. This fix would help a lot.

Version: 0.0.46-nightly.20261015.3171 (Windows desktop).

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge juliusmarminge mentioned this pull request Oct 16, 2026
[Bug]: Can't copy code from the PR Code tab diff #20207
Closed
2 tasks done
@juliusmarminge juliusmarminge self-assigned this Oct 19, 2026
@juliusmarminge

juliusmarminge commented Oct 19, 2026

Copy link
Copy Markdown
Member

Taking over this one as maintainer for batch pull-request-08. I will preserve your commits, integrate current main, simplify the tests and implementation where useful, and run fresh independent reviews. Thanks @Gigioxx for isolating the background-refresh regression.

All reactions

Sorry, something went wrong.

Uh oh!

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

juliusmarminge added 4 commits October 19, 2026 06:20
@juliusmarminge
chore: merge main before PR refresh takeover
5350e60
@juliusmarminge
test(web): focus pull request diff refresh regressions
80f5cfd
@juliusmarminge
fix(web): refresh loaded pull request diff pages in place
dfd8d8a
@juliusmarminge
fix(web): recover failed pull request diff refreshes
d664824
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 19, 2026 06:53

Dismissing prior approval to re-evaluate d664824

@juliusmarminge

juliusmarminge commented Oct 19, 2026

Copy link
Copy Markdown
Member

The takeover is pushed at d664824fa5, with focused tests and browser proof in the description. Two independent whole-diff review rounds found no remaining confirmed blockers.

The first CI run passed build/typecheck and lint; its only test failure was the unrelated syntax-highlighting wait in WorkflowOpeningBlock.browser.test.tsx. I have rerun the failed jobs and am following them. Macroscope’s current correctness check passed; its eligibility check explicitly requires human approval for the refresh state machine and lint suppression. That approval remains outstanding.

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge

juliusmarminge commented Oct 19, 2026

Copy link
Copy Markdown
Member

The second rerun again failed only the unrelated WorkflowOpeningBlock.browser.test.tsx:103 highlighting wait: 8049 tests passed. That three-test browser suite passes locally. No PR code was changed for the CI failures. Build/typecheck, lint, focused tests, and Macroscope correctness passed.

This takeover remains unmerged and blocked on that CI failure and Macroscope’s required human eligibility approval. The app watcher repeatedly failed to read the host, so monitoring is stopped while I continue the remaining batch targets. The description contains current-head browser proof and verification limits.

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge
Merge remote-tracking branch 'origin/main' into pr-14539
3e062d8
# Conflicts:
#	apps/web/src/components/pullRequest/PullRequestCodeTab.tsx
#	apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx
@t3dotgg

t3dotgg commented Nov 12, 2026

Copy link
Copy Markdown
Member

Note

🤖 Claude Opus 5.5 responding on behalf of Theo

Closing. This PR has been open for more than 3 weeks, and main has moved a long way since then. If the change still matters, open a fresh PR from current main.

All reactions

Sorry, something went wrong.

Uh oh!

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

@t3dotgg t3dotgg closed this Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments

Uh oh!

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

Assignees

@juliusmarminge juliusmarminge

Labels

macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews size:L 100-499 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.

[Bug]: PR pane code tab periodically auto hard refreshes, making it difficult to review diffs

Uh oh!

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

4 participants

@Gigioxx @Thomasssb1 @juliusmarminge @t3dotgg
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.