feat: add inline CI, review, and merge status to mergify stack list#1117
Conversation
Member
Author
This was referenced Apr 10, 2026
Contributor
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 ⛓️ Depends-On RequirementsWaiting for:
This rule is failing.Requirement based on the presence of
🔴 👀 Review RequirementsWaiting for:
or
or
or
This rule is failing.
🔴 🔎 ReviewsWaiting for:
This rule is failing.
🟢 🤖 Continuous IntegrationWonderful, this rule succeeded.
🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 📕 PR descriptionWonderful, this rule succeeded.
|
6e90bcc to
8f1be1e
Compare
8f1be1e to
7a8d36d
Compare
There was a problem hiding this comment.
Pull request overview
Enhances the mergify stack list command to surface per-PR CI status, review status, and merge-conflict (mergeable) state, with richer display options and JSON output suitable for scripting.
Changes:
- Extend stack list entries with CI checks, reviews, and
mergeable, and fetch those details via GitHub APIs with bounded concurrency. - Add
--verbose/-voutput to show individual check names and reviewer names; extend--jsonoutput with structured status fields. - Update
stack opento skip the additional status fetches viainclude_status=False; update docs and tests accordingly.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
mergify_cli/stack/list.py |
Adds CI/review/mergeable fields, parallel status fetching, and verbose + formatted display output. |
mergify_cli/stack/cli.py |
Wires new --verbose/-v option into stack list. |
mergify_cli/stack/open.py |
Avoids extra CI/review API calls when listing is only used to open PRs. |
mergify_cli/github_types.py |
Adds mergeable to the PR TypedDict. |
mergify_cli/stack/skill.md |
Documents the enhanced stack list behavior and flags. |
mergify_cli/tests/stack/test_list.py |
Adds/updates tests for JSON fields, summary output, and verbose output. |
mergify_cli/tests/stack/test_open.py |
Updates PR payload mocks to include mergeable. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
sileht
previously approved these changes
Apr 10, 2026
7a8d36d to
3646ca8
Compare
6456b6d to
9a98892
Compare
sileht
previously approved these changes
Apr 10, 2026
9a98892 to
7dc6609
Compare
3646ca8 to
6fa8c18
Compare
6fa8c18 to
217c07b
Compare
Enhances `mergify stack list` to show CI status, review status, and merge conflict state for each PR in the stack. - Default: summary line (CI: ✓ passing | Review: ✓ approved) - --verbose: detailed check names and reviewer names - --json: full structured data (ci_checks, reviews, mergeable) - Conflict indicator (✗ conflicting) when PR has merge conflicts Fetches check-runs and reviews in parallel with bounded concurrency. Callers like `stack open` skip the extra fetches via include_status=False. Change-Id: I546622141e7fec536c9fa26c2f0a8a50cc59fa60 Claude-Session-Id: 2d9f4a52-4a1d-4a50-a459-3b57847dec9f
515e148 to
f0e7332
Compare
217c07b to
79efc36
Compare
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.
Enhances
mergify stack listto show CI status, review status, andmerge conflict state for each PR in the stack.
Fetches check-runs and reviews in parallel with bounded concurrency.
Callers like
stack openskip the extra fetches via include_status=False.Claude-Session-Id: 2d9f4a52-4a1d-4a50-a459-3b57847dec9f
Depends-On: #1116