Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6555a8fff78c4e1b3d20a22d42260cd15b571bcf
      
https://github.com/WebKit/WebKit/commit/6555a8fff78c4e1b3d20a22d42260cd15b571bcf
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M Tools/CISupport/ews-build/steps.py
    M Tools/CISupport/ews-build/steps_unittest.py

  Log Message:
  -----------
  [EWS] Support safe-merge-queue for webkitglib stable branches
https://bugs.webkit.org/show_bug.cgi?id=318877

Reviewed by Ryan Haddad.

Make safe-merge-queue usable on the webkitglib/x.yy stable branches. This
is two-fold:

1) For these branches safe-merge-queue should only require a subset of
   Linux-related bots to be green. The Mac, iOS and Windows bots are
   irrelevant here and are skipped.

2) merge-queue does not work with the stable webkitglib branches: it
   builds for Mac, and these branches are not meant to be built on Mac,
   so they would likely fail to build. For webkitglib branches
   safe-merge-queue should therefore flip the PR to unsafe-merge-queue
   instead of merge-queue.

To do this, propagate the PR base branch through the safe-merge-queue
flow by fetching baseRefName in the GraphQL query and storing it as
github.base.ref in DetermineLabelOwner. When the target branch is a
webkitglib/x.yy stable branch, check only the Linux queues (GTK, WPE,
and JSC ARMv7), and once the PR passes, label it unsafe-merge-queue
rather than merge-queue.

* Tools/CISupport/ews-build/steps.py:
(DetermineLabelOwner.run):
(RemoveAndAddLabels.run):
(RetrievePRDataFromLabel.run):
(RetrievePRDataFromLabel.getAllPRData):
(CheckStatusOfPR):
(CheckStatusOfPR.getQueueStatusFromList):
(AddMergeLabelsToPRs.run):
* Tools/CISupport/ews-build/steps_unittest.py:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to