-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add granularity to ci pipeline for readability #1546
Add granularity to ci pipeline for readability #1546
Conversation
As far as I can tell, the Circle CI convenience scripts (e.g. the script that uploads test results) should still work, because they work with debian:buster.
Minor refactor: DRY step definitions where possible
Note: the repo configuration is a blocker, since there is no way the removed (Buster) jobs will report their status to GitHub 🌵 |
No strong feelings from me on this change; it is worth noting I think that if we add Bookworm to the mix, that's a lot of individual jobs to keep track of. My own preference might be for a bit more grouping esp. of similar very short-running jobs. |
To clarify my intent: my experience is that on the day-to-day we only ever have to navigate Circle CI's list of jobs when one is failing. At that point, I'm trying to make finding the failure cause quicker/easier by reducing the job log size, and the search pattern consistent. If a unit-tests fail, then you'll be able to confidently scroll to the bottom of the log. Same for any other job. Currently, the one job fails and you need to scroll up and down a way longer log, until you find where the error was printed. (You can also not effectively search for "error", nor "FAILURE", nor most things you may think would help you.) |
Can you clarify what you mean by "keeping track of jobs" @eloquence ? |
I was just referring to the number of checks that appear at the end of each PR that reviewers have to pay attention to. It looks like GitHub will always group failing checks at the top, so I think in practice it may not be much of an issue if there are 4 checks or 18 (once we add Bookworm). In the If you find the higher granularity helpful, and if others have no concerns with this approach, I'd be happy to merge this tomorrow and update the repo settings to mark all checks as required. |
Thanks for preparing this, @gonzalo-bulnes - I'm in favour of this change. Do you want to do a rebase/amendment of history now that the commits from #1544 are in? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's give it a try! (There might be further refactoring opportunities to reduce some duplication.) (Edit: Sorry, missed your rebase/amend note Ro!)
Thanks for proposing this change, @gonzalo-bulnes! It's a gift. |
Description
Splits the testing, linting, and diverse checks into distinct CI jobs.
Bonus: a ~20% decrease in wall clock time (the trade-offs are called out in #1543).
Fixes #1543
Result
Test Plan
make check
are performed at some stage of the pipeline