Skip to content

feat: automated PR review agent — trigger code reviewer on new PRs#94

Open
DorianZheng wants to merge 1 commit into
mainfrom
feature/pr-reviewer-poller
Open

feat: automated PR review agent — trigger code reviewer on new PRs#94
DorianZheng wants to merge 1 commit into
mainfrom
feature/pr-reviewer-poller

Conversation

@DorianZheng

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a GitHub Actions workflow to label new pull requests for review automation.
  • Adds a TypeScript polling service under src/electron/main/pr-reviewer/ that detects new PRs on polygala-ai/dune and boxlite-ai/agentlite.
  • Creates Dune work items with the PR URL and diff, then auto-assigns them to the correct reviewer agent.

Notes

  • Branch commit: 92688d5 (feat: add automated PR review agent poller).

Adds a GitHub Actions workflow and a local polling module to automatically
detect new PRs in polygala-ai/dune and boxlite-ai/agentlite, create Dune
work items, and assign them to the correct reviewer agent.

- .github/workflows/dune-review-trigger.yml: labels PRs with
  dune-review-requested on open/reopen
- src/electron/main/pr-reviewer/poller.ts: polls GitHub API every 5 min,
  creates work items in the Dune workflow snapshot, deduplicates via a
  state file in userData, and updates labels to dune-review-in-progress
- src/electron/main/pr-reviewer/index.ts: re-exports poller API
- src/electron/main.ts: starts the poll loop after runtime bootstrap

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant