Skip to content

fix(bitbucket): list_prs takes author and reviewer (2.158.3) - #227

Merged
drknowhow merged 1 commit into
mainfrom
fix/bitbucket-list-prs-author
Oct 23, 2026
Merged

drknowhow merged 1 commit into
mainfrom
fix/bitbucket-list-prs-author

Conversation

@drknowhow

Copy link
Copy Markdown
Owner

c3_bitbucket list_prs could not filter by author or reviewer. The handler and the Bitbucket client already supported both, but the MCP tool's signature left them out, so pydantic refused them with "Unexpected keyword argument" before the handler ran. Work Agents' Bitbucket watchers failed on every poll because of this. The tool now takes author and reviewer (Bitbucket user names) and passes them through, in text and in format="json".

Full suite: 4990 passed, 8 skipped. Four files were run separately with tests/ forced first, because Hershey_Fonts 2.1.0 installs a site-packages tests package that shadows ours. The new MCP-level test fails on the old signature.

https://claude.ai/code/session_018s3QLHP63kNnNysJhvthv8

The handler and client could filter list_prs by author and reviewer, but
the c3_bitbucket MCP signature lacked both, so pydantic refused them with
"Unexpected keyword argument". Work Agents' Bitbucket watchers failed on
every poll this way. The tool now takes both and passes them through.
Full suite: 4990 passed, 8 skipped (4 files run with tests/ forced first:
Hershey_Fonts installs a site-packages tests package that shadows ours).

Claude-Session: https://claude.ai/code/session_018s3QLHP63kNnNysJhvthv8
@drknowhow
drknowhow merged commit 10905b2 into main Oct 23, 2026
12 checks passed
@drknowhow
drknowhow deleted the fix/bitbucket-list-prs-author branch October 23, 2026 13:01
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.

1 participant