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, Feb 21, 2:56 AM
Unknown Object (File)
Fri, Feb 21, 2:56 AM
Unknown Object (File)
Fri, Feb 21, 2:56 AM
Unknown Object (File)
Fri, Feb 21, 2:56 AM
Unknown Object (File)
Sun, Feb 9, 6:04 AM
Unknown Object (File)
Sun, Feb 9, 6:04 AM
Unknown Object (File)
Sun, Feb 9, 6:04 AM
Unknown Object (File)
Sun, Feb 9, 6:04 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