The GitHub Actions job "Build" on texera.git/perf/ci-cache-pip-and-sbt has 
failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
f0cfa99715a858204dcebf01ff1f9d3ab5aba3f5 / Yicong Huang 
<[email protected]>
perf(ci): cache pip wheels and sbt build artifacts

The scala job spends ~1m 21s on `pip install` and ~2m 44s on the
combined lint + cold compile every run. Both repeat work that doesn't
change between runs:

- `actions/setup-python@v6` supports a built-in pip cache via the
  `cache` option; declaring `cache-dependency-path` keys it on the
  requirement files we actually use.
- `coursier/cache-action` only caches `~/.sbt`, `~/.ivy2/cache`, and
  `~/.cache/coursier`. It does not touch each module's
  `target/scala-2.13/` directory, where zinc keeps its incremental
  compile state and scalapb writes generated sources. An
  `actions/cache@v4` step covering `target/scala-2.13/{classes,zinc,
  src_managed}` lets unchanged sources skip recompile entirely;
  `restore-keys` lets partial source changes fall back to the closest
  cache so zinc only recompiles what changed.

Closes #4519

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/24946008904

With regards,
GitHub Actions via GitBox

Reply via email to