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
F15336160: D21043.diff
Sat, Mar 8, 6:19 PM
Unknown Object (File)
Mon, Mar 3, 9:55 AM
Unknown Object (File)
Sun, Feb 9, 8:47 AM
Unknown Object (File)
Sun, Feb 9, 8:47 AM
Unknown Object (File)
Sun, Feb 9, 8:47 AM
Unknown Object (File)
Sun, Feb 9, 8:47 AM
Unknown Object (File)
Jan 29 2025, 11:26 AM
Unknown Object (File)
Jan 25 2025, 6:44 PM
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
Branch
upload1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23949
Build 32958: Run Core Tests
Build 32957: arc lint + arc unit

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.