Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Cache Bazel version history #442

Open
fweikert opened this issue Mar 22, 2023 · 0 comments
Open

FR: Cache Bazel version history #442

fweikert opened this issue Mar 22, 2023 · 0 comments
Labels
help wanted Needs help from external contributors P2 We'll consider working on this in future. (Assignee optional) type: feature request New feature or request

Comments

@fweikert
Copy link
Member

fweikert commented Mar 22, 2023

During working on #438 we found out that Bazelisk spends too much time on retrieving the Bazel version history (a process that happens every time we use a relative Bazel version identifier).

The GitHub repo implementation already caches the history for one hour (https://github.com/bazelbuild/bazelisk/blob/master/httputil/httputil.go#L241). We should implement something similar for GCS.

@fweikert fweikert added type: feature request New feature or request help wanted Needs help from external contributors P2 We'll consider working on this in future. (Assignee optional) labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Needs help from external contributors P2 We'll consider working on this in future. (Assignee optional) type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant