feat(queue): add mergify queue show command#1069
Merged
mergify[bot] merged 1 commit intomainfrom Apr 8, 2026
Merged
Conversation
Contributor
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 🤖 Continuous IntegrationWonderful, this rule succeeded.
🟢 👀 Review RequirementsWonderful, this rule succeeded.
🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 🔎 ReviewsWonderful, this rule succeeded.
🟢 📕 PR descriptionWonderful, this rule succeeded.
|
There was a problem hiding this comment.
Pull request overview
Adds a new mergify queue show CLI command to display a single PR’s merge-queue state, with compact vs --verbose output modes and optional JSON output.
Changes:
- Implement
queue showcommand with metadata, CI/checks rendering, and conditions evaluation output (compact/verbose). - Add typed API response shapes for the new “get queue PR” endpoint.
- Add a dedicated test suite covering normal, verbose, JSON, and error cases.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
mergify_cli/queue/cli.py |
Adds rendering helpers and the new queue show command implementation. |
mergify_cli/queue/api.py |
Adds TypedDict models + get_queue_pull() API wrapper. |
mergify_cli/tests/queue/test_show.py |
Adds tests for queue show output modes, JSON, and error handling. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
7d97f07 to
764b806
Compare
764b806 to
ed550db
Compare
JulianMaurin
previously approved these changes
Apr 8, 2026
Add a new CLI command to display the detailed state of a specific PR in the merge queue — position, priority, CI checks with status icons, and conditions evaluation tree. Default output is compact: checks summary line + only blocking conditions (top-level). Use --verbose/-v for full checks table and conditions tree. Closes MRGFY-6829 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Change-Id: I08236237da0cb543e420fdd3f6380cb67b100b83 Claude-Session-Id: 6201776f-44c8-4c2c-9496-ccf7b794ceae
ed550db to
9178e73
Compare
Pull request has been modified.
kozlek
approved these changes
Apr 8, 2026
JulianMaurin
approved these changes
Apr 8, 2026
Contributor
Merge Queue Status
This pull request spent 2 minutes 27 seconds in the queue, including 2 minutes 6 seconds running CI. Required conditions to merge
|
36 tasks
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.
Add a new CLI command to display the detailed state of a specific PR in
the merge queue — position, priority, CI checks with status icons,
and conditions evaluation tree.
Default output is compact: checks summary line + only blocking
conditions (top-level). Use --verbose/-v for full checks table and
conditions tree.
Closes MRGFY-6829
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com