feat(github): add GitHub connector for PR reviews and mentions#29
Merged
Conversation
Introduce void-github connector that syncs open PRs requesting review, comments on authored PRs, and @mentions via GitHub REST APIs. Each repository maps to a conversation so ignore_conversations supports repo-level muting. Includes setup wizard, config schema, and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
Add wiremock-backed tests for the GitHub client error paths (401, 403 rate limit, 5xx, malformed JSON). Drop the unused GitHubError type (the crate threads anyhow::Result throughout) and its now-unused thiserror dependency. Remove the dead username argument from the sync path; it is only needed for the authenticate() warning since review search uses @me and mention notifications are already user-scoped. Advance the notification cursor for every notification so a batch of only filtered-out items still moves `since` forward instead of re-fetching the same window each poll. Co-authored-by: Cursor <cursoragent@cursor.com>
… cursor stalls Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
void-githubconnector that surfaces GitHub activity in the Void inbox:void mute owner/repoorignore_conversationstoken,username), and docs updatesTest plan
cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspacecargo build --releasevoid setup, add GitHub connection with a PATvoid sync --daemonand verify PR review requests, PR comments, and mentions appear invoid inboxvoid mute owner/repoand confirm muted repo messages are excluded from inboxMade with Cursor