Skip to content

Pin GHC 9.14 CI job to 9.14.1 - #1518

Merged
carbolymer merged 1 commit into
masterfrom
mgalazyn/feature/pin-ghc-9.14.1
Dec 4, 2026
Merged

carbolymer merged 1 commit into
masterfrom
mgalazyn/feature/pin-ghc-9.14.1

Conversation

@carbolymer

@carbolymer carbolymer commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Context

The build (9.14, ...) job passes the bare 9.14 to ghcup 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.1 on 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:

How to trust this PR

The diff changes one matrix entry in .github/workflows/haskell.yml and adds a two-line comment that links the upstream fix. No changelog fragment is needed, because .herald.yml maps no project to .github/** and the PR changes only the CI workflow.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff
  • Changelog fragment added in .changes/

GHC 9.14.2 ships containers-0.8.1, which breaks nonempty-containers:
mstksg/nonempty-containers#24
@carbolymer
carbolymer requested a review from a team as a code owner December 4, 2026 10:25
Copilot AI balanced review requested due to automatic review settings December 4, 2026 10:25
@carbolymer carbolymer self-assigned this Dec 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.14 matrix entry with 9.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

@palas palas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@carbolymer
carbolymer added this pull request to the merge queue Dec 4, 2026
Merged via the queue into master with commit f4c5749 Dec 4, 2026
26 checks passed
@carbolymer
carbolymer deleted the mgalazyn/feature/pin-ghc-9.14.1 branch December 4, 2026 14:32
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