Skip to content

Prepare for Merge Queue #17183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Prepare for Merge Queue #17183

wants to merge 3 commits into from

Conversation

blaginin
Copy link
Contributor

@blaginin blaginin commented Aug 13, 2025

Which issue does this PR close?

Related to #6880

Rationale for this change

Before we enable Merge Queue, we need to prepare our CI

What changes are included in this PR?

Merge Queue only waits for the required steps - us all checks are important hence I made them all required.
It'll become impossible to merge a PR if some of the checks are not passed, but I believe that's the flow we use now anyways.

I also added a MQ trigger as required in the MQ docs

Demo PR: blaginin-org#1

@blaginin blaginin self-assigned this Aug 13, 2025
@github-actions github-actions bot added the development-process Related to development process of DataFusion label Aug 13, 2025
Copy link
Contributor Author

Choose a reason for hiding this comment

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

i wasn't able to check those via asf boxer (got a permission error on creating a new project). I checked other ASF projects so should be fine - but just in case I will take a look on the checks once this PR is merged

@@ -50,8 +50,38 @@ github:
main:
required_pull_request_reviews:
required_approving_review_count: 1
required_status_checks:
strict: true # Require branches to be up to date before merging
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we not require up to date branches before we have enabled the merge queue? Otherwise that will slow down merging of PRs as we'll have a bottleneck / race for each PR that wants to merge

Once there is an automated queue it makes sense because the queue handles the race

required_status_checks:
strict: true # Require branches to be up to date before merging
contexts:
- "Check License Header"
Copy link
Contributor

Choose a reason for hiding this comment

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

I worry about this list

  1. It may get out of date if people add a new check
  2. I worry this might break the repo entirely (if we for example, change the name of one of these files)
  3. What happens to workflows that don't run all these checks (like documentation, for example)

I am particularly worried about the note in https://github.com/apache/infrastructure-asfyaml/blob/main/README.md#branch-protection

A typo in these settings for the default branch will prevent you from modifying the .asf.yaml file itself.

Screenshot 2025-08-14 at 7 07 35 AM

I think it is better to potentially have main fail some CI checks that we can fix rather than effectively locking ourselves out of committing anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development-process Related to development process of DataFusion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants