Skip to content

[8.7.0] Fold environ into the predeclared inputs hash #29072

Merged
iancha1992 merged 1 commit into
bazelbuild:release-8.7.0from
fmeum:rrcc-8.7.0-06
Apr 1, 2026
Merged

[8.7.0] Fold environ into the predeclared inputs hash #29072
iancha1992 merged 1 commit into
bazelbuild:release-8.7.0from
fmeum:rrcc-8.7.0-06

Conversation

@fmeum

@fmeum fmeum commented Mar 24, 2026

Copy link
Copy Markdown
Collaborator

This makes repo contents cache lookups more efficient and avoids later Skyframe restarts.

Along the way, switch more RepoRecordedInputs-related fields to ImmutableSortedMap. This type has a lower memory usage than ImmutableMap and guarantees canonical ordering of entries.

Closes #26768.

PiperOrigin-RevId: 797852193
Change-Id: Icf1b7291fec3e01048c365f86446b139c281bde9
(cherry picked from commit fe040a3)

This makes repo contents cache lookups more efficient and avoids later Skyframe restarts.

Along the way, switch more `RepoRecordedInputs`-related fields to `ImmutableSortedMap`. This type has a lower memory usage than `ImmutableMap` and guarantees canonical ordering of entries.

Closes bazelbuild#26768.

PiperOrigin-RevId: 797852193
Change-Id: Icf1b7291fec3e01048c365f86446b139c281bde9
(cherry picked from commit fe040a3)
@fmeum fmeum changed the title [8.7.0] 06/23: Manual port of: Fold environ into the predeclared inputs hash [8.7.0] Fold environ into the predeclared inputs hash Mar 29, 2026
@fmeum fmeum marked this pull request as ready for review March 29, 2026 16:42
@fmeum fmeum requested a review from a team as a code owner March 29, 2026 16:42
@fmeum fmeum requested a review from Wyverald March 29, 2026 16:42
@github-actions github-actions Bot added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. area-Bzlmod Bzlmod-specific PRs, issues, and feature requests awaiting-review PR is awaiting review from an assigned reviewer labels Mar 29, 2026
@iancha1992 iancha1992 enabled auto-merge March 31, 2026 23:08
@iancha1992 iancha1992 added this pull request to the merge queue Apr 1, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 1, 2026
@iancha1992 iancha1992 added this pull request to the merge queue Apr 1, 2026
Merged via the queue into bazelbuild:release-8.7.0 with commit a396349 Apr 1, 2026
47 checks passed
@github-actions github-actions Bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Apr 1, 2026
@fmeum fmeum deleted the rrcc-8.7.0-06 branch April 3, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Bzlmod Bzlmod-specific PRs, issues, and feature requests team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants