Downgrade the CI to GHC 9.12.2.#183
Conversation
|
Oh sigh, now I remember why we upgraded to 9.12.3 in the first place... https://gitlab.haskell.org/ghc/ghc/-/issues/25771 |
|
In light of this, I can see some different possible paths forward:
Thoughts? (cc @langston-barrett @kquick) |
I'm fine with any of the above, though this one sounds ideal to me. With the other options, there is some (slim) chance that we break GHC 9.12 support without realizing it. |
|
Actually, I misspoke: it's not As a result, I think we either have to remove the 9.12 job or mark it as expected to fail. I have a very slight preference towards the latter (at least we can look at the build logs if we notice something afoot), but I could be convinced otherwise. |
|
By "mark it as expected to fail," do you mean actually setting |
|
|
|
Yes, I agree, let's use |
|
Also, don't forget to add an issue to remind us to undo that when there's a working 9.12 available. |
|
Apparently, trying to use |
|
Reading the In the meantime, another viable option would be to disable running strategy:
matrix:
os: ["ubuntu-24.04"]
ghc: ["9.8.4", "9.10.1"]
cabal: ["3.14.2.0"]
test: [true]
include:
- ghc: "9.12.2"
test: false
fail-fast: false
name: ${{ matrix.os }} - GHC ${{ matrix.ghc }} - Cabal ${{ matrix.cabal }}
uses: GaloisInc/.github/.github/workflows/haskell-ci.yml@v1
with:
cabal: ${{ matrix.cabal }}
cache-key-prefix: v2
ghc: ${{ matrix.ghc }}
os: ${{ matrix.os }}
test: ${{ matrix.test }}I actually like this idea, as it would ensure that |
… disabling testing against GHC 9.12 instead.
|
Oh, the GHC panic even happens during the |
|
I think our only remaining option is
|
|
The failure occurs when building the test suite (the build of the package itself works as expected, at least in my local environment), so we could still avoid cutting out the 9.12 build if there is some easy way to disable building the test suite in the Haskell CI workflow. |
|
We could customize the |
|
Ah, good catch! You could set |
RyanGlScott
left a comment
There was a problem hiding this comment.
Phew, that was surprisingly nasty. Thanks for persevering on this one!
ghcuphas pulled GHC 9.12.3 due to a critical bug, breaking the CI in this repository. This pull request restores the use of GHC 9.12.2.