fury icon indicating copy to clipboard operation
fury copied to clipboard

[CI] Cache Bazel binary in Python CI workflow

Open urlyy opened this issue 2 months ago • 4 comments

Feature Request

The Python CI workflow sometimes experiences flaky failures. PR #2733 added retry logic to mitigate the issue, but the root cause is that the workflow downloads Bazel on every run.

We should use GitHub Actions caching to avoid downloading Bazel on every run.

Is your feature request related to a problem? Please describe

#2731

Describe the solution you'd like

  • GitHub Actions cache is Simple, caches the binary directly.
  • Bazelisk can auto-manages Bazel versions with caching.

But I think Fory doesn’t seem to need managing multiple Bazel versions — caching the binary directly is enough. What's your opinion? @chaokunyang

urlyy avatar Oct 10 '25 06:10 urlyy

@SanyamSuyal Are you still willing to continue working on this issue?

urlyy avatar Oct 10 '25 06:10 urlyy

@urlyy Sure!!

SanyamSuyal avatar Oct 10 '25 08:10 SanyamSuyal

@SanyamSuyal It seems bazel install still take 2 minutes, see more details in https://github.com/apache/fory/issues/2880. Would you like to work on it?

chaokunyang avatar Nov 03 '25 04:11 chaokunyang

@SanyamSuyal It seems bazel install still take 2 minutes, see more details in #2880. Would you like to work on it?

Sure!

SanyamSuyal avatar Nov 05 '25 15:11 SanyamSuyal