RESOLVED FIXED 240461
[Commit-Queue] Forbid ChangeLog modification
https://bugs.webkit.org/show_bug.cgi?id=240461
Summary [Commit-Queue] Forbid ChangeLog modification
Jonathan Bedard
Reported 2022-05-16 09:46:05 PDT
Commit-Queue should only allow commit messages and forbid ChangeLog modification.
Attachments
Patch (7.41 KB, patch)
2022-05-16 09:51 PDT, Jonathan Bedard
no flags
Patch (15.17 KB, patch)
2022-05-16 12:42 PDT, Jonathan Bedard
no flags
Patch (29.08 KB, patch)
2022-05-17 06:57 PDT, Jonathan Bedard
no flags
Patch (30.43 KB, patch)
2022-05-17 07:42 PDT, Jonathan Bedard
no flags
[fast-cq] Patch (33.72 KB, patch)
2022-05-17 08:37 PDT, Jonathan Bedard
no flags
[fast-cq] Patch (31.74 KB, patch)
2022-05-17 09:18 PDT, Jonathan Bedard
no flags
[fast-cq] Patch (31.77 KB, patch)
2022-05-17 09:49 PDT, Jonathan Bedard
no flags
Patch (2.81 KB, patch)
2022-05-17 11:01 PDT, Jonathan Bedard
no flags
Radar WebKit Bug Importer
Comment 1 2022-05-16 09:46:18 PDT
Jonathan Bedard
Comment 2 2022-05-16 09:51:29 PDT
EWS
Comment 3 2022-05-16 10:39:09 PDT
Unable to find any modified ChangeLog in Attachment 459431 [details]
EWS
Comment 4 2022-05-16 11:05:55 PDT
Unable to find any modified ChangeLog in Attachment 459431 [details]
EWS
Comment 5 2022-05-16 11:14:24 PDT
Unable to find any modified ChangeLog in Attachment 459431 [details]
EWS
Comment 6 2022-05-16 12:03:28 PDT
Unable to find any modified ChangeLog in Attachment 459431 [details]
EWS
Comment 7 2022-05-16 12:08:02 PDT
Unable to find any modified ChangeLog in Attachment 459431 [details]
EWS
Comment 8 2022-05-16 12:11:14 PDT
Unable to find any modified ChangeLog in Attachment 459431 [details]
Jonathan Bedard
Comment 9 2022-05-16 12:42:44 PDT
Aakash Jain
Comment 10 2022-05-16 16:33:58 PDT
Comment on attachment 459449 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459449&action=review > Tools/CISupport/ews-build/config.json:338 > + "workernames": ["webkit-cq-01", "webkit-cq-02", "webkit-cq-03", "ews151"] seems like this is for debugging > Tools/CISupport/ews-build/factories.py:309 > + self.addStep(ShowCommitMessage()) why do we need ShowCommitMessage? > Tools/CISupport/ews-build/steps.py:882 > + if not patch: Should remove this fallback. If the patch is not found, there is something seriously wrong, we shouldn't automatically try to fix that. Better to explicitly fail. > Tools/CISupport/ews-build/steps.py:893 > + def hideStepIf(self, results, step): Nit: should move this next to showStepIf > Tools/CISupport/ews-build/steps.py:898 > + return {'step': "Skipping creating commitsince patch_id isn't provided"} Better not to have custom skipped message, it wouldn't be displayed anyways based on hideStepIf > Tools/CISupport/ews-build/steps.py:900 > + return {'step': 'git am failed to apply patch to trunk'} Nit: "git am" => "git", am is technial details, better to tell user high-level and easy to understand thing.
Aakash Jain
Comment 11 2022-05-17 04:54:19 PDT
rs=me with these changes and unit-test fixed.
Jonathan Bedard
Comment 12 2022-05-17 06:57:27 PDT
EWS
Comment 13 2022-05-17 07:03:58 PDT
Unable to find any modified ChangeLog in Attachment 459495 [details]
EWS
Comment 14 2022-05-17 07:07:12 PDT
Unable to find any modified ChangeLog in Attachment 459495 [details]
Jonathan Bedard
Comment 15 2022-05-17 07:08:16 PDT
https://ews-build.webkit-uat.org/#/builders/26/builds/2095 shows that we are adding the author to the commit message correctly
Jonathan Bedard
Comment 16 2022-05-17 07:42:52 PDT
Aakash Jain
Comment 17 2022-05-17 08:32:33 PDT
rs=me
Jonathan Bedard
Comment 18 2022-05-17 08:37:13 PDT
Created attachment 459500 [details] [fast-cq] Patch
Jonathan Bedard
Comment 19 2022-05-17 09:18:07 PDT
Created attachment 459503 [details] [fast-cq] Patch
Jonathan Bedard
Comment 20 2022-05-17 09:49:35 PDT
Created attachment 459505 [details] [fast-cq] Patch
EWS
Comment 21 2022-05-17 10:36:36 PDT
Committed r294327 (250647@main): <https://commits.webkit.org/250647@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459505 [details].
Jonathan Bedard
Comment 22 2022-05-17 11:01:21 PDT
Reopening to attach new patch.
Jonathan Bedard
Comment 23 2022-05-17 11:01:22 PDT
EWS
Comment 24 2022-05-17 13:12:01 PDT
Committed r294336 (250655@main): <https://commits.webkit.org/250655@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459508 [details].
Jonathan Bedard
Comment 25 2022-05-18 10:08:50 PDT
Re-opening for pull request https://github.com/WebKit/WebKit/pull/732
Jonathan Bedard
Comment 26 2022-05-18 10:17:41 PDT
EWS
Comment 27 2022-05-18 10:27:16 PDT
Committed r294403 (250697@main): <https://commits.webkit.org/250697@main> Reviewed commits have been landed. Closing PR #732 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.