Skip to content

Conversation

DolceTriade
Copy link
Contributor

No checksum being sent which means that the
request is not guaranteed reproducible. Bazel's downloader can be used as a general general purpose GET client, and many rulesets abuse this (rules_oci notably) to fetch things like credentials and things that are not reproducible and are dangerous to cache.

However, these things generally lack any checksum (as they downloading dynamic content), so if we require all asset fetch requests to have a checksum, we can filter out these requests and allow the user to have the option to fallback to the local downloader for these requests.

Otherwise, we will cache these, which is wrong.

No checksum being sent which means that the
request is not guaranteed reproducible. Bazel's downloader can be used
as a general general purpose GET client, and many rulesets abuse this
(rules_oci notably) to fetch things like credentials and things that are
not reproducible and are dangerous to cache.

However, these things generally lack any checksum (as they downloading
dynamic content), so if we require all asset fetch requests to have a
checksum, we can filter out these requests and allow the user to have
the option to fallback to the local downloader for these requests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant