Skip to content

ci: let committers bypass the Merge Queue ruleset for urgent fixes - #3458

Merged
kevinjqliu merged 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu-asf-yaml-merge-breakglass
Oct 16, 2026
Merged

kevinjqliu merged 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu-asf-yaml-merge-breakglass

Conversation

@kevinjqliu

@kevinjqliu kevinjqliu commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

What changes are included in this PR?

Adds a breakglass so committers can merge an urgent, approved PR (e.g. #3455 while CI is stuck) without waiting for the merge queue or required checks. This follows the apache/seatunnel setup.

iceberg-public team

We created apache/iceberg-public to use as the bypass actor. iceberg-committers is a private (secret) team, and secret teams can't be bypass actors. seatunnel did the same through INFRA-28376. Iceberg committers can opt in via Boxer. Membership syncs in about 15 minutes, and only current Iceberg committers can join.

Merging an urgent PR

Also documented in CONTRIBUTING.md. Use this only when necessary.

  1. Join the iceberg-public team (one-time).
  2. Get the PR approved by a committer.
  3. Merge without waiting for the queue or required checks:
    • CLI: gh pr merge <number> --squash --admin
    • Web UI: check "Merge without waiting for requirements to be met" (docs)

Are these changes tested?

Validated with apache/infrastructure-asfyaml on top of #3459. After merge, gh api repos/apache/iceberg-rust/rulesets/22979505 --jq .current_user_can_bypass should print pull_requests_only for a team member.

AI Disclosure

Drafted with GitHub Copilot.

Copilot AI balanced review requested due to automatic review settings October 14, 2026 19:27

This comment was marked as outdated.

@kevinjqliu
kevinjqliu marked this pull request as draft October 14, 2026 20:19
@kevinjqliu
kevinjqliu force-pushed the kevinjqliu-asf-yaml-merge-breakglass branch from aa20104 to 0326804 Compare October 14, 2026 20:40
@kevinjqliu
kevinjqliu force-pushed the kevinjqliu-asf-yaml-merge-breakglass branch 4 times, most recently from 16f1987 to 057ebbf Compare October 14, 2026 22:05

@comphead comphead left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kevinjqliu thats a good idea, the PR is still draft but the direction is def correct

@kevinjqliu
kevinjqliu force-pushed the kevinjqliu-asf-yaml-merge-breakglass branch from 057ebbf to acc5b0c Compare October 15, 2026 16:44
@kevinjqliu

Copy link
Copy Markdown
Contributor Author

will rebase this when #3459 is merged. I want to show the 2 changes separately

Give apache/iceberg-public a pull_request-only bypass on the Merge Queue
ruleset so an approved urgent fix can skip the queue and required
checks. Direct pushes stay blocked, and the approval in classic
protection still applies. The team holds committers who opted in via
Boxer; the regular committers team is secret and cannot be a bypass
actor. apache/root can always bypass.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@kevinjqliu
kevinjqliu force-pushed the kevinjqliu-asf-yaml-merge-breakglass branch from acc5b0c to 0963cfc Compare October 15, 2026 22:17
Comment thread .asf.yaml
Comment on lines +48 to +51
# apache/root (ASF Infra).
- actor_id: 118420
actor_type: Team
bypass_mode: always

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding apache/root here as backstop, just in case something goes wrong 🤷

@kevinjqliu
kevinjqliu requested review from CTTY and blackmwk October 15, 2026 22:18
@kevinjqliu
kevinjqliu marked this pull request as ready for review October 15, 2026 22:18
Comment thread .asf.yaml
bypass_mode: always
# apache/iceberg-public. Iceberg committers can opt into this team via
# https://gitbox.apache.org/boxer/.
- actor_id: 20107235

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also include apache/iceberg-private team? They are pmc members.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we cant, iceberg-committers and iceberg private are both private teams and github doesnt allow private teams to be used in configs.

thats why ASF allows us to create a public team

@blackmwk blackmwk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kevinjqliu for this pr, just one minor comment.

@kevinjqliu
kevinjqliu added this pull request to the merge queue Oct 16, 2026
Merged via the queue into apache:main with commit 0619254 Oct 16, 2026
25 checks passed
@kevinjqliu
kevinjqliu deleted the kevinjqliu-asf-yaml-merge-breakglass branch October 16, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants