Skip to content

Avoid too verbose warnings in terminal when cache issues#14442

Closed
ulrfa wants to merge 2 commits intobazelbuild:masterfrom
ulrfa:remote_cache_warnings
Closed

Avoid too verbose warnings in terminal when cache issues#14442
ulrfa wants to merge 2 commits intobazelbuild:masterfrom
ulrfa:remote_cache_warnings

Conversation

@ulrfa
Copy link
Copy Markdown
Contributor

@ulrfa ulrfa commented Dec 16, 2021

Deduplicate warnings in terminal. This was working in earlier bazel
versions both for read and write, but become broken when write was
moved to RemoteExecutionService.java by the "Remote: Async upload"
set of commits, completed by commit 581c81a.

Use same phrase "Remote Cache" for both read and write, for
deduplication to work better.

Avoid printing short warnings on multiple lines for reads, as it
already was for writes.

Deduplicate warnings in terminal. This was working in earlier bazel
versions both for read and write, but become broken when write was
moved to RemoteExecutionService.java by the "Remote: Async upload"
set of commits, completed by commit 581c81a.

Use same phrase "Remote Cache" for both read and write, for
deduplication to work better.

Avoid printing short warnings on multiple lines for reads, as it
already was for writes.
@ulrfa ulrfa requested a review from a team as a code owner December 16, 2021 12:18
@ulrfa
Copy link
Copy Markdown
Contributor Author

ulrfa commented Dec 16, 2021

@coeuvre, what do you think about this? I'm asking you since related to your changes in "Remote: Async upload". Thanks!

Copy link
Copy Markdown
Member

@coeuvre coeuvre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@bazel-io bazel-io closed this in 2edab73 Jan 3, 2022
coeuvre pushed a commit to coeuvre/bazel that referenced this pull request Jan 3, 2022
Deduplicate warnings in terminal. This was working in earlier bazel
versions both for read and write, but become broken when write was
moved to RemoteExecutionService.java by the "Remote: Async upload"
set of commits, completed by commit 581c81a.

Use same phrase "Remote Cache" for both read and write, for
deduplication to work better.

Avoid printing short warnings on multiple lines for reads, as it
already was for writes.

Closes bazelbuild#14442.

PiperOrigin-RevId: 419442535
Wyverald pushed a commit that referenced this pull request Jan 4, 2022
Deduplicate warnings in terminal. This was working in earlier bazel
versions both for read and write, but become broken when write was
moved to RemoteExecutionService.java by the "Remote: Async upload"
set of commits, completed by commit 581c81a.

Use same phrase "Remote Cache" for both read and write, for
deduplication to work better.

Avoid printing short warnings on multiple lines for reads, as it
already was for writes.

Closes #14442.

PiperOrigin-RevId: 419442535

Co-authored-by: Ulrik Falklof <ulrik.falklof@ericsson.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants