Skip to content

ci(example): bust stale caches after ubuntu-latest moved to 26.04 - #527

Merged
cdmren merged 1 commit into
mainfrom
cdm/example-bust-stale-cache
Nov 13, 2026
Merged

cdmren merged 1 commit into
mainfrom
cdm/example-bust-stale-cache

Conversation

@cdmren

@cdmren cdmren commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

The Example workflow's ubuntu jobs have failed on every run since 2026-11-09 with collect2: fatal error: cannot find 'ld' (last pass: 2026-11-06). Between those runs ubuntu-latest moved from ubuntu-24.04 to ubuntu-26.04, while the cache keys carry no OS version, so a ~/.stack saved on 24.04 is restored onto 26.04 (exact key hits in the failing logs).

This bumps cache-prefix to v2/ for the test job and sets it for test-stack-yamls, which had none, so both stop restoring the 24.04 caches. It is a hypothesis test: if the ubuntu jobs pass here, stale caches were the cause. If they still fail, the cause is the 26.04 image itself.

Not verified: that the restored GHC is what points at the missing linker.

— by Claude


Generated by Claude Code

@cdmren
cdmren marked this pull request as ready for review November 13, 2026 17:55
@cdmren
cdmren requested a review from a team as a code owner November 13, 2026 17:55
@cdmren
cdmren requested review from cristygrant and removed request for a team November 13, 2026 17:55
@cdmren
cdmren enabled auto-merge (squash) November 13, 2026 17:55
@cdmren
cdmren merged commit 40604f0 into main Nov 13, 2026
21 checks passed
@cdmren
cdmren deleted the cdm/example-bust-stale-cache branch November 13, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants