Skip to content

Fix/reduce GitHub api calls#29

Merged
genisd merged 4 commits intogynzyfrom
fix/reduce-github-api-calls
Apr 21, 2026
Merged

Fix/reduce GitHub api calls#29
genisd merged 4 commits intogynzyfrom
fix/reduce-github-api-calls

Conversation

@genisd
Copy link
Copy Markdown
Member

@genisd genisd commented Apr 21, 2026

Summary

Changes

Testing

  • Tests pass (pnpm turbo test)
  • Typechecks pass (pnpm turbo typecheck)

Related

Closes #

Screenshots

genisd and others added 4 commits April 21, 2026 16:02
…m polling

- Resync sweep: exclude 'cancelled' and 'failed' states (covered by PR watcher or need user intent)
- PR watcher: skip tasks where prState is already 'closed' or 'merged'

Before: ~60 tasks swept every 5min, ~2000+ GitHub API calls/hour
After: only active tasks with open PRs are polled
Reduces GitHub API calls by polling PRs every 2 minutes instead of 30s.
@genisd genisd merged commit 46ca84f into gynzy Apr 21, 2026
15 checks passed
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.

2 participants