bazel-contrib / setup-bazel

GitHub Action to configure Bazel
MIT License
34 stars 7 forks source link

Integrate remote cache server for Bazel #21

Open p0deje opened 4 months ago

p0deje commented 4 months ago

Related to #18

This pull request introduces a significant enhancement to the setup-bazel action by implementing a remote cache server for Bazel build outputs, aiming to improve build performance and cache utilization.


For more details, open the Copilot Workspace session.

chickenandpork commented 1 month ago

Is the dist/main/ directory included by accident? Many files seem duplicate between . and dist/main/, for example, dist/main/remote-cache-server.js is in both paths.

p0deje commented 1 month ago

@chickenandpork It's included intentionally, so I could test the branch in GHA directly. This however is not intended to be used directly as it's not really working stable. Are you interested in taking over and finishing this PR?

chickenandpork commented 1 month ago

@chickenandpork It's included intentionally, so I could test the branch in GHA directly. This however is not intended to be used directly as it's not really working stable.

OK, I understand; it looked like an error of duplicate code!

Are you interested in taking over and finishing this PR?

I don't think my javascript is sufficient. I only worked javascript (and coffeescript!) briefly around 2020. Sorry :(

Personally I use a local buchgr cache and I set up the same in ephemeral build clusters.

JohnAmican commented 1 month ago

@chickenandpork It's included intentionally, so I could test the branch in GHA directly. This however is not intended to be used directly as it's not really working stable. Are you interested in taking over and finishing this PR?

I'm interested in picking this up. What's not stable? What else is outstanding?

p0deje commented 1 month ago

@JohnAmican The summary is in https://github.com/bazel-contrib/setup-bazel/issues/18#issuecomment-2143683673, the stability is the main issue as on large projects the REST API calls to the GHA cache get rate limited.