Repository navigation
ci: label user-prefixed backport branches too - #15105
Conversation
`pr-label-backport.yaml` exists to catch backports "whoever opened it", but `isBackportBranchForBase` only matched the exact branch `pr-backport.yaml` generates. The manual backports it is meant to backfill do not look like that: a human finishing a conflicted cherry-pick ends up with `<user>/backport-<pr>-to-<target>`, which is what `gh` and most local conventions produce. #15102 and #15103 are this week's worked example - opened by hand after the workflow's cherry-pick failed, and labelled by hand because this returned false for them. An unlabelled backport is invisible to `backport-auto-merge.yaml` and `pr-assign-release-sheriff.yaml`, both of which sweep on the label, so it sits open until someone notices. That is the exact failure #14018-#14021 are cited for in the workflow header. Only the prefix widens. The `\d+-to-` core and the existing base check still decide what counts, so `glary/backport-resilient-partial-failure` and `deepme987/infra/backport-assign-author` - real branches here, about backporting rather than backports - stay rejected, and a prefixed branch whose encoded target disagrees with its base is still refused.
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 22 seconds Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Comment |
🎭 Playwright: ✅ 1802 passed, 0 failed · 3 flaky📊 Browser Reports
📦 Bundle: 8.71 MB gzip ⚪ 0 BDetailsSummary
Category Glance App Entry Points — 3.67 kB (baseline 3.67 kB) • ⚪ 0 BMain entry bundles and manifests Status: 1 unchanged Graph Workspace — 1.36 MB (baseline 1.36 MB) • ⚪ 0 BGraph editor runtime, canvas, workflow orchestration Status: 3 unchanged Views & Navigation — 124 kB (baseline 124 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces Status: 17 unchanged Panels & Settings — 565 kB (baseline 565 kB) • ⚪ 0 BConfiguration panels, inspectors, and settings screens Status: 26 unchanged User & Accounts — 27 kB (baseline 27 kB) • ⚪ 0 BAuthentication, profile, and account management bundles Status: 10 unchanged Editors & Dialogs — 125 kB (baseline 125 kB) • ⚪ 0 BModals, dialogs, drawers, and in-app editors Status: 8 unchanged UI Components — 67.1 kB (baseline 67.1 kB) • ⚪ 0 BReusable component library chunks Status: 14 unchanged Data & Services — 3.5 MB (baseline 3.5 MB) • ⚪ 0 BStores, services, APIs, and repositories Status: 17 unchanged Utilities & Hooks — 550 kB (baseline 550 kB) • ⚪ 0 BHelpers, composables, and utility bundles Status: 38 unchanged Vendor & Third-Party — 16.3 MB (baseline 16.3 MB) • ⚪ 0 BExternal libraries and shared vendor chunks Status: 17 unchanged Other — 14.1 MB (baseline 14.1 MB) • ⚪ 0 BBundles that do not match a named category Status: 285 unchanged ⚡ Performance Report
✅ No regressions detected. All metrics
Historical variance (last 15 runs)
Trend (last 15 commits on main)
Raw data{
"timestamp": "2026-08-12T01:30:24.926Z",
"gitSha": "0720750a36ebbf3bddf99b581898ce30c3b3a237",
"branch": "fix/backport-label-user-prefixed-branches",
"measurements": [
{
"name": "canvas-idle",
"durationMs": 2036.040000000014,
"styleRecalcs": 10,
"styleRecalcDurationMs": 5.2940000000000005,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 395.978,
"heapDeltaBytes": -18052672,
"heapUsedBytes": 46345732,
"domNodes": -280,
"jsHeapTotalBytes": 22781952,
"scriptDurationMs": 12.927999999999995,
"eventListeners": -151,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-idle",
"durationMs": 1993.7069999999721,
"styleRecalcs": 10,
"styleRecalcDurationMs": 5.307000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 335.337,
"heapDeltaBytes": 5901504,
"heapUsedBytes": 70270616,
"domNodes": 20,
"jsHeapTotalBytes": 24117248,
"scriptDurationMs": 11.964,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.699999999999818
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1783.6829999999964,
"styleRecalcs": 71,
"styleRecalcDurationMs": 28.686999999999998,
"layouts": 12,
"layoutDurationMs": 2.9929999999999994,
"taskDurationMs": 701.135,
"heapDeltaBytes": -11291804,
"heapUsedBytes": 53012568,
"domNodes": -278,
"jsHeapTotalBytes": 23568384,
"scriptDurationMs": 84.53,
"eventListeners": -151,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1718.3599999999615,
"styleRecalcs": 73,
"styleRecalcDurationMs": 21.554000000000002,
"layouts": 12,
"layoutDurationMs": 2.44,
"taskDurationMs": 544.5210000000001,
"heapDeltaBytes": 127072,
"heapUsedBytes": 64547016,
"domNodes": 58,
"jsHeapTotalBytes": 25165824,
"scriptDurationMs": 68.207,
"eventListeners": 4,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333335,
"p95FrameDurationMs": 16.699999999999818
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1681.0409999999933,
"styleRecalcs": 30,
"styleRecalcDurationMs": 11.405999999999999,
"layouts": 6,
"layoutDurationMs": 0.656,
"taskDurationMs": 267.05899999999997,
"heapDeltaBytes": 8228828,
"heapUsedBytes": 72614684,
"domNodes": 79,
"jsHeapTotalBytes": 25165824,
"scriptDurationMs": 13.861,
"eventListeners": 19,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333332,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1725.7149999999228,
"styleRecalcs": 31,
"styleRecalcDurationMs": 11.777000000000001,
"layouts": 6,
"layoutDurationMs": 0.56,
"taskDurationMs": 265.53800000000007,
"heapDeltaBytes": 8549392,
"heapUsedBytes": 72868068,
"domNodes": 77,
"jsHeapTotalBytes": 24641536,
"scriptDurationMs": 13.234000000000002,
"eventListeners": 19,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-clipping",
"durationMs": 445.1429999999732,
"styleRecalcs": 13,
"styleRecalcDurationMs": 5.855999999999998,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 271.883,
"heapDeltaBytes": -11660968,
"heapUsedBytes": 52913208,
"domNodes": 22,
"jsHeapTotalBytes": 25427968,
"scriptDurationMs": 36.51500000000001,
"eventListeners": 2,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333332,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "dom-widget-clipping",
"durationMs": 396.41900000003716,
"styleRecalcs": 12,
"styleRecalcDurationMs": 5.1129999999999995,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 246.89399999999998,
"heapDeltaBytes": -11528132,
"heapUsedBytes": 52970404,
"domNodes": 20,
"jsHeapTotalBytes": 24903680,
"scriptDurationMs": 33.742000000000004,
"eventListeners": 2,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "large-graph-idle",
"durationMs": 2008.9380000000006,
"styleRecalcs": 11,
"styleRecalcDurationMs": 6.016000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 491.06100000000004,
"heapDeltaBytes": 4487820,
"heapUsedBytes": 66515972,
"domNodes": -281,
"jsHeapTotalBytes": 2723840,
"scriptDurationMs": 60.976,
"eventListeners": -177,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66999999999998,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-idle",
"durationMs": 2009.3259999999873,
"styleRecalcs": 10,
"styleRecalcDurationMs": 5.432999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 466.36699999999996,
"heapDeltaBytes": 5189588,
"heapUsedBytes": 65162736,
"domNodes": -280,
"jsHeapTotalBytes": 2985984,
"scriptDurationMs": 57.13700000000001,
"eventListeners": -177,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-pan",
"durationMs": 2081.0030000000097,
"styleRecalcs": 70,
"styleRecalcDurationMs": 12.281,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 887.938,
"heapDeltaBytes": 1981276,
"heapUsedBytes": 64481116,
"domNodes": -280,
"jsHeapTotalBytes": 5013504,
"scriptDurationMs": 273.294,
"eventListeners": -147,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.699999999999818
},
{
"name": "large-graph-pan",
"durationMs": 2068.7560000000076,
"styleRecalcs": 68,
"styleRecalcDurationMs": 10.33,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 850.314,
"heapDeltaBytes": 591480,
"heapUsedBytes": 60874256,
"domNodes": -282,
"jsHeapTotalBytes": 4751360,
"scriptDurationMs": 257.959,
"eventListeners": -149,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333335,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-zoom",
"durationMs": 3068.2180000000017,
"styleRecalcs": 66,
"styleRecalcDurationMs": 14.405999999999999,
"layouts": 60,
"layoutDurationMs": 7.576,
"taskDurationMs": 1052.293,
"heapDeltaBytes": 22819736,
"heapUsedBytes": 85395712,
"domNodes": 16,
"jsHeapTotalBytes": 8126464,
"scriptDurationMs": 329.064,
"eventListeners": 8,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-zoom",
"durationMs": 3069.930999999997,
"styleRecalcs": 67,
"styleRecalcDurationMs": 12.254,
"layouts": 60,
"layoutDurationMs": 6.024,
"taskDurationMs": 967.7920000000001,
"heapDeltaBytes": 22951664,
"heapUsedBytes": 85353428,
"domNodes": 18,
"jsHeapTotalBytes": 7864320,
"scriptDurationMs": 306.21099999999996,
"eventListeners": 8,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "minimap-idle",
"durationMs": 1999.9290000000087,
"styleRecalcs": 9,
"styleRecalcDurationMs": 4.596000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 470.708,
"heapDeltaBytes": 6695012,
"heapUsedBytes": 67802712,
"domNodes": -283,
"jsHeapTotalBytes": 4296704,
"scriptDurationMs": 58.294,
"eventListeners": -179,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.670000000000012,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2039.0859999999975,
"styleRecalcs": 11,
"styleRecalcDurationMs": 5.665,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 483.79299999999995,
"heapDeltaBytes": 8067344,
"heapUsedBytes": 70910312,
"domNodes": -279,
"jsHeapTotalBytes": 3772416,
"scriptDurationMs": 57.055,
"eventListeners": -147,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333332,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 466.46700000002284,
"styleRecalcs": 48,
"styleRecalcDurationMs": 7.269999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 278.569,
"heapDeltaBytes": -11104240,
"heapUsedBytes": 53451952,
"domNodes": 22,
"jsHeapTotalBytes": 26214400,
"scriptDurationMs": 76.197,
"eventListeners": 8,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 391.9260000000122,
"styleRecalcs": 48,
"styleRecalcDurationMs": 6.8500000000000005,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 255.75099999999995,
"heapDeltaBytes": -11202352,
"heapUsedBytes": 53626100,
"domNodes": 22,
"jsHeapTotalBytes": 26214400,
"scriptDurationMs": 69.283,
"eventListeners": 8,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "subgraph-idle",
"durationMs": 2004.4090000000097,
"styleRecalcs": 12,
"styleRecalcDurationMs": 6.649,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 336.72599999999994,
"heapDeltaBytes": 5868764,
"heapUsedBytes": 70406084,
"domNodes": 24,
"jsHeapTotalBytes": 24379392,
"scriptDurationMs": 10.235999999999999,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333332,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 1990.8720000000812,
"styleRecalcs": 11,
"styleRecalcDurationMs": 5.216,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 312.299,
"heapDeltaBytes": 5906584,
"heapUsedBytes": 70463208,
"domNodes": 22,
"jsHeapTotalBytes": 24379392,
"scriptDurationMs": 9.410000000000002,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333335,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1685.5639999999994,
"styleRecalcs": 76,
"styleRecalcDurationMs": 26.486,
"layouts": 16,
"layoutDurationMs": 2.773,
"taskDurationMs": 558.295,
"heapDeltaBytes": -3863904,
"heapUsedBytes": 60709244,
"domNodes": 65,
"jsHeapTotalBytes": 24641536,
"scriptDurationMs": 60.94200000000001,
"eventListeners": 4,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333335,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1672.8840000000673,
"styleRecalcs": 76,
"styleRecalcDurationMs": 20.678,
"layouts": 16,
"layoutDurationMs": 2.5919999999999996,
"taskDurationMs": 499.44700000000006,
"heapDeltaBytes": -3816064,
"heapUsedBytes": 60694824,
"domNodes": 64,
"jsHeapTotalBytes": 25165824,
"scriptDurationMs": 51.769999999999996,
"eventListeners": 4,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-transition-enter",
"durationMs": 832.806000000005,
"styleRecalcs": 18,
"styleRecalcDurationMs": 20.189999999999994,
"layouts": 14,
"layoutDurationMs": 7.1739999999999995,
"taskDurationMs": 589.5560000000002,
"heapDeltaBytes": 30539276,
"heapUsedBytes": 98786316,
"domNodes": 13673,
"jsHeapTotalBytes": 16515072,
"scriptDurationMs": 17.361999999999995,
"eventListeners": 2373,
"totalBlockingTimeMs": 77,
"frameDurationMs": 16.66333333333335,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "viewport-pan-sweep",
"durationMs": 8089.337999999998,
"styleRecalcs": 249,
"styleRecalcDurationMs": 35.496,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 3147.431,
"heapDeltaBytes": 2467700,
"heapUsedBytes": 64498404,
"domNodes": -281,
"jsHeapTotalBytes": 6848512,
"scriptDurationMs": 921.02,
"eventListeners": -163,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "viewport-pan-sweep",
"durationMs": 8089.256999999975,
"styleRecalcs": 249,
"styleRecalcDurationMs": 28.940999999999995,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 2986.4860000000003,
"heapDeltaBytes": 3322876,
"heapUsedBytes": 65461424,
"domNodes": -279,
"jsHeapTotalBytes": 7634944,
"scriptDurationMs": 872.506,
"eventListeners": -163,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "vue-large-graph-idle",
"durationMs": 10489.066999999977,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 10461.850999999999,
"heapDeltaBytes": -34283252,
"heapUsedBytes": 172869748,
"domNodes": -8312,
"jsHeapTotalBytes": -4395008,
"scriptDurationMs": 364.218,
"eventListeners": -16391,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66666666666673,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "vue-large-graph-idle",
"durationMs": 10517.435000000092,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 10495.542000000001,
"heapDeltaBytes": -53102764,
"heapUsedBytes": 173703708,
"domNodes": -8312,
"jsHeapTotalBytes": -3612672,
"scriptDurationMs": 355.159,
"eventListeners": -16391,
"totalBlockingTimeMs": 0,
"frameDurationMs": 17.223333333333297,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "vue-large-graph-pan",
"durationMs": 14149.224000000004,
"styleRecalcs": 68,
"styleRecalcDurationMs": 14.783999999999992,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 14120.169,
"heapDeltaBytes": -41473168,
"heapUsedBytes": 164476460,
"domNodes": -8312,
"jsHeapTotalBytes": -11997184,
"scriptDurationMs": 721.0790000000001,
"eventListeners": -16387,
"totalBlockingTimeMs": 0,
"frameDurationMs": 17.219999999999953,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "vue-large-graph-pan",
"durationMs": 12954.443999999967,
"styleRecalcs": 67,
"styleRecalcDurationMs": 14.336000000000016,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 12872.913999999999,
"heapDeltaBytes": -30434720,
"heapUsedBytes": 175229228,
"domNodes": -8312,
"jsHeapTotalBytes": -9445376,
"scriptDurationMs": 627.512,
"eventListeners": -16389,
"totalBlockingTimeMs": 31,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "workflow-execution",
"durationMs": 457.7529999999115,
"styleRecalcs": 19,
"styleRecalcDurationMs": 19.733,
"layouts": 3,
"layoutDurationMs": 1.0040000000000002,
"taskDurationMs": 96.253,
"heapDeltaBytes": 5205816,
"heapUsedBytes": 68659876,
"domNodes": 152,
"jsHeapTotalBytes": 4980736,
"scriptDurationMs": 6.919000000000001,
"eventListeners": 99,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.669999999999998,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "workflow-execution",
"durationMs": 431.5040000000181,
"styleRecalcs": 15,
"styleRecalcDurationMs": 15.558999999999997,
"layouts": 3,
"layoutDurationMs": 1.0340000000000003,
"taskDurationMs": 82.67600000000002,
"heapDeltaBytes": 5055072,
"heapUsedBytes": 68523548,
"domNodes": 125,
"jsHeapTotalBytes": 4980736,
"scriptDurationMs": 6.387,
"eventListeners": 99,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999727
}
]
} |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #15105 +/- ##
========================================
Coverage 81.29% 81.29%
========================================
Files 1874 1874
Lines 107334 107334
Branches 33652 33186 -466
========================================
Hits 87262 87262
+ Misses 19695 19685 -10
- Partials 377 387 +10
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
The workflow does not catch the branches it exists for
pr-label-backport.yaml's header states its purpose plainly — "Guarantees thatevery backport PR carries the
backportlabel, whoever opened it" — andexplains that manual backports are the case that matters, because
pr-backport.yamlonly labels the PRs it creates itself, and hands off to ahuman when the cherry-pick conflicts.
But
isBackportBranchForBasematched only the exact branch the workflowgenerates:
A human finishing a conflicted cherry-pick does not produce that. They produce
<user>/backport-<pr>-to-<target>— whatghand most local branchconventions give you.
This week's worked example
#15102 and #15103 (
jaeone94/backport-14984-to-core-1.49and…-cloud-1.49) were opened by hand afterpr-backport.yamlfailed on#14984's cherry-pick, and carry the
backportlabel only because someoneapplied it manually.
That matters because an unlabelled backport is invisible to
backport-auto-merge.yamlandpr-assign-release-sheriff.yaml— both sweepgh pr list --label backport— so it sits open until somebody notices. Whichis exactly what #14018–#14021 are cited for in the workflow's own header.
Surveying every backport-titled PR in the repo: the bot's
backport-<n>-to-<target>branches are all labelled, and the onlyuser-prefixed pair is the one that needed a human.
Only the prefix widens
The
\d+-to-core and the existing base check still decide what counts as abackport, so this does not loosen the definition:
backport-14979-to-core-1.49core/1.49jaeone94/backport-14984-to-core-1.49core/1.49jaeone94/backport-14984-to-core-1.49cloud/1.49glary/backport-resilient-partial-failurecore/1.49deepme987/infra/backport-assign-authormainThe last two are real branches in this repo — about backporting rather than
backports. A prefix must not turn them into one, and it doesn't: they have no
<digits>-to-segment.Verification
backport-label.test.ts16/16, with three new cases covering the prefixedform, the prefixed-but-wrong-base rejection, and the two real non-backport
branches above.
Mutation-checked rather than asserted green — reverting the regex to
^backport-fails exactly one test (the new prefixed case) and leaves the other 15 passing.
Disclosure
I hit this myself from the other direction. My manual backports #15095/#15096
used
backport/<pr>-to-<target>— a slash where the convention uses ahyphen. That one is genuinely off-convention rather than a gap in the rule, so
this PR deliberately does not widen the pattern to bless it; I fixed those
branches' labels by hand instead.