Bug 201045

Summary: webkit-patch upload: Don't crash on large changes
Product: WebKit Reporter: James Darpinian <jdarpinian>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ap, bfulgham, dino, kkinnunen
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=198948
Attachments:
Description Flags
Patch
none
Patch
none
Patch jdarpinian: review?

James Darpinian
Reported 2019-08-22 11:22:36 PDT
webkit-patch upload: Make file status failure not fatal.
Attachments
Patch (1.40 KB, patch)
2019-08-22 11:22 PDT, James Darpinian
no flags
Patch (1.64 KB, patch)
2019-08-22 11:44 PDT, James Darpinian
no flags
Patch (9.14 KB, patch)
2019-08-22 16:23 PDT, James Darpinian
jdarpinian: review?
James Darpinian
Comment 1 2019-08-22 11:22:58 PDT
James Darpinian
Comment 2 2019-08-22 11:44:04 PDT
James Darpinian
Comment 3 2019-08-22 11:45:55 PDT
Hey Dean, I ran into this while updating ANGLE, which produces large patches. Can you take a look?
Alexey Proskuryakov
Comment 4 2019-08-22 13:48:04 PDT
Comment on attachment 377030 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=377030&action=review > Tools/ChangeLog:8 > + webkit-patch upload fails on large changes (~2000 files) because the prepare-ChangeLog step tries to > + execute a command line that is too long. This change allows webkit-patch upload to continue past > + the failure. Could you please elaborate on why it's acceptable to continue past this failure? Seems like we should make a decision for how many files we want to put into ChangeLog (too many is impractical), but that's a check that would be made at a different level in the code.
James Darpinian
Comment 5 2019-08-22 16:23:24 PDT
James Darpinian
Comment 6 2019-08-22 16:26:04 PDT
I updated the patch to fix the failure by splitting the command line, instead of ignoring the failure. PTAL
Kimmo Kinnunen
Comment 7 2022-08-10 23:57:50 PDT
The patch touches prepare-Changelog and its SVN parts. Changelogs are not used anymore. SVN is not used anymore. Currently it's hard to reproduce the solved issue since there's no test infra for prepare-ChangeLog and the patch doesn't add a test. Currently we haven't seen issues updating ANGLE. The prepare-ChangeLog might be still used and it might have the same issue if a git patch has too many files changed. However, since this patch hasn't received review in 3 years and we haven't seen the issues, maybe it's ok to re-solve this issue when it resurfaces.
Note You need to log in before you can comment on or make changes to this bug.