Repository navigation
[10.0.0] Deduplicate repository mappings before sorting (#32066) - #32300
Merged
iancha1992 merged 2 commits intoNov 2, 2026
Merged
Conversation
RepoMappingManifestAction deduplicates repository names in a HashMap before sorting the distinct names. It preserves the first mapping for a duplicate repository and keeps both expanded and compact output order; identical entry maps are still grouped for compact manifests. In the original 32,768-package, 256-manifest fixture with 1,024 repositories, manifest generation improved from 1.829 to 1.483 s. The 32-repository control was unchanged. The complete patch matches the original and git diff --check passes upstream. @fmeum Closes bazelbuild#32066 COPYBARA_INTEGRATE_REVIEW=bazelbuild#32066 from dzbarsky:dzbarsky/upstream-bazel-151 a9a0cf8 PiperOrigin-RevId: 1008281270 Change-Id: I08f73a5516830412c2d81bf327db079c558ca4eb
iancha1992
enabled auto-merge
October 30, 2026 22:41
|
❌ Bazel docs preview deployment failed (Mintlify result: timed_out). Please check the GitHub Actions logs for details. Updated for |
meisterT
approved these changes
Nov 2, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 2, 2026
iancha1992
enabled auto-merge
November 2, 2026 20:11
Merged
via the queue into
bazelbuild:release-10.0.0
with commit Nov 2, 2026
e72597a
36 checks passed
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.
RepoMappingManifestAction deduplicates repository names in a HashMap before sorting the distinct names. It preserves the first mapping for a duplicate repository and keeps both expanded and compact output order; identical entry maps are still grouped for compact manifests.
In the original 32,768-package, 256-manifest fixture with 1,024 repositories, manifest generation improved from 1.829 to 1.483 s. The 32-repository control was unchanged. The complete patch matches the original and git diff --check passes upstream.
@fmeum
Closes #32066
COPYBARA_INTEGRATE_REVIEW=#32066 from dzbarsky:dzbarsky/upstream-bazel-151 a9a0cf8
PiperOrigin-RevId: 1008281270
Change-Id: I08f73a5516830412c2d81bf327db079c558ca4eb
Commit d4b6b22