Skip to content

schema-tools exceed GitHub rate limit #64

@t0yv0

Description

@t0yv0

What happened?

It would be great if schema-tools accepted a local JSON file for comparison instead of polling GItHub API. In the context of bridged provider builds it is possible to fetch this from Git without putting pressure on the GitHub rate limit that we might be facing company-wide. This will make our builds more reliable.

Run EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
ERROR: logging before flag.Parse: E0208 21:43:04.907604   17665 log.go:80] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-azuredevops/contents/provider/cmd/pulumi-resource-azuredevops/schema.json?ref=master, try again in 51m5.092418163s.
Error: rate limit exceeded: 403 HTTP error fetching schema from https://api.github.com/repos/pulumi/pulumi-azuredevops/contents/provider/cmd/pulumi-resource-azuredevops/schema.json?ref=master
Usage:
  schema-tools compare [flags]

FAILED pulumi/pulumi-azuredevops#293
FAILED pulumi/pulumi-azuredevops#292
FAILED pulumi/pulumi-databricks#338

Example

See above

Output of pulumi about

N/A

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions