fix(ci): handle cache eviction and composed cleanup assertions (#4824)

* fix(ci): handle eviction when staging portable build cache

* docs(readme): fix French heading spacing

(cherry picked from commit 0ccd0e6999)

* test(ci): verify observed cache coverage during eviction

* test(electron): assert composed launch cleanup diagnostics

(cherry picked from commit e1466dc480e715b427cddfc3569b2baf03574405)

---------

Co-authored-by: ShuaixinHuang <1836656514@qq.com>
This commit is contained in:
Ysopwnable
2026-10-18 01:08:14 +08:00
committed by GitHub
parent 7016951394
commit 3ddb2e4cf7
7 changed files with 508 additions and 67 deletions
+2 -2
View File
@@ -360,8 +360,8 @@ jobs:
- name: Stage current portable build task cache
shell: bash
run: |
npm run --silent test:prepare -- --dry=json |
node scripts/ci/portable-build-cache.mjs snapshot
# A new Turbo dry run can evict the entries this build just used.
node scripts/ci/portable-build-cache.mjs snapshot < .cache/ci-build-plan.json
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: rea-build-cache