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
F18783947: D21043.id50130.diff
Mon, Oct 13, 11:03 AM
F18783946: D21043.id50131.diff
Mon, Oct 13, 11:03 AM
F18783670: D21043.diff
Mon, Oct 13, 8:45 AM
F18771061: D21043.diff
Wed, Oct 8, 5:12 PM
F18734176: D21043.id.diff
Tue, Sep 30, 10:49 PM
F18597071: D21043.diff
Sep 13 2025, 2:04 AM
F18596987: D21043.diff
Sep 13 2025, 1:56 AM
F18596969: D21043.diff
Sep 13 2025, 1:53 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.