CI: cache Rust build and pinned tarball downloads by mrigger · Pull Request #1338 · sqlancer/sqlancer · GitHub
Skip to content

CI: cache Rust build and pinned tarball downloads#1338

Open
mrigger wants to merge 2 commits intomainfrom
ci/cache-rust-and-tarballs
Open

CI: cache Rust build and pinned tarball downloads#1338
mrigger wants to merge 2 commits intomainfrom
ci/cache-rust-and-tarballs

Conversation

@mrigger
Copy link
Copy Markdown
Contributor

@mrigger mrigger commented Apr 23, 2026

Three caches that avoid repeated network work, keyed on pinned versions:

  • Swatinem/rust-cache for the DataFusion Rust build (cargo registry + target)
  • actions/cache for the CockroachDB tarball (cockroachdb + cockroachdb-qpg)
  • actions/cache for the Doris tarball

Tarballs are cached as raw .tgz/.tar.gz files rather than extracted dirs, so runtime state from previous runs is not persisted.

mrigger and others added 2 commits April 23, 2026 23:42
Three caches that avoid repeated network work, keyed on pinned versions:
- Swatinem/rust-cache for the DataFusion Rust build (cargo registry + target)
- actions/cache for the CockroachDB tarball (cockroachdb + cockroachdb-qpg)
- actions/cache for the Doris tarball

Tarballs are cached as raw .tgz/.tar.gz files rather than extracted dirs,
so runtime state from previous runs is not persisted.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Warm-cache rerun showed CockroachDB setup at 11s vs 10s baseline -
binaries.cockroachdb.com is fast enough that cache restore offers no
saving. Keep the Rust build (-90s) and Doris (-216s) caches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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