Conversation
…earch_issues Co-Authored-By: yujonglee <yujonglee.dev@gmail.com>
✅ Deploy Preview for hyprnote canceled.
|
✅ Deploy Preview for hyprnote-storybook canceled.
|
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: yujonglee <yujonglee.dev@gmail.com>
Co-Authored-By: yujonglee <yujonglee.dev@gmail.com>
This was referenced Feb 11, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refactor: replace support MCP tools with create_issue, add_comment, search_issues
Summary
Replaces the three existing support MCP tools (
submit_bug_report,submit_feature_request,read_github_data) with a cleaner set focused on issue management:create_issue— creates a GitHub issue with title, body, and optional labelsadd_comment— adds a comment to an existing issue by numbersearch_issues— searches GitHub issues via the search API with optional state filterKey changes in
github.rs:create_issueandadd_issue_commentare nowpub(crate),add_issue_commentreturns the comment URL instead of(), and a newsearch_issuesfunction uses octocrab's search API.The old
read_github_datatool (which queried an Airbyte-synced Postgres DB) is removed in favor of live GitHub search. The oldsubmit_bug_report/submit_feature_requestfunctions are preserved for the HTTP/submitroute but no longer exposed as MCP tools.Review & Testing Checklist for Human
search_issuesonly searchesfastrepl/hyprnote— theGITHUB_OWNER/GITHUB_REPOconstants are hardcoded. Verify this is sufficient or iffastrepl/homebrew-hyprnoteshould also be searchable.add_issue_commentreturn type change — changed fromResult<()>toResult<String>. The only existing caller (attach_log_analysis) discards the result withlet _ =, so should be safe. Verify no other callers exist.IssueStateserialization — usesformat!("{:?}", issue.state).to_lowercase()sinceIssueStatedoesn't implDisplay. This produces"open"/"closed"based on Debug output — confirm this is stable across octocrab versions.create_issue,add_comment, andsearch_issueswork with the GitHub App credentials.Notes
db_poolfield onAppStateis no longer used by MCP tools (only by the HTTP route), which produces a dead-code warning. This is pre-existing — no new warnings introduced.create_issuelike bugs.Link to Devin run: https://app.devin.ai/sessions/bf96a1ec4c42434191e95bbe936db944
Requested by: @yujonglee