ci: save the Rust cache from rust/full, run pytest in parallel #349
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!349
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@LooperSalty on GitHub · 2026-11-26 10:54 UTC · original
LooperSalty:ci/faster-tests-rust-full→rust/full· +8 −4 · 2 files · 1 commits · closed without mergingCompanion 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
@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 10:54 UTC · original · edited 2026-11-26 10:55 UTC
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.
@LooperSalty on GitHub · 2026-11-26 11:46 UTC · original
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