Skip to content

Fix transitive deps crashes due to IllegalStateException#29289

Closed
jnowjack-lucidchart wants to merge 1 commit intobazelbuild:masterfrom
lucidsoftware:jnowjack-fix-transitive-dep-crash
Closed

Fix transitive deps crashes due to IllegalStateException#29289
jnowjack-lucidchart wants to merge 1 commit intobazelbuild:masterfrom
lucidsoftware:jnowjack-fix-transitive-dep-crash

Conversation

@jnowjack-lucidchart
Copy link
Copy Markdown
Contributor

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

@github-actions github-actions bot added team-Core Skyframe, bazel query, BEP, options parsing, bazelrc awaiting-review PR is awaiting review from an assigned reviewer labels Apr 14, 2026
@fmeum fmeum requested a review from justinhorvitz April 14, 2026 05:41
@fmeum
Copy link
Copy Markdown
Collaborator

fmeum commented Apr 14, 2026

@bazel-io fork 8.7.0

@fmeum
Copy link
Copy Markdown
Collaborator

fmeum commented Apr 14, 2026

@bazel-io fork 9.1.0

@iancha1992 iancha1992 added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Apr 14, 2026
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Apr 15, 2026
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Apr 15, 2026
…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 pushed a commit to bazel-io/bazel that referenced this pull request Apr 15, 2026
…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
github-merge-queue bot pushed a commit that referenced this pull request Apr 15, 2026
) (#29307)

### 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

Co-authored-by: Jacob Nowjack <jnowjack@lucidchart.com>
github-merge-queue bot pushed a commit that referenced this pull request Apr 15, 2026
) (#29306)

### 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

Co-authored-by: Jacob Nowjack <jnowjack@lucidchart.com>
jnowjack-lucidchart added a commit to lucidsoftware/bazel that referenced this pull request Apr 15, 2026
…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
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.

TransitiveTargetKey evaluation crashes with IllegalStateException due to missing valuesMissing() guard

4 participants