Every workspace package exports its sources, so no test reads a
library's dist, yet each test task waited for its dependencies' builds
(14 builds before core:test could start on a full run). Test tasks now
depend only on transit, which still folds the whole workspace closure
into their hashes, and builds hash their closure the same way.
The unit job therefore no longer proves the libraries build, so the
build job builds the affected libraries on Linux (tsc and Bun.build,
nothing platform-specific). The Windows Turbo cache in the unit job is
removed: with no builds left there, it could only replay test tasks,
and transit gives every scheduled test a new hash, so it could not hit.
The components leg ran the session UI and app component suites back to
back on one runner, which made it the slowest Windows e2e leg (session UI
3.2 min plus app 3.5 min plus setup, about 8.8 min, against 7-8 min for
each app shard). Each suite now gets its own leg.
The app suite no longer inherits the session UI suite's Vite optimizer
cache, so it always starts cold. The Storybook dependency pre-bundling
below this change is what keeps a cold start from reloading pages.
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.
Takes the v2 tree, with packages/console, packages/web, packages/stats, packages/function, infra and sst.config.ts merged up to latest dev, and retargets V2 publishing and deploys from the v2 branch to dev.
Cross-compiled darwin binaries ship with an invalid Bun signature, which breaks codesign verification and publisher-based allowlists. Sign them on macOS with the Developer ID certificate and hardened runtime, matching V2, then repack the release zips and publish the signed binaries to npm and Homebrew.
Refs #46313
Move files deployments to Wrangler, make CLI and desktop own their publishing destinations, add direct-download update metadata and desktop feeds, and refresh installation docs.