Skip to content

Conversation

@pi-alexander-popel
Copy link
Collaborator

This both prevents race conditions when PRs are merged and sometimes allows fixes to merge before other PRs (like package or submodule updates) that depend on those fixes to merge successfully. This is quite random though and depends on GitHub API's ordering of the PRs. We can stabilize the ordering (sort from lowest to highest numbers or the other way around), but:

  • Sometimes newer PRs contains fixes for issues that don't allow older PRs to merge.
  • Sometimes newer PRs depend on changes/fixes in older PRs.

Meaning we can't always guess the best order, so it'll remain random for now. Until we decide on a better idea.

This will increase the total amount of time the CI runs if there's more than one PR but not always. Some jobs right now get throttled (especially macOS ones) and wait a long time for runner availability. Sometimes the runner becomes available only when other PR's jobs finish, which means they de-facto run in sequence already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants