Epilogue nits: pagination, test rename, docs, CI #11
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
test:label-a
test:label-b
test:set-label
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
ldraney/forgejo-mcp#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Lineage
plan-pal-e-agency→ Epilogue (nits #1-4)Repo
forgejo_admin/forgejo-mcpUser Story
As a platform operator
I want forgejo-mcp to handle edge cases and have CI coverage
So that agents can rely on it without hitting silent failures
Context
QA review of PR #10 (Forgejo MCP completeness — set_label, comment_on_issue, create_repo) found 4 non-blocking nits. Per convention, these were captured in the plan Epilogue table and are now being batch-addressed.
File Targets
Files to modify:
src/forgejo_mcp/tools.py— fixset_labelpagination (currently fetches max 100 labels, misses repos with 100+)tests/test_new_tools.py— rename totests/test_label_comment_repo.py(or similar descriptive name matching tool names)README.mdor inline docstrings — document thatcomment_on_issueandcomment_on_pruse the same Forgejo API endpoint but are separate tools for semantic clarity.woodpecker.yml— add pytest step to CI pipeline (tests exist but don't run in CI)Acceptance Criteria
set_labelpaginates through all labels (not just first 100) when searching for a label by nametest_new_tools.pyrenamed to a descriptive filename matching the tools it testscomment_on_issuevscomment_on_prdistinction documented (inline docstring or README section).woodpecker.ymlincludes a pytest step that runs the test suiteTest Expectations
pytest tests/ -vConstraints
Checklist
Related
plan-pal-e-agency— parent plan