Page MenuHomePhabricator

Switch file uploader in "arc diff" to use ConduitEngine
ClosedPublic

Authored by epriestley on Mar 20 2020, 7:18 PM.
Tags
None
Referenced Files
F15464462: D21043.id50130.diff
Wed, Apr 2, 9:47 AM
F15462841: D21043.id50131.diff
Tue, Apr 1, 6:01 PM
F15462751: D21043.id.diff
Tue, Apr 1, 5:27 PM
F15459652: D21043.diff
Mon, Mar 31, 2:55 PM
F15445462: D21043.id50130.diff
Thu, Mar 27, 2:03 PM
F15403882: D21043.id50131.diff
Tue, Mar 18, 5:17 AM
F15336160: D21043.diff
Sat, Mar 8, 6:19 PM
Unknown Object (File)
Mar 3 2025, 9:55 AM
Subscribers
None

Details

Summary

Fixes T13498. Currently, arc diff may invoke the file upload flow using an older variation of the API. Both the modern and fallback clients build an Engine, so switching to the modern API is trivial.

Test Plan
  • Created a local commit with a 1MB binary file.
  • Ran arc diff --only.
  • Before patch: fatal on old API call.
  • After patch: clean upload.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 20 2020, 7:19 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.