{"record":{"id":"0adf300b94f2693c","repo":"phacility/phabricator","slug":"trigger-ruleset-is-corrupt-rule-type-s-is-unkn","errorCode":null,"errorMessage":"Trigger ruleset is corrupt: rule type \"%s\" is unknown.","messagePattern":"Trigger ruleset is corrupt: rule type \"(.+?)\" is unknown\\.","errorType":"exception","errorClass":"PhabricatorProjectTriggerCorruptionException","httpStatus":null,"severity":"error","filePath":"src/applications/project/storage/PhabricatorProjectTrigger.php","lineNumber":171,"sourceCode":"            'type' => 'string',\n            'value' => 'wild',\n          ));\n      } catch (PhutilTypeCheckException $ex) {\n        throw new PhabricatorProjectTriggerCorruptionException(\n          pht(\n            'Trigger ruleset is corrupt: rule (at index \"%s\") is not a '.\n            'valid rule specification: %s',\n            $key,\n            $ex->getMessage()));\n      }\n\n      $record = id(new PhabricatorProjectTriggerRuleRecord())\n        ->setType(idx($rule, 'type'))\n        ->setValue(idx($rule, 'value'));\n\n      if (!isset($rule_map[$record->getType()])) {\n        if (!$allow_invalid) {\n          throw new PhabricatorProjectTriggerCorruptionException(\n            pht(\n              'Trigger ruleset is corrupt: rule type \"%s\" is unknown.',\n              $record->getType()));\n        }\n\n        $rule = new PhabricatorProjectTriggerUnknownRule();\n      } else {\n        $rule = clone $rule_map[$record->getType()];\n      }\n\n      try {\n        $rule->setRecord($record);\n      } catch (Exception $ex) {\n        if (!$allow_invalid) {\n          throw new PhabricatorProjectTriggerCorruptionException(\n            pht(\n              'Trigger ruleset is corrupt, rule (of type \"%s\") does not '.\n              'validate: %s',","sourceCodeStart":153,"sourceCodeEnd":189,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/project/storage/PhabricatorProjectTrigger.php#L153-L189","documentation":"Error \"Trigger ruleset is corrupt: rule type \"%s\" is unknown.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/project/storage/PhabricatorProjectTrigger.php:171 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}