feat: expose title param in update_board_item tool #52
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-mcp!52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "45-expose-title-param-update-board-item"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
titleparameter to theupdate_board_itemMCP toolChanges
src/pal_e_mcp/tools/boards.py: Addedtitle: str | None = Noneparameter toupdate_board_item, with passthrough to the PATCH body when non-None. Follows the same pattern aspointsandlabels.tests/test_param_alignment.py: Addedtest_title_forwardedandtest_title_omitted_not_in_body. Updatedtest_omitted_fields_not_in_bodyto also asserttitleabsence.Test Plan
uv run python -m pytest tests/ -v-- 61/61 pass)ruff format --checkandruff checkboth cleanReview Checklist
Related Notes
project-pal-e-docs-- the project this work belongs toQA Review -- PR #52
Diff Summary
2 files changed, +22/-1. Adds optional
titleparameter toupdate_board_itemMCP tool and corresponding tests.Findings
titleparam follows the exact sameAnnotated[str | None, Field(...)] = Nonepattern aspoints,labels,column,position. Placement betweenpositionandpointsis logical.if title is not None: body["title"] = titlemirrors all other optional fields. Correct.test_title_forwarded,test_title_omitted_not_in_body) plus updatedtest_omitted_fields_not_in_bodyassertion. Covers positive and negative cases.titleproduces identical behavior to before -- no body key added.Nits
None.
VERDICT: PASS