phacility/phabricator · warning · Exception
You can not resign from this commit because you are not an a
Error message
You can not resign from this commit because you are not an active auditor.
What it means
Resign requires the actor to hold an active auditor request on the commit (isViewerAnyActiveAuditor). If you were never added as an auditor, or already resigned, the action has nothing to resign from and validateAction() refuses it.
Source
Thrown at src/applications/diffusion/xaction/DiffusionCommitResignTransaction.php:46
public function getActionName() {
return pht('Resigned');
}
public function generateOldValue($object) {
$actor = $this->getActor();
return !$this->isViewerAnyActiveAuditor($object, $actor);
}
public function applyExternalEffects($object, $value) {
$status = PhabricatorAuditRequestStatus::RESIGNED;
$actor = $this->getActor();
$this->applyAuditorEffect($object, $actor, $value, $status);
}
protected function validateAction($object, PhabricatorUser $viewer) {
if (!$this->isViewerAnyActiveAuditor($object, $viewer)) {
throw new Exception(
pht(
'You can not resign from this commit because you are not an '.
'active auditor.'));
}
}
public function getTitle() {
return pht(
'%s resigned from this commit.',
$this->renderAuthor());
}
public function getTitleForFeed() {
return pht(
'%s resigned from %s.',
$this->renderAuthor(),
$this->renderObject());
}View on GitHub (pinned to 5720a38cfe)
Solutions
- Check the commit's Auditors table - Resign only applies to active auditor entries naming you
- If you were only subscribed, use unsubscribe/notification settings instead
- If you already resigned, nothing further is needed
Defensive patterns
Strategy: validation
Validate before calling
if (!$this->isViewerAnyActiveAuditor($object, $viewer)) {
// hide or disable the Resign action
} Prevention
- Offer the action only when isViewerAnyActiveAuditor() is true - the class already exposes this check for isValid()
- Teach users the difference between commit auditors and subscribers
When it happens
Trigger: A user who is CC'd but not an auditor tries Resign; an auditor who already resigned clicks it again; a Differential reviewer (not a commit auditor) attempts to resign from a commit.
Common situations: Confusion between Differential reviewers and Diffusion commit auditors; users trying to silence audit mail by 'resigning' from commits they were merely subscribed to.
Related errors
- You can not accept this commit because you have already acce
- You can not raise a concern with this commit because you hav
- You can not request verification of this commit because no a
- You can not accept this commit because you are the commit au
- You can not raise a concern with this commit because you are
AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21).
Data as JSON: /api/errors/b28f93ef2ce09359.
Report an issue: GitHub.