Skip to content

Commit 759e9c2

Browse files
FelonEkonomclaude
andcommitted
ci: force test build-cache recreation to fix stale MP3 MAD NIF
The test job restored a `_build/test` cache whose MP3 MAD decoder NIF (.so) was built against an older docker_membrane base image. After the image was updated the cached NIF no longer loads, causing every pipeline test that uses Membrane.MP3.MAD.Decoder to crash with UndefinedFunctionError on ...Native.Nif.unifex_create/0. `mix compile --force` only forces Elixir recompilation, not the cached bundlex NIF. Bump the test workflow's cache-version so deps and the build cache are recreated, rebuilding the NIF against the current image. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 90484f3 commit 759e9c2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,10 @@ jobs:
1414

1515
test:
1616
uses: membraneframework/membrane_actions/.github/workflows/test.yml@main
17+
with:
18+
# Bumped to force recreation of the stale test build cache: a previously
19+
# cached MP3 MAD decoder NIF (.so) was built against an older
20+
# docker_membrane base image and fails to load (UndefinedFunctionError on
21+
# Membrane.MP3.MAD.Decoder.Native.Nif.unifex_create/0) after the image was
22+
# updated. Forcing a fresh build rebuilds the NIF against the current image.
23+
cache-version: 2

0 commit comments

Comments
 (0)