bufbuild / rules_buf

Bazel rules for Buf.
Apache License 2.0
45 stars 17 forks source link

rules_buf tries to fetch plugins, despite not being used #83

Open AngerM opened 3 weeks ago

AngerM commented 3 weeks ago

We use buf only for linting, yet rules_buf appears to be making calls to the remote plugins leading to errors like:

rules_buf_toolchains/versions.json: GET returned 403 rate limit exceeded

rules_buf shouldn't be making these calls if we aren't using remote plugins

srikrsna-buf commented 3 weeks ago

Hey! it downloads buf cli and the lint, breaking plugin from GitHub releases. It doesn't make any calls to remote plugins. The error you are seeing seems to be rate limit from GitHub, are you seeing this in CI?

AngerM commented 3 weeks ago

Hmm, shouldn't that be cached? What is the URL its trying to download? I ask because our other git and gh command tools continue to work without issue, but rules_buf was breaking for a lot of users.