phacility/phabricator · error · PhutilArgumentUsageException
Activity " " 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
State guard in bin/config done execute(): the named activity has no PhabricatorConfigManualActivity record, meaning it is not currently flagged as required, so completing it is a no-op and (without --force) the workflow reports the mismatch instead.
Solutions
- Verify the activity identifier spelling
- Re-run with --force if you want to acknowledge it anyway
Defensive patterns
Strategy: validation
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.
Appendix: 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)