TanStack resets isScrolling on a 150ms timer that reports the offset
captured at the last scroll event. If the virtualizer wrote scrollTop
after that event (prepend anchoring or size compensation) and the
browser had not yet dispatched the write's own scroll event, the timer
put the old offset back. The next size compensation was then computed
from it and undid the write, so the transcript jumped to the top of a
newly loaded page or skipped rows while scrolling up.
When a scroll settles, the reconnect-aware offset observer now reports
the element's live scrollTop. Detached elements keep the event offset.
Chromium's media controls answer the second click of a double click with a
native fullscreen request for the <video>. The same double click opens the
in-window theatre. Where fullscreen is granted (Chrome, Playwright), the
fullscreened video covers the theatre backdrop, so a backdrop click no longer
closes it. That is the cause of the flaky review.spec.ts video theatre test.
controlslist="nofullscreen" would also remove Chromium's click-to-play,
which it only offers on videos that can go fullscreen. Instead, the video is
held as an open popover while the controls handle a multi-click, and released
before the next frame renders. The fullscreen element ready check refuses an
open popover, so only the fullscreen request fails. Chromium's play/pause
bookkeeping is unchanged. Desktop already denies the fullscreen permission,
so nothing changes there.
The e2e test now also checks that a single click still starts playback, and
that nothing went native fullscreen by the end of the flow.
Chromium recreates every CSS-connected FontFace as "unloaded" whenever a
lazily loaded stylesheet with @layer rules becomes active ahead of a sheet
that is already applied. The route's settings and text-input CSS chunks do
this when they finish out of order, which is common on Windows runners. The
downloaded font file is kept, so the first code that lays out still uses
IBM Plex Mono, but the face's status stays "unloaded" and polling
document.fonts.check() timed out.
Wait for document.fonts.ready, then mount one <code> and check once that
its first layout already has the font loaded. A preload that only downloads
the file still fails, because that first layout reports "loading".
turbo.json defines a test task per package and no generic one, so the
test scripts of client, gui-extensions, http-recorder, merman, plugin,
plugin-browser, script, sdk, simulation, theme and util never ran in CI
(119 test files). Register them like the other suites.
These suites had no turbo test task, so they rotted unnoticed.
- client: update tests for intended API changes (session.view idle is a
DateTime, interrupt's continue became resume, new API groups, the
Effect service no longer imports protocol), and assert the service
shutdown per platform since Windows cannot catch SIGTERM.
- http-recorder: run the record-mode WebSocket test with CI unset;
CI=true forces replay mode and the test waited forever for "open".
- util: reset the retry test's socket after the request arrives instead
of racing the client's write; set TEMP for the child on Windows and
compare with the native realpath; exclude colocated tests from the
build, which compiled them into dist where bun test ran them twice.
- sdk: update two tests for intended behaviour changes, keeping the
unknown-session error on the HTTP transport.
- merman: hold the established layout families to their original
ceilings and give decision-loops its own, drop the wall-clock
assertion, and run the cheap label distance check before the clearance
check (same output, half the audit CPU).
websearch.query resolved the provider without waiting for the Location's
plugins to activate, so the first query on a cold Location failed with
websearch_provider_not_found for a provider a plugin was about to
register. It now waits like the model and generate handlers do, bounded
by the same 5s activation wait. websearch.providers stays non-blocking.
command-selection typed into the variant dialog before its filter had
focus (DialogSelect focuses on a 1ms timer). Markdown text is drawn only
after the tree-sitter worker replies, which can take longer than the 20
frames waitForFrame allows on a busy runner. Wait for focus, and add
waitForHighlightedFrame to wait for pending highlights inside the
predicate.
The dialog stack keeps a closing dialog for 100ms before disposing it,
and useDialog().active kept returning it, so the global shortcut handler
dropped every shortcut in that window. Reopening the command palette
right after closing it did nothing. active now returns the top dialog
that has not started closing, the same rule the focus trap already uses.
- whats-new: What's New opens as a modal 500ms after the changelog
response and hides #root, so on Windows start() often looked for the
Settings button after it was hidden. The dialog tests hold the
changelog route until Home has been checked.
- subagent-child-navigation: the parent title was measured while the
loading header could still be swapped for the timeline header, so it
sometimes measured a detached heading (left 0). Wait for the timeline
row first.
- session-summary: the tooltip was hovered during the timeline's first
mount, whose final scroll closes it. Wait for the rows to be revealed.
- tabs: page.clock.pauseAt(new Date()) raced the still-running page
clock ("Cannot fast-forward to the past"). Install at an explicit time
and pause at a fixed offset from it.
Windows CI installed with --linker hoisted to work around
oven-sh/bun#28147, where an isolated install re-applied a patched
dependency per peer variant and failed with EPERM while hardlinking. That
issue was fixed in July, and a full test run on Windows with the isolated
linker installs and passes. The install step drops from about 95s to
about 36s on each Windows job.
A test task's hash only covered its direct dependencies' build tasks. tui
and script have no build task, so core, codemode, plugin-browser and ui
never reached cli#test's hash, and Linux replayed cached cli test passes
from the runner's remote cache for commits that changed core. Every test
task now also depends on a transit task, which runs nothing but folds the
whole workspace closure into its hash. The root package.json is a global
dependency, so a Bun upgrade through packageManager invalidates results.
Windows unit jobs had no Turbo cache at all. Restore one keyed by week on
Windows, save it from pushes to dev, and skip it on manual runs.
On the Windows runners, restoring the ~720 MB bun cache spends about 37s
extracting it with tar onto NTFS, and the warm install still takes about
64s. A cold install without the cache is faster than restore plus warm
install in every paired run we sampled, so Windows skips the restore and
the save. Linux keeps the cache.
Split each OS's e2e job into three legs: two Playwright shards of the app
e2e suite and one leg for the session UI and app component tests. The
service worker suite reads the production build, so it runs on shard 2
after the e2e step that builds it.
Keep "e2e (linux)" and "e2e (windows)" as the names of small aggregator
jobs, since the branch rules require them. They pass only when every leg
passed, or when e2e was not needed, and fail if the affected job failed.
Move the compiled-service and Node build smoke steps out of the unit job
into a parallel build job. They took about 2.5 minutes after the tests on
each OS and do not depend on anything the tests produce.
Remove the Turbo actions/cache steps. They cached node_modules/.cache/turbo,
which Turbo 2 never writes (its local cache is .turbo/cache), so they never
restored or saved anything. On Windows, hashing the cache key still cost
about 30 seconds before and after the tests.
Check out two commits on pull requests instead of the full history. The
affected-package diff only needs the merge commit and its first parent.
The Storybook Vite config aliased @tanstack/solid-query to
packages/app/node_modules/@tanstack/solid-query. That path only exists with
bun's isolated linker. Windows CI installs with --linker hoisted, so Vite
returned 404 for every module importing solid-query and the app component
tests timed out on Windows.
Dedupe the package instead; Storybook declares it, so it resolves to one copy
under both linkers and both runtimes.
Also run the e2e job for Storybook-only changes. No app package depends on
Storybook, so those PRs skipped every component test and reported green.