Closed niksirbi closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.28%. Comparing base (
b6a7847
) to head (15209c4
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
I'd like a second opinion on this @lochhh ! Not sure whether it's worth for our use-case or not. My thinking is that we could try it for a while, and after 1-2 months re-evaluate if it's more on the helpful or annoying side.
I'd like a second opinion on this @lochhh ! Not sure whether it's worth for our use-case or not. My thinking is that we could try it for a while, and after 1-2 months re-evaluate if it's more on the helpful or annoying side.
I agree. If this is too much, we can always revert. I think this can be useful when say dependabot creates a bunch of PRs which can be merged in bulk. We can also play with the timeout, atm I see it is set as 5 minutes, which I think is rather short, since we should allow time for builds and tests to complete.
I've enabled Merge Queues for the
main
branch. For this to work in conjunction with our CI,merge_group
has to be added as a workflow trigger. This trigger will be emitted when a PR is marked as "Merge when Ready".In our day-to-day work this simply means that PRs are accepted by clicking "Merge when Ready" and Github will automatically perform the necessary CI checks and merge PRs in first-in-first-out order.
It was not immediately apparent to me why the new "merge_group" trigger is needed. This post explains it:
The thing that worries me about this is that we would be running our checks multiple times, i.e. during a push on the feature branch, when a PR is opened, then again when it's put in the merge queue, and again after being merged to main. That amount of checking seems excessive to me, and perhaps we need to rethink our CI workflow? Or perhaps we are not at the scale of needing merge queues yet. They seem to be most useful for repos with multiple merges per day.