ci: parallelize dev.materialize.com docs build and upload#36807
Merged
def- merged 1 commit intoMay 30, 2026
Conversation
The deploy-devsite step ran for ~40 minutes, ~33 of which were two sequential `aws s3 sync` uploads of the Rust docs (~13k tiny HTML files, ~203 MiB each) at the aws CLI's default concurrency of 10, making them request-latency bound rather than bandwidth bound. This also fixes a latent bug: both `bin/doc` invocations wrote to the same target dir, so the `--document-private-items` build clobbered the public build before either was uploaded, and both `api/rust` and `api/rust-private` ended up serving the private docs. Changes: - Build the public (`api/rust`) and private (`api/rust-private`) docsets into separate target dirs and run each build+upload pipeline in parallel. - Bump `s3.max_concurrent_requests` to 100 so the many small files upload concurrently. - Add `--delete` to the Rust syncs so each prefix is a clean mirror and the private pages previously mis-uploaded to `api/rust` are purged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
def-
added a commit
that referenced
this pull request
May 31, 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.
Closes https://linear.app/materializeinc/issue/QAR-76/deploy-devsite-build-step-duration-has-increased-noticeably