Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce verbosity of BulkTransferException #23490

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ulrfa
Copy link
Contributor

@ulrfa ulrfa commented Sep 2, 2024

BulkTransferException was sometimes overly verbose in the console, particularly when many transfers failed for the same reason.

This commit shortens and normalizes BulkTransferException messages to improve the efficiency of existing event deduplication, such as that performed by RemoteExecutionService.report().

Normalization involves not mentioning individual digests in exception messages from ByteStreamUploader. Instead, we now wrap StatusRuntimeException directly in an IOException, which is a common pattern in the GrpcCacheClient.

BulkTransferException was sometimes overly verbose in the console,
particularly when many transfers failed for the same reason.

This commit shortens and normalizes BulkTransferException messages
to improve the efficiency of existing event deduplication, such as
that performed by RemoteExecutionService.report().

Normalization involves not mentioning individual digests in exception
messages from ByteStreamUploader. Instead, we now wrap
StatusRuntimeException directly in an IOException, which is a common
pattern in GrpcCacheClient.
@ulrfa ulrfa marked this pull request as ready for review September 9, 2024 12:19
@ulrfa ulrfa requested a review from a team as a code owner September 9, 2024 12:19
@github-actions github-actions bot added team-Remote-Exec Issues and PRs for the Execution (Remote) team awaiting-review PR is awaiting review from an assigned reviewer labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review PR is awaiting review from an assigned reviewer team-Remote-Exec Issues and PRs for the Execution (Remote) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant