From 3d65e4a06c9f6c552071fc3781e181e6d799ed17 Mon Sep 17 00:00:00 2001 From: Daniel Widgren Date: Sat, 4 Jul 2026 12:03:54 +0200 Subject: [PATCH] fix(ci): bust stale nightly _build cache holding pre-OTP-29 meck Same fix as asobi: the cache key hashed only rebar.lock, but meck (pulled transitively via the asobi git dep) and proper are test-profile deps absent from the lock. Stale _build resurrected meck 0.9 (bare 'catch', fatal under OTP 29). Hash rebar.config and retire the poisoned caches with a -v2- prefix. --- .github/workflows/nightly.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d6c2653..5becad7 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -32,9 +32,13 @@ jobs: uses: actions/cache@v4 with: path: _build - key: nightly-prop-${{ hashFiles('rebar.lock') }} + # rebar.config is hashed too: test-profile deps (meck, proper) and the + # asobi git ref are not written to rebar.lock, so a lock-only key never + # busts when they bump. The -v2- prefix retires the poisoned pre-OTP-29 + # caches (stale meck 0.9, pulled transitively via asobi). + key: nightly-prop-v2-${{ hashFiles('rebar.config', 'rebar.lock') }} restore-keys: | - nightly-prop- + nightly-prop-v2- - name: Run property tests at high numtests run: |