You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(server): add rate limiting and improve handler architecture (#17)
- Add RateLimitDeferrer to handle GitHub API rate limit backoff with exponential retry and jitter
- Create fetcher_test.go with comprehensive test coverage for ConfigFetcher
- Refactor ConfigFetcher constructor for cleaner initialization
- Improve base handler with rate limit context propagation
- Enhance eval context with rate limit aware evaluation
- Add rate limit test suite with mock GitHub client
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
zerolog.Ctx(deferredCtx).Error().Err(err).Msgf("Deferred evaluation failed for %s/%s#%d", loc.Owner, loc.Repo, loc.Number)
197
+
}
198
+
}) {
199
+
zerolog.Ctx(ctx).Warn().Msgf("Deferring evaluation for %s/%s#%d because installation %d is rate limited", loc.Owner, loc.Repo, loc.Number, installationID)
0 commit comments