{"record":{"id":"5601c7e09013c30c","repo":"phacility/phabricator","slug":"user-aborted-the-workflow-5601c7","errorCode":null,"errorMessage":"User aborted the workflow.","messagePattern":"User aborted the workflow\\.","errorType":"console","errorClass":"PhutilArgumentUsageException","httpStatus":null,"severity":"error","filePath":"src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php","lineNumber":188,"sourceCode":"        'Promoting a device can cause the loss of any repository data which '.\n        'only exists on other devices. The version of the repository on the '.\n        'promoted device will become authoritative.');\n    } else {\n      $risk_message = pht(\n        'Demoting a device can cause the loss of any repository data which '.\n        'only exists on the demoted device. The version of the repository '.\n        'on some other device will become authoritative.');\n    }\n\n    echo tsprintf(\n      \"**<bg:red> %s </bg>** %s\\n\",\n      pht('DATA AT RISK'),\n      $risk_message);\n\n    $is_force = $args->getArg('force');\n    $prompt = pht('Accept the possibility of permanent data loss?');\n    if (!$is_force && !phutil_console_confirm($prompt)) {\n      throw new PhutilArgumentUsageException(\n        pht('User aborted the workflow.'));\n    }\n\n    foreach ($devices as $device) {\n      foreach ($repositories as $repository) {\n        $repository_phid = $repository->getPHID();\n\n        $write_lock = PhabricatorRepositoryWorkingCopyVersion::getWriteLock(\n          $repository_phid);\n\n        echo tsprintf(\n          \"%s\\n\",\n          pht(\n            'Waiting to acquire write lock for \"%s\"...',\n            $repository->getDisplayName()));\n\n        $write_lock->lock(phutil_units('5 minutes in seconds'));\n        try {","sourceCodeStart":170,"sourceCodeEnd":206,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php#L170-L206","documentation":"Error \"User aborted the workflow.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php:188 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"}