Title: [293381] trunk/Tools
Revision
293381
Author
[email protected]
Date
2022-04-25 17:21:34 -0700 (Mon, 25 Apr 2022)

Log Message

GitHub EWS is confused with prior PR's merge-blocked label
https://bugs.webkit.org/show_bug.cgi?id=239411
<rdar://problem/92196846>

Reviewed by Aakash Jain.

* Tools/CISupport/ews-build/steps.py:
(BlockPullRequest.start): Only apply blocked label if tested hash and current hash match.

Canonical link: https://commits.webkit.org/249971@main

Modified Paths

Diff

Modified: trunk/Tools/CISupport/ews-build/steps.py (293380 => 293381)


--- trunk/Tools/CISupport/ews-build/steps.py	2022-04-26 00:16:10 UTC (rev 293380)
+++ trunk/Tools/CISupport/ews-build/steps.py	2022-04-26 00:21:34 UTC (rev 293381)
@@ -1671,7 +1671,10 @@
         build_finish_summary = self.getProperty('build_finish_summary', None)
 
         rc = SKIPPED
-        if CURRENT_HOSTNAME == EWS_BUILD_HOSTNAME:
+        repository_url = self.getProperty('repository', '')
+        pr_json = self.get_pr_json(pr_number, repository_url)
+
+        if self._is_hash_outdated(pr_json) == 0 and CURRENT_HOSTNAME == EWS_BUILD_HOSTNAME:
             repository_url = self.getProperty('repository', '')
             rc = SUCCESS
             if any((

Modified: trunk/Tools/ChangeLog (293380 => 293381)


--- trunk/Tools/ChangeLog	2022-04-26 00:16:10 UTC (rev 293380)
+++ trunk/Tools/ChangeLog	2022-04-26 00:21:34 UTC (rev 293381)
@@ -1,5 +1,16 @@
 2022-04-25  Jonathan Bedard  <[email protected]>
 
+        GitHub EWS is confused with prior PR's merge-blocked label
+        https://bugs.webkit.org/show_bug.cgi?id=239411
+        <rdar://problem/92196846>
+
+        Reviewed by Aakash Jain.
+
+        * CISupport/ews-build/steps.py:
+        (BlockPullRequest.start): Only apply blocked label if tested hash and current hash match.
+
+2022-04-25  Jonathan Bedard  <[email protected]>
+
         [build.webkit.org] Use GitHub checkouts (Follow-up)
         https://bugs.webkit.org/show_bug.cgi?id=239072
         <rdar://problem/91567092>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to