Github Pr Feed
@mgreten/github-pr-feedv2026.05.20.1
01README
Poll open GitHub PRs for new reviews, comments, and check failures with per-PR watermark deduplication and GitHub API rate-limit backoff. One refresh call fetches all activity; downstream models consume the cached feedbackEvent artifacts without making additional API calls.
02Models
@mgreten/github-pr-feedv2026.05.20.1github_pr_feed.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| githubUser | string | |
| repo | string | |
| skipAuthors | array | |
| rateLimitFloor | number | |
| backoffSchedule | array |
fn refresh(dryRun: boolean)
Poll open PRs for new reviews, comments, and check failures.
| Argument | Type | Description |
|---|---|---|
| dryRun | boolean | Log events without writing artifacts or updating watermarks |
fn getRateLimit()
Check current GitHub REST API rate limit status and any active backoff state.
fn clearBackoff()
Manually clear GitHub rate limit backoff state. Use when you know
Resources
refreshResult(7d)— Summary of a single refresh cycle — PRs polled, events detected, rate limit status
prSnapshot(30d)— Per-PR state snapshot with watermarks for deduplication across refresh cycles
feedbackEvent(14d)— Individual feedback event detected on a PR (review, comment, or check failure)
rateLimit(1d)— GitHub REST API rate limit backoff state with exponential escalation
03Stats
A
100 / 100
Downloads
2
Archive size
15.1 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
04Platforms