Conversation
DebadityaHait
marked this pull request as ready for review
July 12, 2026 20:49
pr-assigner-resolver-posthog
Bot
requested review from
a team,
ablaszkiewicz,
cat-ph and
hpouillot
July 12, 2026 20:50
Contributor
|
Thanks for your contribution @DebadityaHait ! |
hpouillot
approved these changes
Jul 15, 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.
Problem
Closes #70238
Sourcemap S3 uploads use a process-wide Rayon pool hardcoded to 10 threads, so large builds cannot tune upload concurrency.
Changes
--concurrencyandPOSTHOG_CLI_SOURCEMAP_UPLOAD_CONCURRENCYtosourcemap uploadandsourcemap process.How did you test this code?
cargo +1.91.1 test concurrency --lib– 9 concurrency tests pass.cargo +1.91.1 test --all-features -- --skip test_pair_inject– 136 tests pass. On this Windows checkout, the skipped fixture test has the same CRLF/LF mismatch on unmodifiedmaster.cargo +1.91.1 clippy --all-targets --all-features -- -D warnings -A clippy::needless-borrows-for-generic-args– clean; the allowed lint is an unchanged Windows-only finding inlogin.rs.cargo +1.91.1 fmt --all -- --check, release build, and Rustdoc with warnings denied – clean.Automatic notifications
Docs update
Updated
cli/README.mdwith the default, precedence, direct CLI usage, and build-environment usage for@posthog/nextjs-config.🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Codex made the changes and ran the checks using the public
contributeskill. I chose a PostHog-specific setting and a local pool so sourcemap builds can tune their upload workload without changing unrelated global Rayon behavior.