Repository navigation
Conversation
Assisted-by: ClaudeCode:claude-opus-5-5
Overlapping the cleanup and download saved only ~17 s, and the download competed with the cleanup for disk I/O. Assisted-by: ClaudeCode:claude-opus-5-5
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I found out about this in pypa/build#1213. Based on this, I've added a skill to henryiii/skills to do this in other repos.
I think we need to trim our CI a bit, but making jobs faster without trimming is always a win if it works. :)
🤖 AI text below 🤖
Description
Use the new GitHub Actions
background/wait/parallelstep keywords to run independent steps at the same time:reusable-standard.yml: install Boost in the background during Python/uv setup. After the build, run the Python tests, the interface test, and the setuptools helpers test in parallel. Pytest is single-threaded, so the compile-heavy tests use the idle cores. The Python tests now callpython -m pytestdirectly, because two concurrentcmake --buildcalls on one build tree are not safe.Measured against the previous master run, the parallel test group saves a median of 40 s per job on Linux, 48 s on macOS, and 94 s on Windows. Pytest alone is 30-56 s slower because it shares the CPU, but the group is still shorter. The Boost change saves only 2-6 s.
I also tried to download the NVHPC package during the disk cleanup. It saved only about 17 s because the download and the cleanup competed for disk I/O, so I removed it.
📚 Documentation preview 📚: https://pybind11--6199.org.readthedocs.build/