Skip to content

Add null check for label in cache key scrubber - #40

Merged
ckilian867 merged 1 commit into
uber/java/8.5.1from
uber/java/8.5.1.002
Jun 24, 2026
Merged

ckilian867 merged 1 commit into
uber/java/8.5.1from
uber/java/8.5.1.002

Conversation

@ckilian867

Copy link
Copy Markdown
Collaborator

Prior to this commit, there was an access to getLabel() with no null check. --combined_report=lcov creates an action with no label, causing a crash when the cache key scrubbing tries to determine whether to scrub the action.

In this commit we add a null check to avoid the crash.

Open source PR: bazelbuild#29980

Prior to this commit, there was an access to getLabel() with no null
check. --combined_report=lcov creates an action with no label, causing
a crash when the cache key scrubbing tries to determine whether to
scrub the action.

In this commit we add a null check to avoid the crash.
@CLAassistant

CLAassistant commented Jun 24, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@ckilian867
ckilian867 merged commit 817bc55 into uber/java/8.5.1 Jun 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants