Skip to content

chore: mergify - remove invalid speculative checks field #1076

Description

@ashleyshaw

Describe the bug

.github/mergify.yml's queue_rules[0] sets speculative_checks: 1, introduced in #1059. Mergify's current schema rejects this field ("Extra inputs are not permitted @ root -> queue_rules -> item 0 -> speculative_checks"), which makes Mergify's own status checks ("Summary", "Mergify Merge Queue") permanently report failure on every PR.

That failure is enough to keep GitHub's mergeStateStatus at BLOCKED and reject gh pr merge/the merge button with "the base branch policy prohibits the merge" - even when both actually-required status checks (All Checks Passed, validate-pr-template) pass cleanly. Found while trying to merge unrelated PRs #1073 and #1075.

To Reproduce

  1. Open any PR against develop
  2. Check the "Summary" or "Mergify Merge Queue" check run's output
  3. See: "The current Mergify configuration is invalid"

Expected behavior

Mergify's config is valid and its status checks pass (or are simply absent) so they don't block merges.

Additional Context

Fix: remove the unsupported speculative_checks key from queue_rules[0] in .github/mergify.yml.

Definition of Ready (DoR)

  • Bug is reproducible and clearly described
  • Steps to reproduce written
  • Linked to existing issues/PRs (if any)
  • Ready for triage

Definition of Done (DoD)

  • Bug confirmed and reproducible
  • Fix implemented and verified
  • Documentation updated (if needed)
  • Changelog entry prepared for PR (CHANGELOG.md)
  • Linked issue closed

Activity

  1. linear-code commented on Jul 22, 2026

    @linear-code
  2. github-actions commented on Jul 22, 2026

    @github-actions
    Contributor

    ✅ Template check passed after update. Thanks for fixing the issue body.

  3. ashleyshaw commented on Jul 22, 2026

    @ashleyshaw
    MemberAuthor

    Fixed by #1077 (merged: 3afe7fd). GitHub's auto-close via the "Closes #1076" reference didn't fire despite correctly recognizing the link (confirmed via the GraphQL closingIssuesReferences field) — closing manually.

  4. added this to the v1.0 milestone on Jul 22, 2026
  5. modified the milestones: v1.0, v1.1 on Aug 29, 2026
  6. github-actions commented on Sep 8, 2026

    @github-actions
    Contributor

    ⚠️ Bare Labels Detected

    This issue has labels that are not in the canonical taxonomy:

    • migrate:priority:normal
    • migrate:type:chore

    Valid Canonical Labels

    Please use labels with a prefix from the canonical taxonomy:

    • Type: type:bug, type:feature, type:task, type:documentation, etc.
    • Status: status:needs-triage, status:in-progress, status:done, etc.
    • Priority: priority:critical, priority:high, priority:normal, priority:low
    • Area: area:ci, area:docs, area:labels, area:security, etc.
    • Meta: meta:needs-changelog, meta:duplicate, meta:blocked, etc.

    For the complete list, see .github/labels.yml.

  7. changed the title [-]Mergify config has invalid speculative_checks field, breaking merge queue checks for every PR[/-] [+]chore: mergify - remove invalid speculative checks field[/+] on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

Priority

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions