Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: GHC 9.2.7 Support #3512

Merged
merged 7 commits into from
May 8, 2023
Merged

CI: GHC 9.2.7 Support #3512

merged 7 commits into from
May 8, 2023

Conversation

andys8
Copy link
Collaborator

@andys8 andys8 commented Mar 3, 2023

Draft for now to check with CI what needs to be changed.

Solves #3511

@andys8
Copy link
Collaborator Author

andys8 commented Mar 3, 2023

Looks like GHC 9.2.7 can't be installed with chocolatey on Windows, but that's also the case for 9.2.6 🤔

image

@andys8
Copy link
Collaborator Author

andys8 commented Mar 3, 2023

  • ❓ CI had exceptions for 9.2.5. Not sure if this was due to issues with 9.2.5 or 9.2 in general.
  • ❓ Nix failing due to cachix. Related or flaky?
  • ❓ Can't be installed on Windows? Expected or does another place need to be updated?
  • ❓ What else needs to be changed?
  • ℹ️ cabal build and ghcup compile hls seem to work with 9.2.7 on my machine

andys8 added a commit to andys8/dotfiles that referenced this pull request Mar 3, 2023
@michaelpj
Copy link
Collaborator

Looks like GHC 9.2.7 can't be installed with chocolatey on Windows, but that's also the case for 9.2.6

Right, but we never got to 9.2.6 in our CI, we were on 9.2.5. Looks like we're blocked on haskell/actions#190

CI had exceptions for 9.2.5. Not sure if this was due to issues with 9.2.5 or 9.2 in general.

Almost always major-version related so updating them is right.

Nix failing due to cachix. Related or flaky?

It's flaky, that's why it's not required.

So overall I think this PR looks right, we just need the setup action to support it.

@andys8
Copy link
Collaborator Author

andys8 commented Mar 6, 2023

Cool, maybe the change we're waiting for isn't far away.
Mistuke/GhcChoco@bcbf15a

@michaelpj michaelpj enabled auto-merge (squash) March 13, 2023 09:33
@michaelpj
Copy link
Collaborator

Hmm, I don't understand how github action updates work. They released a minor version that supports the new GHCs, so shouldn't this now work?

@michaelpj michaelpj disabled auto-merge March 13, 2023 11:11
@andys8
Copy link
Collaborator Author

andys8 commented Mar 13, 2023

I don't quite understand how HLS CI works and which of the jobs are known to be flaky 😅

The latest run seems to have failed for 9.0.2 which should be unrelated to the changes in this PR. Still not sure if my changes are complete and correct, though.

Screenshot_2023-03-13-12-47-46-53_4d38fce200f96aeac5e860e739312e76

@fendor
Copy link
Collaborator

fendor commented Mar 13, 2023

Haskell setup actions are broken for windows haskell/actions#202 (comment)

@Anton-Latukha Anton-Latukha changed the title GHC 9.2.7 Support CI: GHC 9.2.7 Support Mar 18, 2023
@Anton-Latukha Anton-Latukha added the merge me Label to trigger pull request merge label Mar 21, 2023
@July541
Copy link
Collaborator

July541 commented Apr 16, 2023

Just a kindly reminder, do you still have the plan to continue?

@andys8
Copy link
Collaborator Author

andys8 commented Apr 17, 2023

Resolved the merge conflicts

@andys8 andys8 enabled auto-merge (squash) April 17, 2023 13:42
@July541
Copy link
Collaborator

July541 commented Apr 18, 2023

The test failed four times, are we so unlucky? 🤔

@andys8
Copy link
Collaborator Author

andys8 commented May 5, 2023

Could somebody have a look at CI and this PR? Otherwise should I consider closing it?

@fendor
Copy link
Collaborator

fendor commented May 5, 2023

@andys8 Yep, will do!

@fendor fendor removed the merge me Label to trigger pull request merge label May 7, 2023
@fendor fendor requested a review from pepeiborra as a code owner May 8, 2023 16:35
@fendor
Copy link
Collaborator

fendor commented May 8, 2023

As @July541 correctly identified, there are indeed three test-cases that were incorrectly marked as broken because the distribution issue for GHC 9.2.7 has been fixed.
I removed the special casing, since our CI doesn't support more than one GHC 9.2 version and adding extra CPP seemed like a bad idea.

@andys8 andys8 merged commit 86f0d02 into haskell:master May 8, 2023
@fendor fendor added the merge me Label to trigger pull request merge label May 8, 2023
@fendor
Copy link
Collaborator

fendor commented May 8, 2023

@andys8 thank you for the PR, sorry it took us so long to get it finally merged!

@michaelpj
Copy link
Collaborator

The shame of not getting it merged was motivational :D 🙃

@andys8
Copy link
Collaborator Author

andys8 commented May 9, 2023

No need to apologize. Thanks for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants