Skip to content

Conversation

geekosaur
Copy link
Collaborator

So people don't have to open all of the collapsed test output to find any failures.


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:

  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).

So people don't have to open all of the collapsed test output to find
any failures.
@geekosaur geekosaur force-pushed the indicate-validate-test-errors branch from d41e05d to e93d9c0 Compare October 3, 2025 20:19
Copy link
Collaborator

@ulysses4ever ulysses4ever left a comment

Choose a reason for hiding this comment

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

thanks, that's an improvement.

It's still miles behind the native GitHub UI for separate steps, where if one step fails, it always gets you right to the point of failure.

@geekosaur
Copy link
Collaborator Author

I think you were the one who argued they should all be done in a single group because there were too many jobs otherwise?

And GitHub doesn't always get you to the actual point of failure: I had a whitespace issue initially, where the error output was at the top but GitHub dumped me at the bottom. And the whitespace job outputs every file it processed, meaning a lot of stuff to scroll past to get back up to the actual error message.

@geekosaur geekosaur added merge me Tell Mergify Bot to merge and removed attention: needs-review labels Oct 3, 2025
@ulysses4ever
Copy link
Collaborator

I think you were the one who argued they should all be done in a single group because there were too many jobs otherwise?

Not at all. All steps were collapsed to answer @mpickering 's request to set it up in a way that all steps always run.

The number of jobs of a separate issue.

And GitHub doesn't always get you to the actual point of failure

I thought so too, but it wasn't my experience with the one giant step

@geekosaur
Copy link
Collaborator Author

That can be done just by having them not depend on each other, with only the final job depending on them (as it already does) and always running (as it also does). The CI rewrite does it this way, and also splits out the validate-old-ghcs and dogfooding jobs the same way so they all run simultaneously and none of them failing blocks or kills the others.

@mergify mergify bot added the ready and waiting Mergify is waiting out the cooldown period label Oct 3, 2025
@geekosaur
Copy link
Collaborator Author

@mergify backport 3.16

Copy link
Contributor

mergify bot commented Oct 3, 2025

backport 3.16

✅ Backports have been created

@ulysses4ever
Copy link
Collaborator

If they stay in one job, it's more or less impossible as we discussed in the past I think. If they are distributed between several jobs, then, first, yes, the number of jobs explodes, but it's not all, because, second, you'll have to figure out how to thread the build state through the jobs otherwise you get a slowdown I think. (Although, this has to be measured.) So it's not trivial... Instead of all this complexity, it may be clearer to rollback to the old approach with separate steps in one job. The main body of the tests is the Package Tests anyway. Also, very rarely have I seen several steps failing at once.

@mergify mergify bot added merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days queued labels Oct 5, 2025
mergify bot added a commit that referenced this pull request Oct 5, 2025
@mergify mergify bot merged commit 52dae6d into haskell:master Oct 5, 2025
213 checks passed
@mergify mergify bot removed the queued label Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous-integration merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge ready and waiting Mergify is waiting out the cooldown period
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants