Skip to content

[S6] Implement GitHub API rate limit tracking and backoff #65

@krakenhavoc

Description

@krakenhavoc

Description

Systematic rate limit handling across all GitHub API calls.

Implementation

  • Wrapper around Octokit that reads rate limit headers on every response
  • Log current remaining/limit/reset after each call
  • Automatic backoff when remaining drops below threshold (100)
  • Exponential backoff on 403 rate limit responses
  • Per-installation tracking (each installation has its own rate limit)

Acceptance Criteria

  • Rate limits tracked per installation
  • Automatic backoff prevents 403s
  • Backoff is logged with reset time
  • Works for both REST and GraphQL endpoints

Metadata

Metadata

Assignees

No one assigned

    Labels

    github-integrationGitHub App + Action integrationreconcilerReconciliation enginesprint-6Sprint 6: PR Validation & Scheduled Reconciliation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions