fix(ci): dispatch the resolver by filename, not display name - #33039
Conversation
Every backport from here fails at the handover. `plan` passes — the label is authorised and the release branches resolve — then both dispatch jobs fail, because they name a workflow that no longer exists: openmetadata-collate renamed `Resolve an OpenMetadata backport conflict` to `Backport a labeled OpenMetadata PR` when it took over driving the whole backport rather than only conflicts. A dispatch by display name is a cross-repository reference with nothing checking it: no linter sees it, and it breaks silently on a rename in another repo. `benc-uk/workflow-dispatch` also accepts a filename, which does not move when the workflow is renamed, so use that instead. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ ApprovedFixes CI backport dispatch by referencing the workflow file ( OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
✅ Playwright Results — workflow succeededValidated commit ✅ 556 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 55m 22s ⏱️ Max setup 4m 32s · max shard execution 18m 49s · max shard-job elapsed before upload 22m 26s · reporting 6s 🌐 235.77 requests/attempt · 2.82 app boots/UI scenario · 10.98% common-shard skew Optimization targets still in progress:
🟡 1 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Every backport from here fails at the handover — run 34329850382.
planpasses (label authorised, release branches resolved), then bothdispatchjobs fail.Cause
They name a workflow that no longer exists.
openmetadata-collaterenamedResolve an OpenMetadata backport conflict→Backport a labeled OpenMetadata PRwhen it took over driving the whole backport rather than only conflicts. This side still asked for the old name.That's my mistake, and the ordering advice I gave ("merge Collate first") couldn't have helped — the reference itself was wrong, not the sequence.
Fix
benc-uk/workflow-dispatchaccepts a filename as well as a display name. A filename doesn't move when a workflow is renamed:The underlying problem was that a dispatch by display name is a cross-repository reference with nothing checking it — no linter sees it, and it breaks silently on a rename in another repo. Confirmed
oss-backport-resolve.yamlexists onopenmetadata-collate@main.🤖 Generated with Claude Code