ci: run pytest in parallel, start it with lint, cache the C++ runtime #348
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!348
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-348"
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:53 UTC · original
LooperSalty:ci/faster-tests→main· +30 −2 · 2 files · 2 commits · merged 2026-11-26 11:12 UTCCuts the time of the
testsworkflow on pull requests tomain.Measured before (pytest job, two green runs of today)
lintfirst (needs: lint)Changes
python -m pytest -n autowithpytest-xdist==3.6.1(added torequirements-dev.txt). Measured locally on 1,421 tests: 61 s serial, 21 s with-n 4, and 15 s withANYXBOXX_REQUIRE_RUNTIME=1 ANYXBOXX_GPU=warp -n 4. Same results in all three runs, and the README test-count check still passes (each xdist worker collects the full suite).needs: lint: the three jobs start together.lintis still a required check and still blocks the merge when it fails.runtime/build(about 9 MB, withoutruntime/build/tombox), keyed byhashFiles('runtime/**')and the runner image version (MSVC). It is restored on every run and saved frommainonly, like the Rust cache. The build only readsruntime/(checked inruntime/CMakeLists.txt), so it is skipped wheneverruntime/is unchanged.Expected: about 1.5–2.5 min less per run (more when
runtime/is unchanged). The check names (lint,politique VIctory,pytest) are unchanged, so branch protection needs no edit.Test plan
-n 4locally, serial and CI env: all passedmainsavesruntime-cpp-*, and the PR after that restores it (Runtime C++ skipped)A matching PR for
rust/fullfollows. There, the Rust cache is never saved (no push trigger onrust/full,save-ifmain only), so every PR recompiles the whole workspace.🤖 Generated with Claude Code
https://claude.ai/code/session_01LwHrL62nyr3m1M4tJsHRox
@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 10:53 UTC · original · edited 2026-11-26 10:54 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
9f583fcℹ️ 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.