{"record":{"id":"43f72162e16dd402","repo":"phacility/phabricator","slug":"this-diff-s-is-associated-with-a-repository-43f721","errorCode":null,"errorMessage":"This diff (\"%s\") is associated with a repository (\"%s\") that does not have a Staging Area (\"%s\") that is hosted on GitHub. CircleCI can only build from GitHub, so the Staging Area for the repository must be hosted there.","messagePattern":"This diff \\(\"(.+?)\"\\) is associated with a repository \\(\"(.+?)\"\\) that does not have a Staging Area \\(\"(.+?)\"\\) that is hosted on GitHub\\. CircleCI can only build from GitHub, so the Staging Area for the repository must be hosted there\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/differential/storage/DifferentialDiff.php","lineNumber":613,"sourceCode":"          $diff_phid,\n          $repository_phid));\n    }\n\n    $staging_uri = $repository->getStagingURI();\n    if (!$staging_uri) {\n      throw new Exception(\n        pht(\n          'This diff (\"%s\") is associated with a repository (\"%s\") that '.\n          'does not have a Staging Area configured. You must configure a '.\n          'Staging Area to use CircleCI integration.',\n          $diff_phid,\n          $repository_phid));\n    }\n\n    $path = HarbormasterCircleCIBuildStepImplementation::getGitHubPath(\n      $staging_uri);\n    if (!$path) {\n      throw new Exception(\n        pht(\n          'This diff (\"%s\") is associated with a repository (\"%s\") that '.\n          'does not have a Staging Area (\"%s\") that is hosted on GitHub. '.\n          'CircleCI can only build from GitHub, so the Staging Area for '.\n          'the repository must be hosted there.',\n          $diff_phid,\n          $repository_phid,\n          $staging_uri));\n    }\n\n    return $staging_uri;\n  }\n\n  public function getCircleCIBuildIdentifierType() {\n    return 'tag';\n  }\n\n  public function getCircleCIBuildIdentifier() {","sourceCodeStart":595,"sourceCodeEnd":631,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/differential/storage/DifferentialDiff.php#L595-L631","documentation":"Error \"This diff (\"%s\") is associated with a repository (\"%s\") that does not have a Staging Area (\"%s\") that is hosted on GitHub. CircleCI can only build from GitHub, so the Staging Area for the repository must be hosted there.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/differential/storage/DifferentialDiff.php:613 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Point the repository's Staging Area at a GitHub-hosted repository, since CircleCI only builds from GitHub","Mirror or migrate the staging repository to GitHub if it currently lives on another host","Alternatively switch the build step from CircleCI to a build system that supports your staging host (e.g. Jenkins or Harbormaster-hosted builds)"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","contentChangedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}