Repository navigation
Description
What
After #2604 (fix for #2603), soldr cook runs again in every lane. But in the 30 PRs merged on 2026-10-27 between 11:30 and 16:00 UTC, the cook layers removed little of the dependency compile:
- macOS lanes MISS in almost every run. There is no macOS cook layer in the repository cache now.
- Windows lanes HIT in 5 of 12 lane runs.
- The Linux Fast Gate layer was evicted and saved again (14:55 UTC). Fast Gate runs between those times MISS.
- Fast Gate compiles 111 to 147 external crates on a HIT (166 to 230 on a MISS).
Data: per lane, the cook-cache-base HIT|MISS line of the job log and the number of Compiling <crate> vX lines for crates outside the workspace.
| Lane | Cook key (profile) | HIT / MISS | External crates compiled |
|---|---|---|---|
| Fast Gate | f9e7e4902-…-xlinux-host-v1 (--release) |
7 / 9 | HIT 111–147, MISS 166–230 |
| Rust Cross Lint | f1c7475cf-…-xlinux-host-v1 (--profile dev) |
10 / 1 | 0–79 |
| Rust Tier 2 Linux (build) | f9e7e4902-…-xlinux-container-v1 (--release) |
17 / 1 | 0–27 |
| Rust Tests macOS | macos-arm64-…-f1c7475cf (--profile dev) |
0 / 6 | 67–103 |
| Rust Tier 2 macOS | macos-arm64-…-f9e7e4902 (--release) |
1 / 3 | 78–126 |
| Rust Tests Windows | windows-x64-msvc-…-f1c7475cf (--profile dev) |
2 / 4 | HIT 3, MISS 57 |
| Rust Tier 2 Windows | windows-x64-msvc-…-f9e7e4902 (--release) |
3 / 3 | 90 |
Example runs (PR / merge queue): #2628 40513668560 / 40516965606, #2643 40523842267 / 40529701340, #2613 40501643991 / 40504662840.
Causes
1. Only master push runs save layers, and they often skip the macOS and Windows lanes
save-cache is github.ref == 'refs/heads/master'. A master push runs only the lanes that its scope selects. Most master pushes change only CI files or Linux code, so they do not run the macOS and Windows Rust lanes, and do not save their layers. One macOS --release layer existed (HIT in the #2643 queue run 40529701340), but it is not in the cache now.
2. The repository cache is full
The cache is at the 10 GB limit: the usage API reported 9.0 to 9.9 GB today, and the entry list adds up to 10.2 GB (45 entries) at 16:30 UTC. GitHub evicts the least recently used entries. Use by key prefix (entry list, 16:10 UTC):
| Prefix | Size | Entries |
|---|---|---|
flatpak-builder |
2106 MB | 1 |
cook-base |
1967 MB | 5 |
zccache-* (tier2, ubuntu, sanitize) |
2654 MB | 3 |
qt-ccache |
501 MB | 1 |
| other (apt, toolchains, setup, …) | about 1.4 GB | 27 |
Each platform needs two cook layers: one for --profile dev and one for --release (the key hash f1c7475cf and f9e7e4902). Linux has three (host release, host dev, container release). Complete macOS and Windows layers add at least 2 more GB. With the cache already full, more layers cause more evictions, and layers that are evicted cause more MISS.
3. Test builds do not use the cooked dependencies (probable)
The Fast Gate cook uses --release (when core is true, as on every master push). The Fast Gate tests build the test profile. soldr also writes in every test invocation:
soldr: warning: Cargo profile.test.debug is unspecified for <workspace>; setting CARGO_PROFILE_TEST_DEBUG=false for this invocation.
The dev profile keeps its default debug. So the test profile differs from both dev and release, and cargo test compiles the external crates again. In the master Fast Gate log 40531318146, the cook layer was a HIT (exact=true), and the lint lane still compiled 83 external crates and the rust-test lane 66. I did not confirm this cause in soldr.
Effect
The dependency compile is small compared to the tests (Fast Gate unit tests 4 to 8 min, Rust Tests Windows 11 min on a HIT). A full HIT saves about 1 to 3 min per lane. The macOS and Windows lanes are on the critical path of a full-scope PR (they start after Fast Gate), so their compile time adds directly to the merge time.
Options
| # | Change | Effect | Cost |
|---|---|---|---|
| A | Save the macOS and Windows layers when they are missing: a cook-only job per platform on master pushes that change Cargo.lock or a Cargo.toml, or on a schedule |
macOS/Windows lanes HIT | Runner minutes for each cook-only job |
| B | Fewer cook layers: one profile per platform where the consumers allow it (for example cook only dev for the test lanes, and let the release consumers compile, or the reverse) |
Less cache space, fewer evictions | Some lanes do not get a HIT |
| C | Make the test profile match the cooked profile: set [profile.test] debug explicitly to the dev value, or cook the profile that the tests build |
Fast Gate and Rust Tests HIT for the test build | Need to confirm cause 3 first |
| D | Make room: trim the large non-cook entries (Flatpak 2.1 GB, three zccache variants 2.7 GB), or raise the repository cache limit above 10 GB | Fewer evictions | D2 costs money (storage above 10 GB is billed); org decision |
Proposal: C first (small, measurable in one run), then A, then B and D together, so that the cache budget includes the new layers.
Related
- ci: soldr cook fails since #2061, so every Rust lane compiles all dependencies #2603 (cook failed since build: Declare every third-party dependency in [workspace.dependencies] #2061, fixed by build: Name serde_json's std feature so soldr cook builds again (#2603) #2604)
- ci: A lost runner blocks the merge queue for up to 2 h; parity tests are most of the Rust test time #2593 (CI time: job timeouts, parity tests per changed port)
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsReady
Activity
zackees commentedon Oct 27, 2026
/investigate
Triage: not Ready yet — good evidence, but no claimable unit and no acceptance criterion.
What is measurable here is already in the report (lane / key / HIT-MISS / external crates), and I could not find a duplicate: #2603 was the cook failing (fixed by #2604), #2593 is queue time, #1801 is cache capacity. Please keep this one open.
What blocks it:
The fixes are not in this repo's tracked files. The cook cache key, the
save-cachepolicy and thecook-cache-basestep live in the shared action this repo pins (.github/workflows/build-project.yamlcallszackees/ci.yml@a1917ce), and thetest-profile behaviour is soldr's; the capacity question is fix(ci): reconcile global cache capacity and retain measured warm seeds #1801 (open, maintainer handed it off). So the first thing the issue needs is one line per cause saying which repo carries it — an obs-studio PR can only change the call sites and the workflow inputs.Cause 3 is stated as probable and can be settled in one command. You are right that the profiles differ by construction: the key text already carries the profile (
--releasef9e7e4902-…vs--profile devf1c7475cf-…), so a--releasecook layer can never serve atestbuild, and soldr's ownsoldr: warning: Cargo profile.test.debug is unspecified … setting CARGO_PROFILE_TEST_DEBUG=falsemakestesta third profile rather than inheritingdev. Confirming it takes one run: the same job withsoldr cook --profile test(or withCARGO_PROFILE_TEST_DEBUGunset), then compare theCompiling <crate>count. Say whether the answer means "cook atestlayer" or "stop selling thetestprofile as distinct" — those are different fixes in different repos.No acceptance criterion. "A full HIT saves about 1 to 3 min" is the effect, not the gate. Something measurable from a job log, for example: on a master-tip push that touches
rust/, every Rust lane printscook-cache-base HITand compiles at most 10 external crates, and a macOS--releaselayer and a Windows--releaselayer both exist in the cache at that moment. That is checkable from the runs you already cite, so it stays testable without a new harness.Two of the three causes are a decision, not a defect. Saving from PR runs (
save-cache: ${{ github.ref == 'refs/heads/master' }}→ also on PRs) trades cache writes and evictions against the misses you measured, and the capacity question is fix(ci): reconcile global cache capacity and retain measured warm seeds #1801's. If you want that call made for you, post it asDecision needed:naming the trade-off; until then it is not something a worker should pick unilaterally.Split it when you have 2 and 3: the capacity/eviction part belongs to fix(ci): reconcile global cache capacity and retain measured warm seeds #1801, the macOS/Windows layer saving is the decision in 4, and the
test-profile part is the one candidate for a normal PR (in whichever repo 2 names). Then a P0–P3 and asize:label, and it is Ready.vpacher commentedon Oct 27, 2026
Thanks. Answers to points 1 to 5, with a measurement for cause 3.
Cause 3: measured, and the cause is not the
testprofileSetup: a local Linux x86_64 host, soldr 0.9.43 (the version CI pins), master
637558458. For each case: deletetarget/, run the cook, then run the Fast Gate test compile (soldr cargo test --workspace --locked --no-run). Count theCompiling <crate> vXlines for crates outside the workspace.soldr cook --profile dev(CI for PRs today)soldr cook --profile testsoldr cook --profile dev -- --testsproptestwithoutstd(64 × E0432)foldhash)Results:
devandtestdo not differ in practice. soldr also setsCARGO_PROFILE_DEV_DEBUG=falsefor the cook (soldr: warning: Cargo profile.dev.debug is unspecified … setting CARGO_PROFILE_DEV_DEBUG=false). Case B gives the same 55 crates as case A. A separatetestlayer does not help.proptest,criterion,rand*,regex*,tempfile,rusty-fork, …).serde,serde_core,serde_json,base64,sha2,memchr,foldhash).-- --tests(cargo-chef) adds the dev-dependencies, but the cook then fails. The root[workspace.dependencies]declaresproptest,base64,memchrandsha2withdefault-features = false. 10 member manifests turn the defaults on again with{ workspace = true, default-features = true }. Cargo honours this override, but the cargo-chef recipe does not. This is the same defect as ci: soldr cook fails since #2061, so every Rust lane compiles all dependencies #2603 (serde_json, fixed in build: Name serde_json's std feature so soldr cook builds again (#2603) #2604).proptest = { workspace = true, features = ["std", "fork", "timeout", "bit-set"] },base64 = { …, features = ["std", "simd-unsafe"] },memchr = { …, features = ["std"] },sha2 = { …, features = ["alloc", "oid"] }. These are each crate's owndefaultlists.Other
default-features = trueoverrides remain (libc,cc,pkg-config,serde,tempfile,dunce,libloading, …). They do not break the cook today, but they can cause the same feature mismatch.A second gap stays: when
coreis true (for example the master push run40531318146), Fast Gate cooks--release. A--releaselayer cannot serve the test build (testusesdevsettings).Point 1: where each fix lives
A correction first: the three inputs that matter are set in this repository.
.github/workflows/build-project.yamlpasses them tozackees/setup-soldr(forge-ci/setup-soldrv0.9.88):prebuild-deps-flags,cache-key-suffixandsave-cache-remote: ${{ github.ref == 'refs/heads/master' }}.setup-soldrbuilds the key and does the restore and save.default-features = truein the member manifests;prebuild-deps-flags: --profile dev -- --testsfor the lanes that build tests. Optional upstream report: the cargo-chef recipe dropsdefault-features = true(second occurrence after #2603).Point 3: acceptance criterion (for the cause 3 PR)
On the first master push after the merge that touches
rust/, and on the next PR run after it:cook-cache-base HIT.cargo test --no-runstep) compiles at most 10 crates from outside the workspace.Point 4:
Decision needed:layer saving and the Fast Gate cook profilemacOS and Windows layers. Today only master push runs save, and a master push runs these lanes only when its scope selects them. Options:
Cargo.lockor aCargo.toml(and on a schedule). It costs one short job per platform when dependencies change. No PR writes.My recommendation: b.
Fast Gate cook profile when
coreis true. The--releaselayer serves the release build of the touched targets, but not the test compile. Options: cook--profile dev -- --testsalways (the release build then compiles its dependencies), or cook both (two layers, more cache space). This needs your call because of the cache budget.Point 5: split
When you agree, I will:
-- --testsfor the test lanes) with the measurement above as RED/GREEN,zackees commentedon Oct 27, 2026
Decided: take @vpacher's split as written — the cause-3 PR (explicit features instead of
default-features = true, plus-- --testson the lanes that build tests) is this issue's claimable unit, point 4.1 goes with option b, and point 4.2 is one layer per lane, no second layer.Reasons, cause 3 first:
testprofile, and case D's 55 → 1 external crate is the acceptance criterion already in point 3. That is enough to claim and build.Cargo.lock/aCargo.toml, plus a schedule). This is the repo's existing cache design, not a new one: saving is gated ongithub.ref == 'refs/heads/master', andpush.yamlis the master cache-warming entry whose in-flight warm run is deliberately kept (perf(ci): fix cache reuse gaps and measure libobs unity/PCH gains #1286, and itscancel-in-progress: falseis pinned byci/test_wf002_concurrency.py). Option a (PR runs save) writes against a cache already at its limit and each extra write becomes an eviction — which is cause 2 of this issue, so it would fight the fix. Option c leaves macOS at 0/6 HIT, which is the symptom being reported.coreruns. The repository cache is 10.2 GB across 45 entries against the 10 GB budget tracked by fix(ci): reconcile global cache capacity and retain measured warm seeds #1801 (CACHE-004), and the skill/CI budget treats that as a maintainer-visible steady state. Adding a second layer per lane is exactly the eviction pressure that produces the MISS rows in your table, so: the Fast Gate keeps cooking--releasewhencoreis true (the release lanes keep being served by it), and cooks--profile dev -- --testswhen it is not; every lane that builds tests passes-- --testson its own layer. If the release side turns out to cost more than it saves, reopen this — it is one workflow expression and reversible.Scope for the first PR (one unit, no macOS/Windows job in it):
proptest,base64,memchr,sha2with explicit feature lists instead ofdefault-features = true;prebuild-deps-flags: --profile dev -- --testsfor the lanes that build tests;The remaining
default-features = trueoverrides you listed (libc,cc,pkg-config,serde,tempfile,dunce,libloading) are worth their own line in #1801 or their own small PR — not this one.Marking the issue Ready below so the cause-3 unit can be claimed.
zackees commentedon Oct 27, 2026
/ready
Checked against the definition of Ready (WORKFLOW.md):
default-features = trueoverrides plus-- --tests, both named files and both measured by @vpacher.HITon the first master push that touchesrust/and the next PR run, at most 10 external crates in the Fast Gate test compile), re-measured as RED/GREEN on the head commit.blockedByis empty.Decision needed:— 4.1 and 4.2 answered in theDecided:comment above.infra,P2,size:M; this is one PR, not an XL split.Infra/CI-only change, so no
docs/features.mdline.zackees commentedon Oct 27, 2026
Claiming: #2661 (the cause-3 unit from the
Decided:at 18:36Z)Plan (one PR, one unit, no macOS/Windows job in it):
soldr cook --profile dev, thensoldr cargo test --workspace --locked --no-run, and count theCompiling <crate> vXlines for crates outside the workspace (expect ~55, 48 of them dev-dependencies).{ workspace = true, default-features = true }forproptest,base64,memchr,sha2— plusprebuild-deps-flags: --profile dev -- --testson the lanes that build tests.foldhash).First PR: this tick. Infra/CI-only change, so no
docs/features.mdline.zackees commentedon Oct 27, 2026
Opened #2675 for this unit (branch
infra/2661-cook-test-deps, base master): the test lanes cook the workspace dev-dependencies and the member manifests declare the four re-enabled defaults as explicit feature lists (the #2604 pattern). REDc6d9b8ad9, GREENfbc042ffa; localci/test_*.pysweep green andsoldr cargo metadata --lockedshows each crate's resolved feature closure equal to itsdefault. PR CI is the end-to-end cook measurement (hostsoldr0.9.35 < pinned 0.9.43). The per-platform cook-only job is the follow-up PR; janitor/eviction evidence stays on #1801.ci: Cook the workspace dev-dependencies for the test lanes (#2661) (#…
30 remaining items
zackees commentedon Nov 6, 2026
Blocked: waiting on cache backend recovery and a controlled warm-run measurement.
Read all 18 preceding comments and merged #2675, #3128 and #3548. The 2026-11-04 correction is decisive: the historical 123 Compiling lines include replayed lint output; the reported actual HIT test build compiled zero external crates. Do not reopen the profile/dev-dependency work or add cook-only native jobs on that evidence.
The single most valuable next step is to restore a functioning Fast Gate base save/restore, then measure cook-on-HIT overhead before changing it. Current evidence:
cook-base-v3-linux-x64-glibc-rustc1.98.1-fea2183cb-l7d46f1b3ea231b6d-xlinux-host-v2-soldrv0.9.45. Exact-key Actions cache inventory currently returns total_count=0.Exact maintainer/cache-owner request:
No source/workflow changes or PR: local warm-target timing cannot validate a hosted restore/reservation failure, and the current public jobs cannot validate the remaining warm-HIT hypothesis. Returning the pool slot clean on detached origin/master.
zackees commentedon Nov 6, 2026
Status: the overflow tier is being built in
forge-ci/soldrThe floor of this issue is storage: two cook layers per platform (
dev+release) cannot fit next toflatpak-builder(2.1 GB) and threezccache-*variants (2.7 GB) inside 10 GB, so every new layer evicts an older one and an evicted layer is a MISS. Raising the limit is billed and, per the issue's own option D, an org decision.The chosen direction is overflow instead of growth: GitHub stays level 1, an S3-compatible bucket becomes level 2, and every artifact lives in exactly one of them. Design and open questions: forge-ci/soldr#4099.
What already exists in soldr (this is why it is an extension, not a new subsystem):
.github/actions/setup-soldr/s3_cache.pyis a working remote cache — SigV4S3Client,ListObjectsV2,<family>/<key>.tar.zstlayout with actions/cache-compatible prefix restore,seed_l2for a wiped remote, and an LRU janitor gated tomerge_groupso concurrent runs never race a sweep. It covered thesetupandbuildfamilies only.Landed so far (branch
feat/cook-s3-family, 2 commits, 50 tests):cookis now a cache family —FAMILIES = ("setup", "build", "cook"), and_families_from_envlearnsINPUT_COOK_CACHEwithSETUP_COOK_CACHE_ROOT/_KEY/_RESTORE_PREFIX, the same shape as the other two so restore semantics are identical. Without the family inFAMILIESthe janitor never sweeps it, so the bucket would grow unbounded.plan_demotion(...)— the mirror of the S3plan_evictionfor the level-1 store: least-recently-accessed first, protected keys and entries younger thanMIN_EVICT_AGEskipped, and amax_bytescap that a sweep may not cross. That cap is the cost control for the concern in this thread: demotion is sequential (S3 PUT concurrency 1) and bounded, so one merge-queue run cannot become a multi-gigabyte upload inside its timeout.A correction that matters for whoever builds the next piece: the Actions cache REST API has list/delete/usage and no download endpoint. Restoring is the cache service, reachable only from inside a job (
ACTIONS_CACHE_URL+ACTIONS_RUNTIME_TOKEN) or viaactions/cache/restorewith an exact key. So the executor is a workflow step — restore exact key → PUT to S3 → verify →DELETE /actions/caches/{id}— not a REST script. Details and the consequences (non-atomic delete is deliberate, tolerated by xor) are in soldr#4099's follow-up comment.Why xor rather than S3-shadow-of-GitHub: shadowing doubles every save (runner egress + PUT latency × parallel lanes) and ages each artifact under two independent eviction clocks. Xor costs one extra restore attempt on a miss and keeps a single writer per artifact.
What this needs from this repo, once the soldr side lands: consumers pass
cook-cache: true(plus the bucket/endpoint secrets) tosetup-soldr, and the merge-queue run gets the janitor step.#2661's proposal A (cook-only warm jobs per platform) should be re-measured after the overflow exists — it exists to fight eviction, which overflow removes.zackees commentedon Nov 6, 2026
Cause 3 is confirmed, and it is a
soldrdefect rather than a lane-config oneThe "test builds do not use the cooked dependencies (probable)" section asked for confirmation in soldr. Confirmed:
soldr cookbuilds its layer with cargo's default profile settings, whilesoldr cargo testinjectsCARGO_PROFILE_TEST_DEBUG=false. Different fingerprints, so the layer is restored (and reportsexact=true) and the compiler still rebuilds every external crate.Tracked as forge-ci/soldr#4106 with the code references and the fix proposal.
The measurement, plain cargo, two-dependency crate, fresh
CARGO_TARGET_DIRper step, no soldr in the loop:cargo build(dev, defaultdebug = true)CARGO_PROFILE_TEST_DEBUG=false cargo test --no-runryu,itoarecompiledcargo test --no-run(test inherits dev,debug = true)Steps 2 and 3 are the same command with a different debug pin. soldr's front door always takes the step-2 path;
soldr cookalways produces step-3 artifacts. That is your 83 external crates on the lint lane and 66 onrust-testwith a HIT.A useful side effect of the same bug: debuginfo is the larger half of a dev-profile
target/tree, so the layers that cannot help are also the biggest ones in the cache. Fixing the pin shrinks them — which is real budget relief for the 10 GB ceiling described under cause 2, not just a correctness fix.What this means for the rest of the issue
placement-path/placement-preferinputs,placementoutput onsetup-soldr'ss3-save; guide indocs/CI_CACHE.md, design in cache: cook layers overflow to S3 (level 1 xor level 2) with the merge-queue janitor demoting them forge-ci/soldr#4099). With overflow, one macOS--releasesave survives a GitHub eviction instead of vanishing — which is the failure your table shows forRust Tests macOS(0 HIT / 6 MISS).--profile dev/testlayer actually removes the dependency compile, so the 1–3 min per lane on a HIT becomes real instead of theoretical.Worth re-measuring the table's HIT column only after both land; until then a HIT and a MISS cost almost the same for dev/test lanes, which makes HIT rate look healthier than it is.
zackees commentedon Nov 6, 2026
Correction to my previous comment on cause 3
I overclaimed. This is a walk-back, with the evidence.
What holds:
soldr cookgenuinely skips the profile-debug pin thatsoldr cargo build|test|checkinjects (there is nochefarm in the front door's subcommand match), and a debug-pin mismatch genuinely forces dependency recompiles — measured with plain cargo, in both directions.What I could not show: that this is what your lanes are actually hitting. With the unpatched soldr 0.9.51 on a three-dependency crate:
soldr cargo test --no-runsoldr cook→ testsoldr cook --release→ testBoth zero, on a crate whose cook reported
recipe was ephemeralandcross-repo cook sharing disabled — Cargo.lock is not tracked by git. That makes my harness inconclusive rather than exonerating — but it means "cause 3 is confirmed" was not something my measurement supported, so please read that section as still open.Two cheaper explanations still on the table, testable from the logs you already cited
--releaseand then test indev/testcannot share artifacts no matter what the debug pin says. Your table already hints at this: release-cook lanes compile 0–27 externals, dev/test lanes compile 66–103 — and the Fast Gate row, which cooks--releaseand tests, is the one that compiles 111–147 on a HIT.recipe was ephemeral. If a lane's cook does not pack a shareable layer at all, the pin is irrelevant and the number to look at is whether a layer was ever written — which lands back on cause 1, layers that never exist.What I would measure next, in your logs rather than in mine
For one dev-profile lane, on a run with
cook-cache-base HIT, countCompiling <external crate>lines, then flip only the debug pin (CARGO_PROFILE_DEV_DEBUG/CARGO_PROFILE_TEST_DEBUG) and re-count. If the count does not move, the pin is not the cause and cause 3 is a lane-configuration problem; if it moves, soldr#4106 is real at scale and the fix (forge-ci/soldr#4107) closes it.The fix is worth landing either way — it makes cook's artifacts provably match the front door — but it should not be sold as a cure until that lane count exists.
zackees commentedon Nov 7, 2026
Post-pin-bump evidence: the conflict is real, and three jobs fight over one key
Run
42325420562is the first master push executed with setup-soldrd01d9bae(the reservation-status fix). It turns the ambiguousskipped-race-precheckinto a named cause:Three jobs in that one run hit that exact key, and all three got the conflict:
--profile dev -- --tests--profile dev -- --tests--profile dev -- --testsIf all three conflict, nobody in this run holds the reservation — the holder is outside it. And the cache listing confirms there is no entry to find:
So for the dev+tests key there is a reservation and no artifact. That is an orphaned reservation, not an API failure and not a lost race: nobody raced, and the winner never wrote.
Two changes worth making, and they are independent
cook-cache.ts.What still needs backend visibility
Why the reservation is not released. GitHub's reservation is meant to be scoped to the creating job, so a holder that outlives every job in the run is either an orphan from a cancelled job (this repo does have
Cancel run (…)steps) or a backend state we cannot inspect from a runner. The runner-side evidence is now unambiguous — three failing reservations and zero artifacts — which is what a GitHub support escalation needs to start from.I am not claiming which of those it is. The observable fact is that the layer is unwritable under this key and exactly one job per run could ever have written it.
ci(cache): rotate the linux cook key suffix to v3 to clear the orphan…
ci: GREEN: bump setup-soldr to the persistent-root cook store and coo…
zackees commentedon Nov 23, 2026
Re-measured 2026-11-23 — and a scoping correction before anyone builds the wrong thing
Working the "precache every platform" goal. Four things I verified in the repo today, because two of them change what the work should be.
1. The queue can never seed a cache — by construction.
ci.tomlsetswrite-on = ["main", "nightly"]andpr = { mode = "none", … }, with the comment "Only default-branch runs save (write-on); PRs and merge groups restore, so there is no PR delta layer." Merge-queue runs are pure consumers. Any plan that assumes a queue run warms the cache for the next queue run is wrong.2. Declared family maxima already consume 6.99 GiB of the 10 GB budget, across 24 families (my own sum over
[cache.family]inci.toml). That is maxima, not live usage, so it is not the same as "no room" — but it does mean a new Windows/macOS family has to come out of someone else's allowance unless it lives outside this budget entirely.3. The Windows and macOS app builds do not run on the merge queue at all.
macos-build,windows-build,flatpak*, Qt and the native-cache jobs gate onif: fromJSON(needs.check-event.outputs.full), andcheck-eventcan only setfullfor schedule / dispatch / tag / release-branch. So "precache Windows and macOS for the merge queue" is not achievable and not needed — those lanes are cold on the release and nightly path, which is exactly the six families #1801 Phase A retired.4.
ci.tomlalready names the intended transport and nobody has built it:So the direction is already decided in the contract file. What is missing is the implementation.
The gap is in soldr, not here
I filed forge-ci/soldr#4259 for it:
soldr save/soldr hydrateexist andcrates/soldr-cache/src/cache_lib/load_extract.rshas nohttp/s3/remotepath at all, whilecrates/soldr-fetch/src/fetch/xwin_cache.rsalready pulls a pinned, sha256-addressed cache bundle from the forge catalogue. The fetch half and the save half exist and do not meet.That asymmetry is why Windows/macOS caches cannot be shipped today without shelling
curl/ghinto workflow YAML — transport logic in the workflow, which this repo's "CI is declared, not scripted" rule exists to prevent.What I would do next, in order
orasis preinstalled on none of ubuntu-26.04, windows-2025 or macos-15, and macOS runners have no Docker — so any container-based route needs a setup step.fullruns.Unrelated but blocking the same goal on Linux
The prebaked Tier 2 image is public now, but
ci/tier2_image.py selectreturns stock Ubuntu unlessmq-heavy-labelsis non-empty — i.e. unlessvars.FORGE_POOL_LABELSis set, and it is not. The Linux half of "all platforms precached" is one repository variable away and tracked in #5501.zackees commentedon Nov 23, 2026
Correction to my comment above — the transport already exists, and it already covers Windows and macOS
I wrote earlier that Windows/macOS caches "cannot be shipped today without shelling
curl/ghinto workflow YAML". That was wrong, and I'd rather correct it than leave it to mislead the next person. I checked the workflow instead of the issue text:Every job that builds anything — on all three platforms — already configures the S3 remote cache. Counting
zackees/setup-soldr@blocks inbuild-project.yaml:and the configuration is real, not vestigial (
build-project.yaml:1817-1830):A completed master push (
45261370568) shows the credentials arriving (SOLDR_S3_CACHE_ACCESS_KEY: ***), so the path is live, not dormant.So the answer to "push build caches into the packaging feature" is: for soldr-managed layers, this is already done and already cross-platform. The Actions cache is the level-1 tier; S3 is level 2, outside the 10 GB budget, exactly as #4099 describes.
What that leaves as genuinely missing, sharply:
cooklayers are not in the S3 families. Per libobs: characterize and extract the video stop traversal #4099,s3_cache.pycarriesFAMILIES = ("setup", "build"). The 5.71 GiB of app-build cook layers that fix(ci): reconcile global cache capacity and retain measured warm seeds #1801 Phase A retired therefore have no level-2 store — that is the real hole, and it is the one libobs: characterize and extract the video stop traversal #4099 asks to close..github/workflows/apt-seed.yaml(ci: seed the Tier 2 apt archive on a schedule #5527).FORGE_POOL_LABELSis set (CI: build server is idle — 0% of obs-rust merge-queue jobs route to the Dell pool #5501).I have retracted the "gap is in soldr" framing accordingly. The soldr-side issue I filed (forge-ci/soldr#4259,
save/hydratehave no transport) is still literally true of those two verbs, but it is not the blocker for this issue — the CI's cross-machine need is met by the S3 layer for the layers that use it.