Page MenuHomePhabricator

Apply the new patch byte size limit to mail patch generation in Differential
ClosedPublic

Authored by epriestley on May 10 2018, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 6:43 AM
Unknown Object (File)
Thu, Apr 25, 1:16 AM
Unknown Object (File)
Fri, Apr 19, 7:44 PM
Unknown Object (File)
Sat, Apr 13, 4:10 AM
Unknown Object (File)
Apr 1 2024, 3:09 AM
Unknown Object (File)
Mar 31 2024, 10:51 PM
Unknown Object (File)
Mar 31 2024, 4:43 PM
Unknown Object (File)
Mar 27 2024, 11:43 AM
Subscribers
None

Details

Summary

Ref T13137. See PHI592. Depends on D19444. Apply a limit up front to stop patches which are way too big (e.g., 600MB of videos) from generating in the first place.

Test Plan
  • Configured inline patches in git format.
  • Created a normal revision, got an inline git patch.
  • Created a revision with a 10MB video file, got no inline patch.
  • (Added a bunch of debugging stuff to make sure the internal pathway was working.)

Diff Detail

Repository
rP Phabricator
Branch
large2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 20318
Build 27589: Run Core Tests
Build 27588: arc lint + arc unit