Skip to content

Extension fails on GitHub rate limiting #52

Description

@MaddyGuthridge

GitHub has been pretty significantly rate-limiting unauthenticated requests for me recently. It appears that the Harper Zed extension does not handle its update check gracefully, and crashes when it receives the rate-limiting error from GitHub.

The output it produces is:

Language server harper-ls:

from extension "harper" version 0.1.5: Failed to fetch latest release: status error 403, response: "{\"message\":\"API rate limit exceeded for 112.213.134.48. (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\"}\n"

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