Repository navigation
Pin GHC 9.14 CI job to 9.14.1 - #1518
Merged
Merged
Conversation
GHC 9.14.2 ships containers-0.8.1, which breaks nonempty-containers: mstksg/nonempty-containers#24
2 of 4 tasks
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the CI change pinning GHC to 9.14.1.
No open issues 🎉
What changed in this PR
Pins the GHC 9.14 CI job to 9.14.1 to prevent an automatic upgrade to 9.14.2 and its reported dependency incompatibility.
Changes:
- Replaces the floating
9.14matrix entry with9.14.1. - Adds comments explaining the pin and linking the upstream fix.
| File | Description |
|---|---|
.github/workflows/haskell.yml |
Pins GHC to 9.14.1 and documents when to unpin. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
The
build (9.14, ...)job passes the bare9.14toghcup install ghc, which resolves it to a 9.14 point release. Today it still installs 9.14.1, so this PR changes nothing in the build yet.GHC 9.14.2 bundles containers-0.8.1, which changed
Data.Set.Internal.merge. nonempty-containers, which comes in through ouroboros-consensus, no longer compiles against it. cardano-node's 9.14 job already broke on this.A Hackage trustee revision sets
containers <0.8.1on every nonempty-containers release, but the repo's Hackage index-state (2026-09-29) predates it, so cabal does not see that bound.This PR pins the matrix entry to
9.14.1, so a runner or action update cannot switch the job to 9.14.2 without a commit. Unpin once the nonempty-containers fix is released and the index-state includes it.Links:
haskell.ymlchange also pins the 9.14 job to 9.14.1 for the same reason)How to trust this PR
The diff changes one matrix entry in
.github/workflows/haskell.ymland adds a two-line comment that links the upstream fix. No changelog fragment is needed, because.herald.ymlmaps no project to.github/**and the PR changes only the CI workflow.Checklist
.changes/