Skip to content

Github rate limit error handling #38

@Nortamo

Description

@Nortamo

To fetch the latest tag name, we currently query the Github API. This can hit a rate limit and we don't currently check for this error state:

curl -s https://api.github.com/repos/conda-forge/miniforge/releases/latest
{"message":"API rate limit exceeded for 86.50.165.212. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"
  • Implement check for this
  • Sensible error state or fallback

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions