Skip to content

ci: consume prepared environments and verified tool archives - #10

Merged
pinhopro merged 2 commits into
mainfrom
work/ci-prepared-environments
Nov 6, 2026
Merged

pinhopro merged 2 commits into
mainfrom
work/ci-prepared-environments

Conversation

@pinhopro

@pinhopro pinhopro commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Ordinary CI currently rebuilds its native image after a cache miss and makes every compiler lane wait for that job. Failures from Ubuntu's snapshot service therefore prevent unrelated compiler and WebAssembly lanes from running. Tool jobs also repeat downloads from several upstream hosts.

This change lets each ordinary lane start after planning and consumes a separately prepared native image by immutable digest. A trusted workflow publishes the native image and five Linux-X64 tool-archive bundles. Fresh runners verify anonymous pulls, offline tool installation and native C++20 compilation before the generated manifest is promoted. Normal CI never builds an image as a fallback.

Tool archives are cached by SHA-256, verified on every use and published atomically. Cache service failures are nonfatal. Chrome retains official downloads with the verified archive cache. Other host architectures, Emscripten source fetch, Node/npm and the Rust fixture retain their existing upstream dependencies.

All lanes, source builds, b2 -a, fresh XML and missing-result checks remain unchanged. This infrastructure is needed to finish webcpporg/asio#1 using the reusable workflow on superproject main.

Validation:

  • Preparation run 41926767702 published and anonymously verified all six artifacts. The promoted manifest is byte-identical to its generated output and all recipe identities match this checkout.
  • Local checks pass: 41 matrix cases, 39 action cases, 14 archive-cache cases and 16 environment cases; actionlint and ShellCheck also pass. The local Emscripten cases used a compatible Python through EMSDK_PYTHON.
  • Fresh independent review found no actionable issues in the implementation or promoted manifest.
  • Complete candidate CI 42147407915 passed on 4898e8fc18e88424570620583f447ace1c128ab8: all 106 executed jobs, including compiler and own lanes, eight tool-test shards, eight lint shards, documentation, report and site. Preparation and deployment jobs are intentionally skipped for the PR event.
  • b2 -a check-release and git diff --check passed; the worktree is clean.

@pinhopro
pinhopro merged commit d3a6795 into main Nov 6, 2026
110 checks passed
@pinhopro
pinhopro deleted the work/ci-prepared-environments branch November 8, 2026 15:22
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