Skip to content

[8.7.0] Fix transitive deps crashes due to IllegalStateException (https://github.com/bazelbuild/bazel/pull/29289)#29307

Merged
iancha1992 merged 1 commit intobazelbuild:release-8.7.0from
bazel-io:cp29289-8.7.0-172925
Apr 15, 2026
Merged

[8.7.0] Fix transitive deps crashes due to IllegalStateException (https://github.com/bazelbuild/bazel/pull/29289)#29307
iancha1992 merged 1 commit intobazelbuild:release-8.7.0from
bazel-io:cp29289-8.7.0-172925

Conversation

@bazel-io
Copy link
Copy Markdown
Member

Description

This adds a needed valuesMissing() guard to fix rare crashes with IllegalStateException when evaluating TransitiveTargetKey nodes whose transitive closures include rules with aspects.

Motivation

Fixes #29280

Build API Changes

No

Checklist

  • I have added tests for the new use cases (if any).
  • I have updated the documentation (if applicable).

Release Notes

RELNOTES: None

Closes #29289.

PiperOrigin-RevId: 900232825
Change-Id: I7ba3c5282e4f56a6ef803495b03419b9322c8be3

Commit 26ceb58

…29289)

### Description
This adds a needed `valuesMissing()` guard to fix rare crashes with `IllegalStateException` when evaluating `TransitiveTargetKey` nodes whose transitive closures include rules with aspects.

### Motivation
Fixes bazelbuild#29280

### Build API Changes

No

### Checklist

- [ ] I have added tests for the new use cases (if any).
- [ ] I have updated the documentation (if applicable).

### Release Notes

RELNOTES: None

Closes bazelbuild#29289.

PiperOrigin-RevId: 900232825
Change-Id: I7ba3c5282e4f56a6ef803495b03419b9322c8be3
@bazel-io bazel-io added the team-Core Skyframe, bazel query, BEP, options parsing, bazelrc label Apr 15, 2026
@bazel-io bazel-io requested a review from a team as a code owner April 15, 2026 17:29
@bazel-io bazel-io added the awaiting-review PR is awaiting review from an assigned reviewer label Apr 15, 2026
@bazel-io bazel-io requested review from fmeum and justinhorvitz April 15, 2026 17:29
@iancha1992 iancha1992 added this pull request to the merge queue Apr 15, 2026
Merged via the queue into bazelbuild:release-8.7.0 with commit 9e14152 Apr 15, 2026
47 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-Core Skyframe, bazel query, BEP, options parsing, bazelrc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants