fix(queue): treat a not-queued PR as a normal state, not an API error#1678
Merged
Conversation
This was referenced Jun 23, 2026
Contributor
Author
|
This pull request is part of a Mergify stack:
|
This was referenced Jun 23, 2026
Contributor
Merge Protections🟢 All 6 merge protections satisfied — ready to merge. Show 6 satisfied protections🟢 🤖 Continuous Integration
🟢 👀 Review Requirements
🟢 Enforce conventional commitMake sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 🔎 Reviews
🟢 📕 PR description
🟢 🚦 Auto-queueWhen all merge protections are satisfied, this pull request will be queued automatically. |
9ef5865 to
62bec7d
Compare
16f2d20 to
4e28508
Compare
Contributor
Author
Revision history
|
4e28508 to
e9c1676
Compare
62bec7d to
0dd17d0
Compare
Base automatically changed from
devs/JulianMaurin/feat/rust-cli-excellence/make-readme-full-cli-contract-ref--4677f612
to
main
June 25, 2026 08:38
`queue show` mapped a PR that isn't in the merge queue to exit 6
(Mergify API error) with empty stdout — so `--json` consumers got
nothing parseable for the most common case, and scripts saw an
API-failure code for a routine state.
Report it on stdout and exit 0 instead: a `{"number": N, "queued":
false}` document under `--json`, the `PR #N is not in the merge
queue` line in human mode.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Change-Id: I6f7ca3cf3cffb83ba129a1c48d2aab218dabd989
0dd17d0 to
f2561e6
Compare
kozlek
approved these changes
Jun 25, 2026
sileht
approved these changes
Jun 25, 2026
Contributor
|
Queued — the merge queue status continues in this comment ↓. |
Contributor
Merge Queue Status
This pull request spent 33 seconds in the queue, including 5 seconds running CI. Required conditions to merge
|
38 tasks
mergify Bot
pushed a commit
that referenced
this pull request
Jun 25, 2026
) A schema-invalid config uploaded by `config simulate` came back as the simulator's HTTP 422 and was reported as a Mergify API failure (exit 6) — even though the same fixture fails `config validate` client-side with exit 8. The drift meant a local-config problem looked like a service problem to scripts. Add `HttpClient::post_classifying`, which lets a caller remap a terminal status before the default flavor mapping, and use it in `simulate` to map the simulator's 422 to a configuration error (exit 8). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Depends-On: #1678
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
queue showmapped a PR that isn't in the merge queue to exit 6(Mergify API error) with empty stdout — so
--jsonconsumers gotnothing parseable for the most common case, and scripts saw an
API-failure code for a routine state.
Report it on stdout and exit 0 instead: a
{"number": N, "queued": false}document under--json, thePR #N is not in the merge queueline in human mode.Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com