-
Notifications
You must be signed in to change notification settings - Fork 710
check compatibility with GHC prereleases #10666
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
base: master
Are you sure you want to change the base?
Conversation
52d2ec1
to
a02509a
Compare
I filed haskell-actions/setup#104 over the complete inability to get a path or actual version specific to the |
a02509a
to
5dd2d3a
Compare
@mergify rebase |
This unnecessarily runs even when a prerelease isn't active, but if it fails then then we have bigger problems (like we do right now with a buggy 3.14.1.0 released).
✅ Branch has been successfully rebased |
5dd2d3a
to
f4b9990
Compare
There are special arrangements for testing latest GHCs, including prereleases, which might need to be updated or could be re-used in this work. Note: In the cabal meeting, I said it's only prerelease-related, but in fact they are handy when a fresh GHC release drops, so they shouldn't be scrapped altogether, perhaps. In particular,
|
In general, the PR description doesn't say why this can't be done as a part of the main validate workflow or why it's preferable to do it separately. Such explanation would be important for me. |
So, there are three reasons we don't want to do this in
|
(And yes, I had forgotten about this PR; it's one I fired off and promptly forgot about, expecting it to come back on my radar if/when reviewed.) |
So, just the warning about unsupported GHC... This PR should be renamed accordingly, e.g.
This is fair. I thought in the call you were talking about running it on corn. This would make more sense to me than having it run on PRs and getting people confused about what this is. Can you change the I think we do want a full validate on prereleases, and past work showed that this is simple to set up (#8754). In general, if you don't run tests, you can't make sure to catch real issues. Also, #8754 had a fair amount of copy-paste because back then the haskell/setup action didn't support the prerelease channel (I think). These days, adding a prerelease is as easy as extending the validate matrix and adjusting the conditional Running the full validate will also solve the problem that you're trying to solve here: it will fail when an unsupported GHC is detected. The only remaining issue that I don't know how to solve is how to run it only on cron so that we don't blow up the contributors. If we don't want to create a whole copy of validate that runs on cron for just prereleases, it may require some clunky YAML conditionals, which I generally detest. But maybe in this case they wouldn't be too bad. |
This unnecessarily runs even when a prerelease isn't active, but if it fails then then we have bigger problems (like we do right now with a buggy 3.14.1.0 released).
Template B: This PR does not modify behaviour or interface
E.g. the PR only touches documentation or tests, does refactorings, etc.
Include the following checklist in your PR: