Context
#942 Phase-1 baseline, warm scenario (global cache fully warm, fresh project copy): fw-libs=150.7s re-runs in full for every new project directory even though the framework libraries are identical for a given platform + flag set. The fw-libs fingerprint only short-circuits within the same project (hot = 1 ms).
Related: core-cache-hydrate=0 ms in all 9 baseline runs while compile-core-variant always spends ~11 s and core-cache-store runs afterwards every time — i.e. the global core cache is written but apparently never hit, even cold → warm → hot inside one container session.
Proposal
- Scope the framework-lib artifact cache globally (keyed by platform/toolchain/flag fingerprint) so a fresh project hydrates ~150 s of compiled framework objects, mirroring the package disk cache design.
- Diagnose and fix the core-variant cache: why store-then-never-hydrate? (key mismatch across builds is the likely culprit.)
Acceptance criteria
Part of #942.
Context
#942 Phase-1 baseline, warm scenario (global cache fully warm, fresh project copy):
fw-libs=150.7sre-runs in full for every new project directory even though the framework libraries are identical for a given platform + flag set. The fw-libs fingerprint only short-circuits within the same project (hot= 1 ms).Related:
core-cache-hydrate=0 msin all 9 baseline runs whilecompile-core-variantalways spends ~11 s andcore-cache-storeruns afterwards every time — i.e. the global core cache is written but apparently never hit, even cold → warm → hot inside one container session.Proposal
Acceptance criteria
fw-libsdrops from ~150 s to ≤ 5 s in the meta: profiling-driven build performance burndown (Docker Linux, NightDriverStrip, cold vs hot cache) #942 harness.core-cache-hydrateactually hits on the second build with identical config (andcompile-core-variant≈ 0 s).Part of #942.