Skip to content

ci: measure fresh prepared-environment transfer and setup costs - #1708

Merged
zackees merged 4 commits into
masterfrom
infra/1694-transfer-probe
Oct 22, 2026
Merged

zackees merged 4 commits into
masterfrom
infra/1694-transfer-probe

Conversation

@zackees

@zackees zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member

Summary

Refs #1694 and #1592. Depends on #1707 being merged before the manual experiment is dispatched.

Add an opt-in, master-only tier2-setup-probe input 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

  • RED 5c3fc8e (original 98bf60d03): four immutable-input validation tests failed against missing implementation. Two further workflow regressions failed before integration.
  • GREEN 8375e7e plus follow-ups: 26 focused probe, Python execution policy, cache policy and merge-gate completeness tests pass.
  • ./lint --fix passed, 71.5 seconds. Rebase preserved all implementation files exactly; only appended report sections conflicted and both were retained. Focused checks passed again.
  • Independent clud-review: clean, all four changed files reviewed.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant