phacility/phabricator · error · Exception

You can not bucket results by required action without specif

Error message

You can not bucket results by required action without specifying "Responsible Users".

What it means

Error "You can not bucket results by required action without specifying "Responsible Users"." thrown in phacility/phabricator.

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)

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.