Skip to content

perf(ci): install validated runtime dependencies on Tier 2 test runners - #1707

Merged
zackees merged 10 commits into
masterfrom
infra/1694-runtime-packages
Oct 22, 2026
Merged

zackees merged 10 commits into
masterfrom
infra/1694-runtime-packages

Conversation

@zackees

@zackees zackees commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Refs #1694 and #1592. This does not close either tracker.

Keep the full development package set on the Tier 2 builder. Generate an exact installed-version runtime manifest from the built ELF tree and explicit dlopen providers/services/tools; transfer it with the existing artifact and install that closure on both complete test runners. Unresolved libraries or missing package ownership fail the producer.

Preserve the pinned stock Ubuntu container, full OFF/ON suites, unchanged C tests/public headers, deinterlace isolation, apt archive restore and master-only cache publication. No new workflow or cache family.

RED → GREEN

  • RED cb32977: runtime helper stubs fail focused dependency/ownership tests.
  • Additional workflow regression failed before wiring the manifest into upload/download/install ordering.
  • GREEN e3f9ca0, lint compatibility follow-up 194ded7: 40 focused runtime/native/apt/fanout checks pass; independent reviewer ran 43 checks and found no issues.
  • ./lint --fix: passed, 69.9 seconds; no formatting changes.

Full runtime experiment

Used the actual hosted artifact from run 39711866137 at its original absolute paths in a bosn-managed pinned Ubuntu environment. Both modes: 353 registered, 350 executed, zero failures, same three Pulse device skips. OFF 190.63 s, ON 166.96 s. Explicitly retain gcc/libc6-dev/Ninja for the unchanged CMake fixture and libvlc-dev for unchanged unversioned VLC dlopen tests. An earlier prototype missing those was rejected before adoption.

Normalized per-test records, exact 224 direct package specs, log hashes and image digests are committed in docs/ci-evidence/2026-10-22-runtime-package-experiment.json.

Expected gain before rollout

Local Docker-reported Size fields: 541.1 → 445.5 MB (-17.7%). These containerd snapshotter fields are not verified uncompressed rootfs or wire-byte counts. This is not hosted setup performance or fresh image transfer evidence. Savings are bounded by the old package installation portion (28–49 s baseline), minus manifest generation/artifact handling. Hosted full OFF/ON qualification and comparison remain required; no gate speedup claimed yet.

@zackees
zackees force-pushed the infra/1694-runtime-packages branch from d774ed4 to d7b9a2a Compare October 22, 2026 03:36
@zackees
zackees enabled auto-merge October 22, 2026 03:41
@zackees
zackees added this pull request to the merge queue Oct 22, 2026
@zackees
zackees removed this pull request from the merge queue due to a manual request Oct 22, 2026
@zackees
zackees marked this pull request as draft October 22, 2026 03:47
@zackees
zackees force-pushed the infra/1694-runtime-packages branch from d7b9a2a to 29f67c5 Compare October 22, 2026 03:47
@zackees
zackees marked this pull request as ready for review October 22, 2026 04:04
@zackees
zackees added this pull request to the merge queue Oct 22, 2026
@zackees

zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

Current reviewed head 53c9712 passed PR run 39719021186 and is now in the normal queue (run 39720358454).

Complete hosted coverage after ownership batching:

  • OFF: 354 registered, 351 executed, 0 failures; 164.33 s.
  • ON: 354 registered, 351 executed, 0 failures; 168.99 s.
  • Same three skips in both: test_pulse_monitor_device, test_pulse_stream_restart, test_pulse_two_sources.

Manifest generation observed 13.360873 s before batching and 5.751760 s after, measured from producer command/log completion timestamps. These are different hosted runners/sources and not a causal gate distribution; the controlled local comparison was 14.562→7.663 s with byte-identical 224-pin output. Required checks, complete coverage and fail-closed ownership remain intact.

#1708 is already on master. The manual fresh-transfer experiment waits for this PR's normal merge, then will include producer/publication, archive transfer/load/start and inventory verification costs. No prepared-image adoption or final whole-gate speedup is claimed yet.

Merged via the queue into master with commit bf6ebe3 Oct 22, 2026
25 checks passed
@zackees
zackees deleted the infra/1694-runtime-packages branch October 26, 2026 15:45
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