Skip to content

--latest fails with a 403 when the GitHub API rate limit is exceeded #295

@digitalghost-dev

Description

@digitalghost-dev

poke-cli --latest returns a non-detailed unexpected GitHub response status: 403 once the unauthenticated GitHub API limit (60 req/hr per IP) is exhausted.

This doesn't raise the limit, but it makes the failure understandable:

  • On a rate-limit 403, show a clear message with the reset time instead of the bare status code.
  • Send a User-Agent: poke-cli header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementImprovement to an existing feature.

    Projects

    Status
    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions