Page MenuHomePhabricator

Catch more HTTP VCS errors and convert them into VCS repsonses
ClosedPublic

Authored by epriestley on Jan 27 2021, 12:03 AM.
Tags
None
Referenced Files
F19005986: D21525.id.diff
Fri, Nov 21, 5:03 PM
F18997728: D21525.diff
Thu, Nov 20, 3:05 PM
F18866570: D21525.diff
Mon, Nov 3, 5:54 PM
F18841914: D21525.diff
Oct 28 2025, 12:12 PM
F18829654: D21525.diff
Oct 24 2025, 11:35 PM
F18819230: D21525.id51232.diff
Oct 22 2025, 5:08 AM
F18643104: D21525.id.diff
Sep 19 2025, 1:31 AM
F18634990: D21525.id51234.diff
Sep 16 2025, 11:58 PM
Subscribers
None

Details

Summary

Ref T13590. Currently, errors arising from cluster locking (like the "stuck write lock" exception) are not caught and converted into VCS responses on the HTTP VCS workflow.

Catch a broader range of exceptions and convert them into appropriate responses.

Test Plan
  • Forced a "stuck write lock" exception, pushed to a Git repository over HTTP.
  • Before: generic fatal.
  • After: VCS-specific fatal with a useful message in the "X-Phabricator-Message" response header.

Diff Detail

Repository
rP Phabricator
Branch
http3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25045
Build 34557: Run Core Tests
Build 34556: arc lint + arc unit