dsanders11

#49552: ci: rework reapply patches

Merged
Created: Jan 28, 2026, 12:57:02 AM
Merged: Jan 29, 2026, 10:19:08 AM
8 comments
Target: main

Description of Change

#49516 didn't survive first contact, due to some flawed assumptions. gh run rerun will fail if the job/workflow is already running, and you can't cancel an individual job, only a full workflow. That means the previous approach of having apply-patches as a job inside the build.yml workflow isn't workable because there's no way to cancel and re-run just that job without canceling the whole workflow, and we want to avoid re-running the full build.

This PR reworks the approach to put apply-patches in a new workflow that runs against PRs that touch patches or DEPS, and updates rerun-apply-patches.yml to cancel the workflow if it's in-progress, wait for it to finish canceling, and then rerun the whole workflow.

Checklist

  • PR description included

Release Notes

Notes: none

Backports

39-x-y
Merged
PR Number
#49589
Merged At
Jan 30, 2026, 12:17:05 PM
Released In
Not yet
Release Date
Not yet
40-x-y
Merged
PR Number
#49582
Merged At
Jan 30, 2026, 12:21:02 PM
Released In
Not yet
Release Date
Not yet
41-x-y
Merged
PR Number
#49581
Merged At
Jan 30, 2026, 12:22:00 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron