phacility/phabricator · error · PhutilArgumentUsageException
Activity "%s" is not currently marked as required, so there
Error message
Activity "%s" is not currently marked as required, so there is no need to complete it.
What it means
Error "Activity "%s" is not currently marked as required, so there is no need to complete it." thrown in phacility/phabricator.
Source
Thrown at src/applications/config/management/PhabricatorConfigManagementDoneWorkflow.php:48
$activities = $args->getArg('activities');
if (!$activities) {
throw new PhutilArgumentUsageException(
pht('Specify an activity to mark as completed.'));
}
foreach ($activities as $type) {
$activity = id(new PhabricatorConfigManualActivity())->loadOneWhere(
'activityType = %s',
$type);
if (!$activity) {
if ($is_force) {
echo tsprintf(
"%s\n",
pht(
'Activity "%s" did not need to be marked as complete.',
$type));
} else {
throw new PhutilArgumentUsageException(
pht(
'Activity "%s" is not currently marked as required, so there '.
'is no need to complete it.',
$type));
}
} else {
$activity->delete();
echo tsprintf(
"%s\n",
pht(
'Marked activity "%s" as completed.',
$type));
}
}
echo tsprintf(
"%s\n",
pht('Done.'));View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/config/management/PhabricatorConfigManagementDoneWorkflow.php:48 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/267f61c4a8f2990d.
Report an issue: GitHub.