phacility/phabricator · error · Exception
You can not resign from this revision because you have…
Error message
You can not resign from this revision because you have already resigned.
What it means
Idempotency guard in DifferentialRevisionResignTransaction::validateAction: the viewer's reviewer status on this revision already equals STATUS_RESIGNED (getViewerReviewerStatus check). Resigning again would be a no-op, so the editor rejects the duplicate resignation instead of recording a redundant transaction.
Solutions
- No action needed: you have already resigned from this review
- If you want to rejoin the review, accept or request changes to re-establish a reviewer status, then manage it from there
- If acting via API, check the reviewer list first to avoid duplicate resign requests
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionResignTransaction.php:72 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21).
Data as JSON: /api/errors/9fbb85f71be20494.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/differential/xaction/DifferentialRevisionResignTransaction.php:72
}
public function applyExternalEffects($object, $value) {
$status = DifferentialReviewerStatus::STATUS_RESIGNED;
$actor = $this->getActor();
$this->applyReviewerEffect($object, $actor, $value, $status);
}
protected function validateAction($object, PhabricatorUser $viewer) {
if ($object->isClosed()) {
throw new Exception(
pht(
'You can not resign from this revision because it has already '.
'been closed. You can only resign from open revisions.'));
}
$resigned = DifferentialReviewerStatus::STATUS_RESIGNED;
if ($this->getViewerReviewerStatus($object, $viewer) == $resigned) {
throw new Exception(
pht(
'You can not resign from this revision because you have already '.
'resigned.'));
}
if (!$this->isViewerAnyAuthority($object, $viewer)) {
throw new Exception(
pht(
'You can not resign from this revision because you are not a '.
'reviewer, and do not have authority over any reviewer.'));
}
}
public function getTitle() {
return pht(
'%s resigned from this revision.',
$this->renderAuthor());
}View on GitHub (pinned to 5720a38cfe)