phacility/phabricator · error · Exception
You can not bucket results by required action without…
Error message
You can not bucket results by required action without specifying "Responsible Users".
What it means
Parameter guard in DifferentialRevisionRequiredActionResultBucket::buildResultGroups: the 'Bucket by Required Action' result bucket classifies revisions by what action each responsible user must take, so the saved query must include a non-empty 'Responsible Users' (responsiblePHIDs) parameter. When getEvaluatedParameter('responsiblePHIDs') returns nothing, the bucket has no users to compute required actions for and refuses to build groups.
Solutions
- Add one or more users to the 'Responsible Users' field of the saved query before bucketing by required action
- If using a dashboard panel or saved query, edit the query definition to include responsiblePHIDs
- Choose a different result bucket (e.g. bucket by status or priority) if per-user action classification is not needed
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/differential/query/DifferentialRevisionRequiredActionResultBucket.php:25 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/13cddf80865c5fa9.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/differential/query/DifferentialRevisionRequiredActionResultBucket.php:25
const KEY_MUSTREVIEW = 'must-review';
const KEY_SHOULDREVIEW = 'should-review';
private $objects;
public function getResultBucketName() {
return pht('Bucket by Required Action');
}
protected function buildResultGroups(
PhabricatorSavedQuery $query,
array $objects) {
$this->objects = $objects;
$phids = $query->getEvaluatedParameter('responsiblePHIDs');
if (!$phids) {
throw new Exception(
pht(
'You can not bucket results by required action without '.
'specifying "Responsible Users".'));
}
$phids = array_fuse($phids);
// Before continuing, throw away any revisions which responsible users
// have explicitly resigned from.
// The goal is to allow users to resign from revisions they don't want to
// review to get these revisions off their dashboard, even if there are
// other project or package reviewers which they have authority over.
$this->filterResigned($phids);
// We also throw away draft revisions which you aren't the author of.
$this->filterOtherDrafts($phids);
$groups = array();View on GitHub (pinned to 5720a38cfe)