Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

race condition when PRs are closed (almost) simultaneously #23

Description

@jcommelin

Over at leanprover-community/mathlib we use the bors bot (bors-ng) to merge PRs for us. (CI takes > 1 hour, and we have 10 - 20 PRs per day, so we need some sort of way to run CI on multiple PRs at once.)

If several PRs are marked as ready-to-merge, and the simultaneously pass the CI test, then bors will merge all of them into master and close the PRs.

However, if PR X depends on Y and Z, and both Y and Z are in the same batch that bors is closing, this seems to cause a race condition for sync-task-issues.

See the edit history of the top post of the following PR for an example:
leanprover-community/mathlib3#4268

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions