Repository navigation
ci: measure fresh prepared-environment transfer and setup costs - #1708
Merged
Merged
Conversation
6 tasks
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.
Summary
Refs #1694 and #1592. Depends on #1707 being merged before the manual experiment is dispatched.
Add an opt-in, master-only
tier2-setup-probeinput and jobs to the existing Pull workflow. No new workflow files, registry publication, token permissions or cache writers. Normal full builds remain mandatory; the final gate includes the optional probe jobs (skipped on routine PR/queue events).A disposable producer creates an immutable environment from the actual Tier 2 artifact's exact package manifest, retaining checkout bootstrap tools. Records complete resolved package inventory, image ID, compressed archive checksum/bytes, revision and production phase durations. Uses separate one-day Actions artifacts for metadata and image.
Three fresh stock consumers install the same complete locked inventory with the existing apt archive cache. Three prepared consumers download, verify, decompress, load and start the exact image; resident prepared images or inventory drift fail the experiment. Stock consumers do not download the image. The first prepared consumer additionally runs both complete unchanged OFF/ON suites at the artifact's original paths, retaining isolation and skip checks.
RED → GREEN
./lint --fixpassed, 71.5 seconds. Rebase preserved all implementation files exactly; only appended report sections conflicted and both were retained. Focused checks passed again.Measurement limits and expected benefit before rollout
No net saving claimed. Historical package installation occupied 28–49 seconds, but #1707 changes that baseline. Fresh transfer/load/verify plus producer/publication cost can consume the whole opportunity. Join Actions transfer/restore/upload durations with JSON phase timings; phase sums alone are not total setup. Stock uses one locked package transaction rather than the production split bootstrap/install transactions; this modeling limit is recorded.
The experiment adds one producer and six fresh consumers only when requested manually on master. It does not attest lanes or replace normal coverage. Actual hosted experiment execution, matched results, adopt/reject decision and the post-rollout day remain pending.