Skip to content

feat: add bitbucket comments and build status#18

Merged
LichKing-2234 merged 14 commits into
mainfrom
feature/bitbucket-comments-build-status
May 9, 2026
Merged

feat: add bitbucket comments and build status#18
LichKing-2234 merged 14 commits into
mainfrom
feature/bitbucket-comments-build-status

Conversation

@LichKing-2234
Copy link
Copy Markdown
Owner

Summary

  • add Bitbucket PR comment list/get/add/reply/edit/delete commands
  • add PR and commit build-status commands with normalized output
  • document the new commands and register live e2e coverage ownership

Test Plan

  • PYTHONPATH=src /Users/admin/atlassian-cli/.venv/bin/ruff format --check .
  • PYTHONPATH=src /Users/admin/atlassian-cli/.venv/bin/python -m pytest -q
  • PYTHONPATH=src /Users/admin/atlassian-cli/.venv/bin/ruff check README.md pyproject.toml src tests docs

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 comment subcommands (list/get/add/reply/edit/delete) with normalized output and raw modes.
  • Adds build status inspection via bitbucket pr build-status and bitbucket 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.

Comment thread src/atlassian_cli/products/bitbucket/services/build_status.py Outdated
@LichKing-2234 LichKing-2234 merged commit 13d5d06 into main May 9, 2026
1 check passed
@LichKing-2234 LichKing-2234 deleted the feature/bitbucket-comments-build-status branch May 9, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants