Repository navigation
Feature/build perf - #10799
Merged
Merged
Feature/build perf#10799
Conversation
* Parallelize docs builds with sphinx-build -j * Declare the guzzle theme parallel-safe and build sitemap.xml from the environment so it is complete and ordered like a serial build when writing in parallel. * Add the parallel_chunks extension, which reads with one interleaved chunk per process so the main process does not repeatedly unpickle large environments, and restores the serial document order. * Add the parallel_write extension, which loads, resolves and indexes doctrees in the worker processes and merges search index entries back in chunk order. With sphinx-build -j 16 this builds the docs in ~9.5 minutes instead of ~57 minutes, with output identical to a serial build. * Fail unit tests when Sphinx is upgraded without revalidation The parallel docs extensions patch Sphinx internals, so add a unit test that fails when the Sphinx version in requirements-docs-lock.txt no longer matches the version they were validated against, with steps to confirm parallel and serial builds produce identical output. Also restore the release version in doc/source/conf.py, which was accidentally reverted.
Add a --dist option to scripts/ci/run-tests and run the integration tests with --dist loadgroup. Tests are grouped per file as before, except the large offline skeleton tests, which are distributed per test, and the S3 plugin tests, which are distributed per class.
* Fix test_can_delete_single_sse_c_object waiting ~100s for the object_exists waiter to fail. * Don't retry connection errors in test_verify_endpoint_url_is_used, which uses an endpoint with nothing listening.
ashovlin
approved these changes
Oct 22, 2026
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.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.