Skip to content

chore: mergify - Enable in-place queue checks for the develop ruleset - #3817

Merged
eleshar merged 6 commits into
developfrom
chore/mergify-inplace-queue
Oct 5, 2026
Merged

eleshar merged 6 commits into
developfrom
chore/mergify-inplace-queue

Conversation

@eleshar

@eleshar eleshar commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Chore Pull Request

Linked issues

Closes #3816

Summary

Dependabot pull requests fail the "Mergify Merge Queue" check with action_required: "Configuration not compatible with a branch protection setting". The develop ruleset requires branches to be up to date, and Mergify's default queue tests draft batches, which that setting blocks. This enables in-place checks, the documented fix that leaves the ruleset untouched.

Changes

  • Adds merge_queue.max_parallel_checks: 1 and a default queue rule with batch_size: 1 to .github/mergify.yml. Mergify turns on in-place checks only when max_parallel_checks is 1, every queue rule has batch_size 1, and the queue CI is single-step, so the file also warns against changing those values.
  • Replaces the "queue rejected" comment in the config with the reason the in-place queue is now used.
  • Adds a "Merge queue" note to docs/MERGIFY_STRATEGY.md and corrects its warning, which said no queue is configured.

Impact / Compatibility

No ruleset or branch protection setting changes. Human pull requests are unaffected: Dependabot auto-merge still waits for the required checks and a code-owner approval. The existing merge_protections_settings block is unchanged.

Verification

  • node scripts/validation/validate-mergify-config.cjs against the published schema: valid.
  • scripts/validation/__tests__/validate-mergify-config.test.js: 2 passed, 3 skipped (the skips need network access).
  • markdownlint: 0 issues.
  • coderabbit-cli found one issue (the stale warning in the strategy doc), which is fixed.
  • To confirm after merge: the "Mergify Merge Queue" check on a Dependabot pull request (for example chore(deps): bump brace-expansion in /agents/changelog-agent #3810) should stop reporting action_required.

Risk & Rollback

Low. If Mergify rejects the configuration, its check on this pull request reports the error before merge. Revert the commit to restore the previous file.

Changelog

Changed

  • Fixed the merge queue configuration error on Dependabot pull requests.

Added

Fixed

Removed

Checklist (Global DoD / PR)

  • Configuration validates against the Mergify schema
  • markdownlint clean
  • No secrets or personal data

@eleshar
eleshar requested review from a team and ashleyshaw as code owners October 5, 2026 09:20
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Linear review: risk level 1 of 4

@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: lightspeedwp/.github/.coderabbit.yml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 079aaf0d-8624-44e6-9c31-e6bad829cc2d
📥 Commits

Reviewing files that changed from the base of the PR and between e649402 and 9fb246f.

📒 Files selected for processing (3)
  • .github/mergify.yml
  • CHANGELOG.md
  • docs/MERGIFY_STRATEGY.md
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mergify

mergify Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🔴 1 of 2 protections blocking

Protection Waiting on
🔴 🚦 Auto-queue —
🟢 📃 Configuration Change Requirements —

🔴 🚦 Auto-queue

This rule is failing.

When all merge protections are satisfied and these conditions match, this pull request will be queued automatically.

  • author~=^(dependabot\[bot\]|app/dependabot)$

Show 1 satisfied protection

🟢 📃 Configuration Change Requirements

Mergify configuration change

  • any of:
    • check-success = @mergify/Configuration changed
    • check-success = @mergify/Configuration has been deleted

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

PR Template Routing

Branch Type: chore
Scope: mergify-inplace-queue
Template: pr_chore.md
Labels Applied: type:chore

This PR was automatically routed based on the branch naming strategy.

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

📋 Changelog Quality Validation

Metric Count
✅ Passing 194
❌ Failing 0
🆕 New failures in this PR 0
📦 Pre-existing failures 0

Status

✅ Validation PASSED - No new failures introduced by this PR.

No action required.

@lightspeed-docs-bot

Copy link
Copy Markdown
Contributor

Pull request #3817 could not be updated automatically

develop cannot be merged into this branch automatically because the two conflict
(mergeable_state: dirty). Merging cannot resolve a conflict, so this needs
a human. This is a property of the branch, not a failure of any check — no check is
reporting red because of it, and the up-to-date requirement on develop is unchanged.

To resolve it:

  1. Merge develop into this branch locally (git merge origin/develop) and push the
    result, or rebase the branch onto develop.
  2. Open the Resolve conflicts view to jump straight to the conflicting files:
    https://github.com/lightspeedwp/.github/pull/3817/conflicts

Common conflict sources in this repository are the per-pull-request files that every
pull request rewrites (FEEDBACK_RESPONSE.md) and the shared [Unreleased] list in
CHANGELOG.md. CHANGELOG.md is union-merged via .gitattributes, so it merges cleanly;
a conflict there means a change larger than an added entry.

Log
#3817 HTTP 422: merge conflict between base and head

@eleshar
eleshar merged commit 8e02fb7 into develop Oct 5, 2026
34 checks passed
@eleshar
eleshar deleted the chore/mergify-inplace-queue branch October 5, 2026 09:39
@linear-code

linear-code Bot commented Oct 5, 2026

Copy link
Copy Markdown

GIT-2582

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: mergify - Fix the merge queue configuration error on Dependabot pull requests

1 participant