PR: balena-io/docs#3084
Scenario:
- A pushed a test commit on an auto-merge PR
- A approved the PR. PR doesn't get merged since A has committed on it.
- B removed A's test commit and force push.
- Instead of tests running again, a race condition happens, all conditions get met and the PR merges immediately.
Problem
My force push created a synchronized event that didn't get tested again; instead, the PR was merged.
Downloaded Logs
-
Synchronize event didn't finish due to race condition:
logs_29694248838.zip | https://github.com/balena-io/docs/actions/runs/11366382108/job/31616690787
-
Closed event right after it as the PR merged:
logs_29694250989.zip https://github.com/balena-io/docs/actions/runs/11363520188