Skip to content

docs(plans): record passes 5 to 7 of stage 2 of the Build phase (wasm): 238 s cold, 79 s warm, and the bundle restores the cache - #359

Merged
aRustyDev merged 2 commits into
mainfrom
docs/build-stage-2-record
Nov 23, 2026
Merged

aRustyDev merged 2 commits into
mainfrom
docs/build-stage-2-record

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

The record of stage 2 of the Build phase (wasm, #356, merged): passes 5 to 7, measured after the merge. Docs only.

What it records

The job build / wasm is 238 s cold and 79 s warm (−67%). main's run of the merge took 300 s because it saved the cache (249.3 MB, v0-rust-deploy-release-…). Warm, worker-build's install is 0.85 s (110.7 s cold), the Worker 43.8 s (74.1 s), the edge Worker 2.9 s (16.9 s)
The bundle restores the cache the stage's purpose. A throwaway probe (#358, a comment in build-bundle, closed unmerged) made release.yml and deploy.yml run the bundle build in their dry runs. Both logged "Cache hit for: v0-rust-deploy-release-…" and found worker-build already installed (0.25 s, was 106 s). deploy.yml's build took 165 s (an rc build: 310 s, a dry run: 313 s) and release.yml's 176 s (the tags v0.4.0 and v0.3.0: 328 and 341 s): about 145 to 165 s less on the path a release candidate and a tag wait for
What the cache does not help the native migrate build (30.4 s, 26.7 s cold: the cache holds the Workers' wasm32 dependencies) and the web build (about 45 s)
What the probe does not show it ran on a pull request's dry run, not on a real release candidate or tag. It is the same job and the same action, and a run restores the default branch's caches from any ref by GitHub's documented rule, so the first real release candidate is where it is proved. The nightly full run restores the key daily, which keeps it from the seven-day eviction
Passes 6 and 7 no change, with numbers: the job is on no critical path (a full run took 711 s, set by the e2e cell at 664 s); the one waste, wrangler (7.8 s, no command calls it), would need a change to setup-rust, which every Rust job shares, and to the attested bundle build, for 0.15% of a full run's runner-seconds

The repository's caches are now 9,932 MiB of 10,240 (26 entries) with the new entry in: GitHub evicted older ones to make room.

Also fixed in the document: the line that said whether worker-build's three downloads persist across runs was unmeasured. They happen on every run, warm ones too (about 2 s).

🤖 Generated with Claude Code

aRustyDev and others added 2 commits November 22, 2026 22:58
…): 238 s cold, 79 s warm, and the bundle restores the cache

After #356 merged, main's run saved the cache deploy-release (249.3 MB) and a dispatch of build.yml on main with the plan wasm measured the warm job: 79 s against 238 s cold, the worker-build install 110.7 s to 0.85 s, the Worker 74 s to 44 s, the edge Worker 17 s to 3 s.

The stage's purpose was the bundle, and a probe (#358, closed unmerged, a comment in build-bundle) made release.yml and deploy.yml run it in their dry runs: both restored the cache and found worker-build already installed. deploy.yml's build took 165 s (an rc build was 310 s and a dry run 313 s), release.yml's 176 s (the tags v0.4.0 and v0.3.0 were 328 and 341 s): about 145 to 165 s less on a path a release candidate and a tag wait for. The native migrate build is not helped (30.4 s, the cache holds wasm32 dependencies) and the web build is unchanged. What it does not show is said: a pull request's dry run stood in for a release candidate and a tag, which restore the default branch's cache by GitHub's rule, so the first real release candidate proves it; the nightly full run restores the key daily, which keeps it from the seven-day eviction.

Passes 6 and 7 change nothing, with numbers: the job is on no critical path (a full run is 711 s, set by the e2e cell), and the one waste in it, the wrangler install (7.8 s, no command calls it), would cost a change to the action every Rust job shares and to the attested bundle build, for 0.15% of a full run. The status lines say stage 2 is done and stage 3, macos, is next.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 23, 2026 03:59 — with GitHub Actions Inactive
@aRustyDev
aRustyDev merged commit 42ca765 into main Nov 23, 2026
12 checks passed
@aRustyDev
aRustyDev deleted the docs/build-stage-2-record branch November 23, 2026 04:09

This branch was previously deployed

1 inactive deployment
preview-control-plane — 9e087eba Deployed Nov 23, 2026 by aRustyDev via reconcile #656
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant