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
Unknown Object (File)
Jun 26 2026, 11:15 AM
Unknown Object (File)
Jun 25 2026, 7:39 AM
Unknown Object (File)
Jun 22 2026, 11:25 PM
Unknown Object (File)
Jun 19 2026, 11:47 PM
Unknown Object (File)
Jun 19 2026, 9:35 PM
Unknown Object (File)
Apr 1 2026, 5:47 PM
Unknown Object (File)
Apr 1 2026, 5:47 PM
Unknown Object (File)
Feb 27 2026, 8:20 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable