Completing a turn anywhere in an environment cleared an open pull request Code tab, unmounted its viewer, and reset the reader to the top even when the diff had not changed.
Pass turn completion as a separate background refresh signal. Reread the first page and viewed-file metadata while retaining slices; the existing page comparison preserves unchanged pages and discards downstream slices if a page changes. Explicit refresh and PR revision changes retain the hard reset. Adapted from @sameerr03’s #13835 to current main.
Verification: 198 existing tests across five targeted unit/Chromium suites pass both before and after. Web typecheck, changed-file lint/format, and whitespace checks pass. No new regression was added: the existing panel browser harness substitutes the Code tab and cannot establish real viewer retention. These checks are compatibility evidence, not direct scroll-retention proof.
Original fork history is preserved and main merged. Two independent review rounds completed: round 1 found cross-environment stale-page retention; adding environment identity to the local slice scope fixed it. Both round-2 reviews found no source blockers.
Integrated isolated app started and paired, but its list/detail services still report "Could not reach GitHub at github.com". All current-head CI jobs that ran passed, including the native-fingerprint rerun; skipped jobs remain skipped. Pending: integrated unchanged/changed-first-page and multi-page scroll verification and fresh recordings. macOS, Windows, iOS, Android, and Electron desktop were not verified. This offline preparation is not merge-ready.
Model: GPT-6.1-Sol (implementation), GPT-6-Astra (tests), Claude Opus 5.5 and GPT-6-Sol (review). Harness: Codex and Claude through T3 Code.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
a78da863-f382-4ae2-8003-206c5a95ca16📥 Commits
Reviewing files that changed from the base of the PR and between 95030dc674883f0f2a7fd034b32ce742c8cf55d0 and 3472adcb2ed29f15fdf010df8c6cd52ac8906152.
📒 Files selected for processing (2)
apps/web/src/components/pullRequest/PullRequestCodeTab.tsxapps/web/src/components/pullRequest/PullRequestDetailPanel.tsxIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
The Code tab now receives manual and background refresh tokens separately. When the background token changes, it refreshes diff and viewed-file data from the first diff page while retaining accumulated slices.
Changes: Pull request code refresh
apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx,apps/web/src/components/pullRequest/PullRequestCodeTab.tsxPriority: ⬇️ Low
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers:
juliusmarmingeMerge Risk: ⚪ Minimal · up to
3472aTurn completion can refresh the Code tab without resetting its scroll position, and no actionable merge-blocking issue remains after normal checks.
Security architecture risk: 🟡 Moderate · up to
3472aBackground refreshes keep the Code tab stable, but a switch between environments showing the same pull request may leave pages from the previous environment on screen. No new server access or authorization bypass is evident; the concern is which cached pages the UI displays.
Retained concerns
Security review details
Security Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Hardening Proposals
Pre-merge checks:
4 · 
1
Full details: Description check
Explanation
The description explains the problem, the implementation, verification results, review history, limitations, and pending checks. It does not use the template headings or provide a direct triaged issue or approval link, but the required information is mostly present.
✨ Finishing Touches
🧪 Generate unit tests (beta)