Repository navigation
test(web): minimap next-turn test no longer flakes after a resize - #33964
Conversation
… the resize The test nudged the viewport 30px off the bottom, which still counts as the end for LegendList, so the initial end anchor stayed armed. When the test then shrank the viewport, Legend re-pinned it to the bottom and the "bottom moves away" assertion saw 0. Scroll to the top first so Legend releases the anchor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The reported change is a three-line test-stability adjustment confined to repository-ignored paths. The supplied scope and context indicate no material product or operational impact requiring human judgment. Notes:
You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
**v0.1.9-nightly.20261110.4491** · 40 changes from 9 contributors - **Shared OpenCode goals.** OpenCode goals stay in sync across clients. - **OpenCode checklists.** See OpenCode todo updates as checklists. - **Drag threads into the composer.** Drag threads from the command palette into the composer as context without navigating away. - **More usage limits.** See Muse Code limits and xAI and Antigravity accounts managed through CLIProxyAPI in Usage → Limits. - **Open apps from links.** Open apps from Markdown links and see their icons. - **Checkpoint new files.** Checkpoints retain new files when ignore files contain blank lines. - **Open cited files.** Open more file links from chat, including citations with line ranges. ### Plus 30 more bug fixes and performance improvements. <details> <summary>Full changelog</summary> ## What's Changed * fix(mobile): iOS 18 iPad sidebar and thread feed start below the header by @juliusmarminge in pingdotgg/t3code#32936 * fix(web): Tab reaches the add-project and new-project submit buttons by @juliusmarminge in pingdotgg/t3code#32605 * fix(web): screen readers hear the add-project submit shortcut by @juliusmarminge in pingdotgg/t3code#32576 * fix(server): Antigravity limits read the quota host the account is metered on by @juliusmarminge in pingdotgg/t3code#32425 * fix(web): the thread menu works for an older settled thread the sidebar hasn't loaded by @juliusmarminge in pingdotgg/t3code#32507 * fix(opencode): show questions asked while OpenCode wakes a session on its own by @juliusmarminge in pingdotgg/t3code#32434 * fix(server): blank .gitignore lines no longer make checkpoints drop new files by @juliusmarminge in pingdotgg/t3code#32374 * test(web): minimap next-turn test no longer flakes after a resize by @t3dotgg in pingdotgg/t3code#33964 * feat(opencode): mirror native goals across clients by @Yash-Singh1 in pingdotgg/t3code#33758 * feat(web): bindable shortcut to regenerate a thread's title by @sharanry in pingdotgg/t3code#33987 * fix(server): linked projects keep their repository identity while it refreshes by @juliusmarminge in pingdotgg/t3code#32359 * fix(mobile): tool call commands are highlighted and monospaced like on web by @juliusmarminge in pingdotgg/t3code#33957 * fix: Claude monitor wakes no longer fire a completion alert per line by @juliusmarminge in pingdotgg/t3code#32520 * fix(server): removed thread worktrees keep their project's skills in the picker by @juliusmarminge in pingdotgg/t3code#32471 * fix(web): drag command palette threads into the composer by @Yash-Singh1 in pingdotgg/t3code#33990 * fix(shared): show zero seconds in minute durations by @Yash-Singh1 in pingdotgg/t3code#33994 * fix(web): closing the right panel returns focus to where it was by @juliusmarminge in pingdotgg/t3code#32569 * fix(server): say why threads without a project are unavailable by @juliusmarminge in pingdotgg/t3code#32342 * fix: chat file links open the file agents cite by @juliusmarminge in pingdotgg/t3code#33943 * fix(clients): scroll truncated command output notice with logs by @Yash-Singh1 in pingdotgg/t3code#34011 * fix(web): show app bundle icons and open apps from markdown links by @Yash-Singh1 in pingdotgg/t3code#33950 * feat(opencode): project native todo updates into checklists by @Yash-Singh1 in pingdotgg/t3code#34000 * fix(antigravity): recognize Gemini 4 Carbon and its quota by @DrSeedon in pingdotgg/t3code#33991 * perf(client): reopening a finished command row no longer refetches its output by @juliusmarminge in pingdotgg/t3code#34002 * perf(server): user-only message reads use the user-message index for ordinals by @juliusmarminge in pingdotgg/t3code#33009 * fix(web): keep HTML previews anchored when accordions expand by @Yash-Singh1 in pingdotgg/t3code#34003 * fix(web): preserve search result titles in drag previews by @Yash-Singh1 in pingdotgg/t3code#34017 * fix: file links with line ranges open at their first line by @juliusmarminge in pingdotgg/t3code#34006 * fix(codex): show image generation tool calls by @Yash-Singh1 in pingdotgg/t3code#34020 * fix(pi): a steer Pi has not read yet shows as waiting, not steered by @juliusmarminge in pingdotgg/t3code#33982 * fix(server): provider switches hand off started cancelled runs by @juliusmarminge in pingdotgg/t3code#34016 * fix(web,mobile): replace sparkles icons and ban them with a lint rule by @flamboh in pingdotgg/t3code#25422 * fix(github): a proxy's 403 with Retry-After is no longer reported as a rate limit by @juliusmarminge in pingdotgg/t3code#33676 * fix(web): sending from an empty citation comment clears the composer by @juliusmarminge in pingdotgg/t3code#33440 * fix(server): text generation fallback respects project provider settings by @Muzammil-Bit in pingdotgg/t3code#33741 * feat(usage): show Muse Code limits, and xAI and Antigravity accounts from a CLIProxyAPI hub by @StiensWout in pingdotgg/t3code#33800 * fix(web): preserve previews during attachment preparation by @Yash-Singh1 in pingdotgg/t3code#33949 * fix(desktop): input during window teardown no longer throws in the main process by @juliusmarminge in pingdotgg/t3code#33620 * fix(web): sent messages keep the numbers written on list items by @tsapa44 in pingdotgg/t3code#33820 * fix(server): quitting stops an agent-device daemon left by an earlier server by @juliusmarminge in pingdotgg/t3code#33587 ## New Contributors * @sharanry made their first contribution in pingdotgg/t3code#33987 * @tsapa44 made their first contribution in pingdotgg/t3code#33820 **Full Changelog**: pingdotgg/t3code@v0.1.9-nightly.20261110.4478...v0.1.9-nightly.20261110.4491 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.9-nightly.20261110.4491
Problem
MessagesTimeline.browser.test.tsx > disables the minimap's next turn button at the bottom of the thread(added in #33038) fails on PR CI withexpected 0 to be greater than 500. It hit 5 unrelated PRs in the 2 hours after it landed. Locally it fails every time when the whole file runs.The test moves 30px off the bottom, then returns to the bottom and shrinks the viewport. It expects the bottom to move away. But a 30px nudge still counts as "at end" for LegendList, so Legend keeps its initial end anchor. On the resize, Legend's preserved end-anchor correction calls
scrollToback to the bottom. This is separate frommaintainScrollAtEnd, soliveFollowEnabled={false}does not stop it.Change
Test only. Before the detached-bottom checks, scroll to the top and wait for the first minimap strip to be in view. That releases Legend's anchor. The 30px check and both detached cases (shrink, footer growth) stay as they were. Product behavior does not change. Re-pinning to the end on a resize while the initial anchor is held is correct.
Scope and approval
Focused fix for a flaky test that blocks unrelated PRs. No product code changes.
Verification
-t "settles when equally|keeps the first and last|disables the minimap".scrollTotrap on the viewport recorded one Legend re-pin after the resize on the old code (fromschedulePreservedEndAnchorCorrection), and zero with the fix.vp run check:changedpasses.Reviewed with sol-loop: 1 pass with GPT-6.1 Sol. Sol verdict: approved
Made by Claude Opus 5.5 in Claude Code (T3 Code).
🤖 Generated with Claude Code