ci(workflows): add compiler caching, scope box_step, split megakernel, and extend PR selection
Merged
GR
9d ago+428+428+012345678901234567890123456789-177-177-012345678901234567890123456789
Summary
Part 3 of the CI optimization series (from the 150-run audit: PR wall time p50 4h41m, p95 27h40m; lucebox3 wait p50 1h22m, p95 19h18m; hosted builds 22–32m each).
Folded into 2 clean commits:
ci(plan): extend PR path selection to all jobs(.github/ci/ci_plan.py,.github/ci/test_ci_plan.py)- Extends
.github/ci/ci_plan.py(75 passing unit tests, including a negative hidden-change test) to gatepython,cpp,megakernel,windows,dgx,gpu,qwen38, andds41on PRs while failing open (!= 'false') on unknown paths or errors.
- Extends
ci(workflows): add ccache/sccache, scope box_step, split megakernel, and wire PR plan(.github/workflows/ci.yml,.github/workflows/commit-style.yml)- Self-hosted (
lucebox3+dgx-gb10): bootstraps SHA256-verified staticccachev4.14.3 onlucebox3($HOME/.cache/lucebox-ci-ccache,CCACHE_NOHASHDIR=true) with-j"$(nproc)"and optional-G Ninja; scopesbox_step.shstrictly to GPU-using steps; removesneeds: [uv-workspace](-72sdead wait) and unusedsubmodules: recursive. - Hosted Linux & Windows: enables
mozilla-actions/sccache-action(SCCACHE_GHA_ENABLED=true), drops unusedsubmodules: recursivewhere-DLUCE_ENABLE_BSA=OFF, and addsfilter: blob:nonetocommit-style.yml. - Python & megakernel: enables
setup-uvcache + single--extra devsync +--no-syncruff/pytest; splitsbuild-megakernelout of Linuxbuildinto a parallel job. - Merge queue & security: adds
merge_grouptrigger (--full), wires all jobs toplan, and sets top-levelpermissions: { contents: read }.
- Self-hosted (