You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Maintainer blocker not cleared when the blocking maintainer re-requests their own review #1750
In label-pr-review-state.yml, a maintainer blocker (CHANGES_REQUESTED) can only be cleared when the PR author re-requests review from the blocking maintainer. If the blocking maintainer re-requests review from themselves, the blocker is not cleared.
Root cause
In the timeline-events loop (inside the maintainerBlockers.size > 0 branch), the actor check was:
This skips any event where the actor is not the PR author, so a maintainer's self-re-request never reaches the clearing logic.
Fix direction
Also clear the blocker when the blocking maintainer re-requests themselves — i.e. when actor === requested_reviewer and that person is the blocker — signaling intent to re-review:
Triage: already resolved on main by PR #1739 (commit e496606, merged 2026-10-12 — its body said 'Refs' rather than 'Closes', which is why this stayed open). The workflow now clears a maintainer blocker on ANY review_requested event naming the blocking reviewer with requestedAt >= blockedAt (the actor!==author guard was removed), which supersedes the issue's sketch by also covering third-party re-requests. In-tree proof tests: src/services/__tests__/pr-review-state-workflow.test.ts:2649 (self re-request clears) and :2669 (pre-blocked timestamp keeps the blocker). Closing as covered — reopen if a self re-request still fails to clear a blocker on current main.
Activity
fix(labels): clear maintainer blocker on self re-request (refs #1750)
fix(labels): clear maintainer blocker on self re-request (refs #1750)
fix(ci): key label-pr-review-state concurrency per PR (Zoo-Code-Org#1739
gh311 commentedon Nov 25, 2026
Triage: already resolved on main by PR #1739 (commit e496606, merged 2026-10-12 — its body said 'Refs' rather than 'Closes', which is why this stayed open). The workflow now clears a maintainer blocker on ANY
review_requestedevent naming the blocking reviewer withrequestedAt >= blockedAt(the actor!==author guard was removed), which supersedes the issue's sketch by also covering third-party re-requests. In-tree proof tests:src/services/__tests__/pr-review-state-workflow.test.ts:2649(self re-request clears) and :2669 (pre-blocked timestamp keeps the blocker). Closing as covered — reopen if a self re-request still fails to clear a blocker on current main.