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

Support GHC nightlies obtained via ghcup #665

Closed
Bodigrim opened this issue Jul 4, 2023 · 6 comments
Closed

Support GHC nightlies obtained via ghcup #665

Bodigrim opened this issue Jul 4, 2023 · 6 comments
Assignees
Labels

Comments

@Bodigrim
Copy link

Bodigrim commented Jul 4, 2023

It would be great to be able to add a job testing GHC HEAD, presumably using a new ghcup feature to download nightlies: https://www.haskell.org/ghcup/guide/#nightlies

@phadej phadej self-assigned this Jul 5, 2023
phadej added a commit that referenced this issue Aug 3, 2023
phadej added a commit that referenced this issue Aug 3, 2023
@phadej
Copy link
Collaborator

phadej commented Aug 3, 2023

Apparently allow-failure doesn't work on GHA. Why did I think it does. Well, I'm not going to add GHC nightly support then yet, it should be possible to mark it as fallible.

actions/runner#2347

@phadej phadej added the blocked label Aug 3, 2023
@phadej
Copy link
Collaborator

phadej commented Aug 3, 2023

Wait, continue-on-error: ${{ matrix.experimental }} may work. Let me try that.

phadej added a commit that referenced this issue Aug 3, 2023
@phadej
Copy link
Collaborator

phadej commented Aug 3, 2023

The action is marked as passing: https://github.com/haskell-CI/haskell-ci/actions/runs/5754864293, but the PR&commit are not #671

That is silly, and there is issue https://github.com/orgs/community/discussions/15452 about it.

@phadej
Copy link
Collaborator

phadej commented Nov 13, 2023

This is also blocked on haskell/ghcup-metadata#149 (comment)

I totally agree artifacts from the nightly pipeline are not a thing anybody should rely on.

though in haskell-ci usage we would ever grab only the latest, which is hopefully nor purged too early. But apparently it happened at least once, that nightly pipeline was unstable enough, so the latest successful one was purged.

In other words, until GHC folks themself explicitly says (e.g. somewhere in GHC wiki) that the nighties can be used for (automated) testing (which I think they did, so I'm getting mixed messages), only then I'll reconsider using nightlies.

Until then I close this issue, as this is blocked indefinitely for now.

@phadej phadej closed this as completed Nov 13, 2023
@hasufell
Copy link
Contributor

Yes, nightlies have been a failure. GHC developers have not been able to provide a reliable infrastructure for them.

@chreekat
Copy link

so I'm getting mixed messages...

@phadej I should specify that my opinions I've shared here on this ticket only represent my personal views. :P I was unhappy with GHC Nightlies as soon as I heard about how they were implemented.

I've tried to improve the situation by better clarifying their (lack of) reliability. See https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-Status#2-ghc-nightlies.

Dashboard with status: https://grafana.gitlab.haskell.org/d/ab109e66-a8a1-4ae9-b976-40e2dfe281ab/availabilitie-of-ghc-nightlies-via-ghcup?orgId=2&from=1681980144490&to=1697791344490&refresh=1d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants