Enhancement: Add debug logging around get_issue response parsing #14
Reference in New Issue
Block a user
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?
Summary
Add targeted debug logging around the
get_issueflow to make issue parsing failures easier to diagnose.Context
A valid
get_issuerequest currently fails with:The related bug is tracked in #13.
Goal
Improve observability so that future failures clearly show:
Suggested Logging
Add debug logs for:
owner,repo,issue_number)Safety Considerations
Acceptance Criteria
get_issueemits useful debug logs when parsing startsNice to Have
Related: #13
Implementation suggestion: introduce a small reusable logging helper pattern instead of adding ad-hoc debug logging inline.
Proposed Helper Pattern
Create a small module for consistent structured logging across MCP endpoints.
Suggested helpers:
Example Usage in
get_issueWhy this helps
None/ nullable field failures obviousSuggested Scope
This can start as part of #14 for
get_issue, then be reused later for:get_pull_requestlist_issuesget_commit_diff