Skip to content

Scope backport-to-v3-2-test label to PRs targeting main#65386

Merged
kaxil merged 1 commit into
apache:mainfrom
potiuk:scope-backport-label-to-main-prs
Apr 16, 2026
Merged

Scope backport-to-v3-2-test label to PRs targeting main#65386
kaxil merged 1 commit into
apache:mainfrom
potiuk:scope-backport-label-to-main-prs

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Apr 16, 2026

Uses the per-rule targetBranchFilter added in kaxil/boring-cyborg#112 so the backport-to-v3-2-test label is only applied to PRs whose base branch is main. A PR opened directly against v3-2-test does not need a backport label for itself.

Also teaches the check-boring-cyborg-configuration prek hook about the new {paths, targetBranchFilter} object form for label rules so it no longer treats those keys as unused patterns.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.6)

Generated-by: Claude Code (Opus 4.6) following the guidelines

Uses the per-rule `targetBranchFilter` option added in
kaxil/boring-cyborg#112 so the backport label is not applied to PRs
opened directly against the v3-2-test maintenance branch — where a
backport label is meaningless.

Also teaches the `check-boring-cyborg-configuration` prek hook about
the new `{paths, targetBranchFilter}` object form for label rules.
@boring-cyborg boring-cyborg Bot added area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch labels Apr 16, 2026
@kaxil kaxil merged commit 9d82363 into apache:main Apr 16, 2026
65 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

Backport failed to create: v3-2-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-2-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 9d82363 v3-2-test

This should apply the commit to the v3-2-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

karenbraganz pushed a commit to karenbraganz/airflow that referenced this pull request Apr 16, 2026
Uses the per-rule `targetBranchFilter` option added in
kaxil/boring-cyborg#112 so the backport label is not applied to PRs
opened directly against the v3-2-test maintenance branch — where a
backport label is meaningless.

Also teaches the `check-boring-cyborg-configuration` prek hook about
the new `{paths, targetBranchFilter}` object form for label rules.
potiuk added a commit that referenced this pull request Apr 26, 2026
…#65872)

Backport of the prek-script half of #65386 to fix static checks on
v3-2-test after #65610 added a backport-to-airflow-ctl-v0-1-test rule
in dict form ({paths, targetBranchFilter}). The legacy script on
v3-2-test only understood the flat list-of-globs form, so it flagged
`paths` and `targetBranchFilter` as unused glob patterns and failed
the check.

The .github/boring-cyborg.yml YAML changes from #65386 are intentionally
omitted: those targeted the `backport-to-v3-2-test` rule that lives on
main, which has no analogue on this branch (here it is
`backport-to-v3-1-test` and the existing list form continues to work).
potiuk added a commit to potiuk/airflow that referenced this pull request Apr 26, 2026
Backport of the prek-script half of apache#65386 to fix static checks on
v3-2-test after apache#65610 added a backport-to-airflow-ctl-v0-1-test rule
in dict form ({paths, targetBranchFilter}). The legacy script on
v3-2-test only understood the flat list-of-globs form, so it flagged
`paths` and `targetBranchFilter` as unused glob patterns and failed
the check.

The .github/boring-cyborg.yml YAML changes from apache#65386 are intentionally
omitted: those targeted the `backport-to-v3-2-test` rule that lives on
main, which has no analogue on this branch (here it is
`backport-to-v3-1-test` and the existing list form continues to work).
vatsrahul1001 pushed a commit that referenced this pull request Apr 27, 2026
…#65872)

Backport of the prek-script half of #65386 to fix static checks on
v3-2-test after #65610 added a backport-to-airflow-ctl-v0-1-test rule
in dict form ({paths, targetBranchFilter}). The legacy script on
v3-2-test only understood the flat list-of-globs form, so it flagged
`paths` and `targetBranchFilter` as unused glob patterns and failed
the check.

The .github/boring-cyborg.yml YAML changes from #65386 are intentionally
omitted: those targeted the `backport-to-v3-2-test` rule that lives on
main, which has no analogue on this branch (here it is
`backport-to-v3-1-test` and the existing list form continues to work).
vatsrahul1001 pushed a commit that referenced this pull request May 20, 2026
…#65872)

Backport of the prek-script half of #65386 to fix static checks on
v3-2-test after #65610 added a backport-to-airflow-ctl-v0-1-test rule
in dict form ({paths, targetBranchFilter}). The legacy script on
v3-2-test only understood the flat list-of-globs form, so it flagged
`paths` and `targetBranchFilter` as unused glob patterns and failed
the check.

The .github/boring-cyborg.yml YAML changes from #65386 are intentionally
omitted: those targeted the `backport-to-v3-2-test` rule that lives on
main, which has no analogue on this branch (here it is
`backport-to-v3-1-test` and the existing list form continues to work).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants