Skip to content

Handle GitHub throttling errors properly #4616

@blkt

Description

@blkt

GitHub occasionally throttles calls returning a wealth of information on how to correctly handle the issue

403 API rate limit of 5000 still exceeded until 2024-10-02 09:30:01 +0000 UTC, not making remote request. [rate reset in 5m35s]

We do not handle throttling errors form GitHub properly.

  • expose throttling error with a specialized error type wrapping all necessary information
  • make use of the information returned to decide how to react from the upper layers

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Fix Soon: High priority items that should be considered in the next Sprint planning cyclegood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions