Skip to content

docs(merge-protections): says what an unparseable Merge-After header does, which is block forever… - #13051

Merged
mergify[bot] merged 1 commit into
Mergifyio:mainfrom
mergify-ci-bot:docs-agent/health-audit-merge-protections--merge-after-invalid-date-blocks-forever
Sep 29, 2026
Merged

mergify[bot] merged 1 commit into
Mergifyio:mainfrom
mergify-ci-bot:docs-agent/health-audit-merge-protections--merge-after-invalid-date-blocks-forever

Conversation

@mergify-ci-bot

Copy link
Copy Markdown
Contributor

The Merge-After section described the accepted timestamp format and stopped
there, so the page said nothing about the case a reader reaches by typing the
header slightly wrong.

A value the engine cannot parse is not rejected and does not fail the
protection. It pins the condition's target to the maximum representable
datetime, which current-datetime >= can never reach, so the pull request sits
blocked for good with the check reporting the value back as invalid. That is
the one outcome somebody would never guess from a page describing only the
format, and the fix (correct the header) is not obvious while the check is
merely pending.

Evidence: the engine's Merge-After condition builder, which catches the invalid
date, substitutes the max datetime and sets the summary line the new text
quotes.

The page said the merge queue shows a pull request's dependencies "only for the
pull requests ahead of it in a stack in the same repository". That is the right
restriction but not the whole of it: the list the queue renders is built from
stack predecessors that are still embarked in a queue, so one that has merged
or been dequeued drops out of it.

Merging is the harmless half, since a merged dependency no longer blocks
anything. A dequeued one is not: it still blocks the merge if it is open, and
it disappears from the panel that exists to explain why the pull request is
waiting. The sentence now says which predecessors appear.

Evidence: the engine helper the merge queue status serializer calls for this
field, which returns the queued subset of a pull request's stack predecessors.

Open question: whether this section should also mention that GitHub-native
stacks populate the same panel without any Depends-On: header. It is true,
but it is gated per organization, and saying it on a page about the Depends-On
header would describe something most readers cannot turn on. I left it out.

@mergify
mergify Bot deployed to Mergify Merge Protections September 28, 2026 22:25 Active
@mergify

mergify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 5 merge protections satisfied — ready to merge.

Show 5 satisfied protections

🟢 👀 Review Requirements

  • any of:
    • #approved-reviews-by >= 1
    • author = dependabot[bot]
    • author = renovate[bot]
    • all of:
      • -head ~= ^docs-agent/
      • author = mergify-ci-bot

🟢 Enforce conventional commit

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|internal|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?!?:

🟢 🔎 Reviews

  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

  • body ~= (?ms:.{48,})

🟢 🚦 Auto-queue

When all merge protections are satisfied, this pull request will be queued automatically.

@mergify
mergify Bot requested a review from a team September 28, 2026 22:27
@mergify

mergify Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 2 hours 37 minutes 45 seconds in the queue, including 3 minutes 7 seconds running CI.

Required conditions to merge

@mergify
mergify Bot merged commit b2d3803 into Mergifyio:main Sep 29, 2026
12 checks passed
@mergify mergify Bot removed the queued label Sep 29, 2026

This branch was successfully deployed

1 active deployment
Mergify Merge Protections — a92635e2 Deployed Sep 28, 2026 by mergify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants