Repository navigation
ci: consume prepared environments and verified tool archives - #10
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
EMSDK_PYTHON.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-releaseandgit diff --checkpassed; the worktree is clean.