phacility/phabricator · error · PhutilArgumentUsageException
There are no repositories on the selected device or service.
Error message
There are no repositories on the selected device or service.
What it means
Usage guard in the repository 'thaw' CLI workflow: fires when repositories were restricted to a device/service (--device or similar) but the Almanac service query found no repositories bound to that device's services. There is nothing to thaw on the selected infrastructure, so the run aborts.
Solutions
- Check that the device's Almanac service bindings are correct and active.
- Target repositories by name instead of by device.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php:149 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/e3053b66c4d9e661.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php:149
throw new PhutilArgumentUsageException(
pht('Specify one or more repositories to thaw.'));
}
} else {
$repositories = array();
$services = id(new AlmanacServiceQuery())
->setViewer($viewer)
->withDevicePHIDs(mpull($devices, 'getPHID'))
->execute();
if ($services) {
$repositories = id(new PhabricatorRepositoryQuery())
->setViewer($viewer)
->withAlmanacServicePHIDs(mpull($services, 'getPHID'))
->execute();
}
if (!$repositories) {
throw new PhutilArgumentUsageException(
pht('There are no repositories on the selected device or service.'));
}
}
$display_list = new PhutilConsoleList();
foreach ($repositories as $repository) {
$display_list->addItem(
pht(
'%s %s',
$repository->getMonogram(),
$repository->getName()));
}
echo tsprintf(
"%s\n\n%B\n",
pht('These repositories will be thawed:'),
$display_list->drawConsoleString());
View on GitHub (pinned to 5720a38cfe)