revert(reviews): remove reviews command#1025
Conversation
The reviews command is not Mergify-specific and doesn't belong in this CLI. Remove the entire reviews module, its tests, and CLI registration. This reverts the feature added in cf649c4. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Change-Id: I072bcf9072472715da3d0268402d5e21f816c3fa Claude-Session-Id: d5572357-9198-403e-83f3-1c3d4cb73a99
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
This PR removes the reviews command from mergify_cli, reverting the previously added “pending reviews” functionality because it’s not Mergify-specific. It deletes the reviews module and associated tests, and unregisters the command from the main CLI entrypoint.
Changes:
- Removed
mergify_cli.reviews(CLI + GitHub GraphQL API helper). - Removed
mergify_cli/tests/reviewstest suite. - Unregistered the
reviewscommand frommergify_cli/cli.py.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
mergify_cli/cli.py |
Removes import/registration of the reviews subcommand from the root CLI. |
mergify_cli/reviews/cli.py |
Deletes the reviews click command implementation. |
mergify_cli/reviews/api.py |
Deletes the GitHub GraphQL logic used by the command. |
mergify_cli/reviews/__init__.py |
Removes the reviews package marker. |
mergify_cli/tests/reviews/test_cli.py |
Deletes tests covering the reviews command behavior. |
mergify_cli/tests/reviews/__init__.py |
Removes the tests package marker. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🧪 CI InsightsHere's what we observed from your CI run for 0c5e934. 🟢 All jobs passed!But CI Insights is watching 👀 |
Merge Queue Status
This pull request spent 9 seconds in the queue, including 1 second running CI. Required conditions to merge
|
The reviews command is not Mergify-specific and doesn't belong in this
CLI. Remove the entire reviews module, its tests, and CLI registration.
This reverts the feature added in cf649c4.
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com