Skip to content

probe(build): does the bundle restore the wasm job's cache (not to be merged) - #358

Closed
aRustyDev wants to merge 1 commit into
mainfrom
probe/bundle-restore
Closed

aRustyDev wants to merge 1 commit into
mainfrom
probe/bundle-restore

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

A throwaway probe of stage 2 of the Build phase (#356, merged). Do not merge: it will be closed.

A comment line in .github/actions/build-bundle/action.yml, so that release.yml and deploy.yml run the bundle build in their dry runs. That is the code path of a release-candidate or a tag build. The question it answers: does the bundle now restore the cache deploy-release that the wasm job saved on main, and how much of its 297 s does that take away?

🤖 Generated with Claude Code

…e restores the cache the wasm job saved (not to be merged)

A throwaway probe of stage 2 of the Build phase: a comment line in .github/actions/build-bundle/action.yml, so that release.yml and deploy.yml run the bundle build in their dry runs (the code path of an rc or a tag build). They should find the cache deploy-release that the wasm job saved on main, and skip compiling worker-build. To be closed unmerged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 23, 2026 03:53 — with GitHub Actions Inactive
@aRustyDev

Copy link
Copy Markdown
Owner Author

Closed unmerged: a throwaway probe of #356. Its comment in build-bundle made release.yml and deploy.yml run the bundle build in their dry runs: both restored the cache deploy-release that the wasm job saved on main ("Cache hit"), found worker-build already installed (0.25 s, was 106 s), and took 176 s and 165 s (a tag build was 328 and 341 s, an rc build 310 and 313 s). The evidence is recorded in .agents/plans/ci-workflows/phases/0004-build.md.

@aRustyDev aRustyDev closed this Nov 23, 2026
@aRustyDev
aRustyDev deleted the probe/bundle-restore branch November 23, 2026 03:57
aRustyDev added a commit that referenced this pull request Nov 23, 2026
…): 238 s cold, 79 s warm, and the bundle restores the cache (#359)

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]>

This branch was previously deployed

1 inactive deployment
preview-control-plane — 483a8239 Deployed Nov 23, 2026 by aRustyDev via reconcile #655
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