Skip to content

ci: stop transporting unused embedded Rust compiler caches - #1372

Merged
zackees merged 3 commits into
masterfrom
infra/1286-disable-unused-embedded-cache
Oct 18, 2026
Merged

zackees merged 3 commits into
masterfrom
infra/1286-disable-unused-embedded-cache

Conversation

@zackees

@zackees zackees commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Refs #1286. Set build-cache: false at all seven existing setup-soldr callsites while SOLDR_RUSTC_WRAPPER=none remains the repository correctness boundary.

Full run 39082733551 produced archive/no-session / zero archived session-file reports across all eight expanded build-workflow soldr lanes. Native Rust tests and Tier 2 lanes passed. Inspected host jobs restored 42.9 MB embedded stores: Fast Gate 1.1 s, release cross lint 2.2 s. Missing counters are not reported as zero; the no-session evidence and established wrapper bypass identify an unused transport layer.

Separate native stores remain useful: Linux Tier 2 784/785 hits; Windows Tier 2 308/309 hits. Their standalone zccache, ccache and Xcode caches are preserved. The pinned action resolver independently gates the zccache-unit layer with buildCacheEnabled; cook, registry and toolchain plans stay enabled. Target caching was already off. Remote master-only publication policy and local runtime cache settings are unchanged.

Six build-workflow callsites expand to eight observed lanes. The seventh release-workflow callsite receives configuration parity with its existing Rust bypass; a release runtime benefit is not claimed, and no release was dispatched. Reconsider this store when the stale-source probe passes and a real consumer demonstrates useful compiler reuse.

Validation

  • RED fb8de044f: uv run --no-project -m unittest ci.test_rust_cache_policy — seven callsite failures for missing/conditional build-cache: false.
  • GREEN 483ec16a7: uv run --no-project -m unittest ci.test_rust_cache_policy ci.test_cook_profiles ci.test_cook_cache_budget ci.test_zccache — 15 tests pass.
  • Coverage audits every callsite, retains explicit cook profiles, rejects disabling the cache umbrella/native caches, and preserves the Rust bypass.
  • git diff --check passes. CI runtime verification of the revised layer inventory is pending.

No new workflow, C test or public-header change. The preexisting dirty obs-websocket submodule is excluded. This change removes observed transfer work; it does not establish an end-to-end queue speedup or retire live caches manually.

Full self-test follow-up

Initial PR Format check exposed the older deferred-only expectation in test_soldr_toolchain_cache.py. It is superseded by the seven-callsite regression in test_rust_cache_policy.py; the obsolete contradictory method was removed while toolchain-target, remote-save and local-save safeguards remain. uv run --no-project -m unittest discover -s ci -p 'test_*.py' now passes 654 tests in 50.710 s. This is a policy-test correction, not a weakened runtime check.

The measured full run 39082733551 subsequently completed successfully. It predates this PR; runtime verification of the disabled layer is still pending.

@zackees
zackees added this pull request to the merge queue Oct 18, 2026
Merged via the queue into master with commit 77ab0f6 Oct 18, 2026
22 checks passed
@zackees
zackees deleted the infra/1286-disable-unused-embedded-cache 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