Fixes T7484. If the lock failed, we'd still try to unlock it, which is incorrect.
Details
Details
- Reviewers
btrahan - Maniphest Tasks
- T7484: Lock is not locked by this process
- Commits
- Restricted Diffusion Commit
rPe9886c4353df: Fix an issue where we would try to release an unheld lock
Ran two bin/repository update X in different windows, got proper LockException instead of indirect symptomatic "not locked by this process" exception.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- lock1
- Lint
Lint Passed Severity Location Code Message Advice src/applications/repository/management/PhabricatorRepositoryManagementUpdateWorkflow.php:74 XHP16 TODO Comment - Unit
No Test Coverage - Build Status
Buildable 5092 Build 5110: [Placeholder Plan] Wait for 30 Seconds