feat: add bitbucket comments and build status#18
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds new Bitbucket workflow commands to the Atlassian CLI for managing PR comments and inspecting build statuses, while keeping existing PR metadata commands lightweight.
Changes:
- Introduces
bitbucket pr commentsubcommands (list/get/add/reply/edit/delete) with normalized output and raw modes. - Adds build status inspection via
bitbucket pr build-statusandbitbucket commit build-status. - Updates schemas, provider interfaces/implementation, docs, and unit/e2e coverage ownership.
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/test_readme.py | Asserts README includes examples for new comment/build-status commands. |
| tests/products/bitbucket/test_schemas.py | Adds schema tests for comment + build status normalization. |
| tests/products/bitbucket/test_provider.py | Adds provider tests for comment and build-status SDK forwarding. |
| tests/products/bitbucket/test_pr_comment_service.py | Unit tests for PR comment service normalization + raw passthrough. |
| tests/products/bitbucket/test_pr_comment_command.py | CLI tests for bitbucket pr comment ... commands, including --version enforcement. |
| tests/products/bitbucket/test_build_status_service.py | Unit tests for build status aggregation and error handling. |
| tests/products/bitbucket/test_build_status_command.py | CLI tests for pr build-status and commit build-status. |
| tests/e2e/test_bitbucket_live.py | Extends live Bitbucket round-trip e2e to exercise new commands. |
| tests/e2e/coverage_manifest.py | Registers new leaf commands for live e2e ownership tracking. |
| src/atlassian_cli/products/bitbucket/services/pr_comment.py | Implements comment normalization and raw methods. |
| src/atlassian_cli/products/bitbucket/services/build_status.py | Implements commit/PR build status normalization and aggregation logic. |
| src/atlassian_cli/products/bitbucket/schemas.py | Adds comment and build-status related API models. |
| src/atlassian_cli/products/bitbucket/providers/server.py | Implements Server/DC provider methods for comments, commits, and build statuses. |
| src/atlassian_cli/products/bitbucket/providers/base.py | Extends Bitbucket provider protocol with new operations. |
| src/atlassian_cli/products/bitbucket/commands/pr.py | Registers pr comment group and adds pr build-status command. |
| src/atlassian_cli/products/bitbucket/commands/pr_comment.py | New Typer command group for PR comment operations. |
| src/atlassian_cli/products/bitbucket/commands/commit.py | New Typer command group for commit build-status. |
| src/atlassian_cli/cli.py | Wires the new Bitbucket commit command group into the root CLI. |
| README.md | Documents new commands and expected behaviors. |
| docs/superpowers/specs/2026-05-08-atlassian-cli-bitbucket-pr-comments-build-status-design.md | Design spec for the added Bitbucket capabilities. |
| docs/superpowers/plans/2026-05-08-atlassian-cli-bitbucket-pr-comments-build-status.md | Implementation plan and verification checklist. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
Test Plan