Escalation deadlock risk with shared tokens #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With shared tokens and parallel CI jobs, a deadlock can occur:
Mitigated by the
staleflag (reviews from old commits are skipped), but within the same CI run with parallel jobs, the race is theoretically possible.Best fix: separate tokens per role (see sister issue). Alternative: don't check siblings at all and let each role post its honest verdict.