ci: save the Rust cache from rust/full, run pytest in parallel #349
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/349"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-26T10:54:03Z.
Companion of #348 for
rust/full, where CI time is worst.Problem (measured)
The pytest job of #344 (into
rust/full) has spent more than 16 minutes in "Rust (espace racine, crates/)" alone.Swatinem/rust-cacheonly saves withsave-if: github.ref == 'refs/heads/main', and the workflow has nopushtrigger onrust/full. So no cache ever exists for therust/fullworkspace (rootCargo.toml,crates/, VIctory's crates by path), and every pull request rebuilds every dependency from scratch.Changes
push: branches: [main, rust/full]andsave-iftrue onmainorrust/full: the first push torust/fullafter this merge writes the cache, and later PRs restore it.pytest -n autowithpytest-xdist==3.6.1. Onmain's suite this measured 61 s serial and 15 s with-n 4, same results.lint(still a required check).The C++ cache of #348 is left out here on purpose: on this branch, the CMake step also copies the Rust runtime DLLs from
target/release, so it must run after cargo every time.Test plan
-n auto(parity tests included)rust/fullshows "Post Cache Rust" saving, and the next PR's Rust step takes minutes, not 16+🤖 Generated with Claude Code
https://claude.ai/code/session_01LwHrL62nyr3m1M4tJsHRox
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-26T10:54:18Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
2abb43fℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-26T11:46:39Z.
Superseded by #351: its workflow already runs pytest with -n auto without waiting for lint, and saves the Rust cache from pull requests.
🤖 Generated with Claude Code
Pull request closed