[9.1.0] Add short_uncached and detailed_uncached options to --test_summary (#28341)#29263
Draft
iancha1992 wants to merge 1 commit intobazelbuild:release-9.1.0from
Draft
[9.1.0] Add short_uncached and detailed_uncached options to --test_summary (#28341)#29263iancha1992 wants to merge 1 commit intobazelbuild:release-9.1.0from
short_uncached and detailed_uncached options to --test_summary (#28341)#29263iancha1992 wants to merge 1 commit intobazelbuild:release-9.1.0from
Conversation
…st_summary` (bazelbuild#28341) These options exclude cached test results from the summary. With `short` (default) ``` vscode ➜ /workspaces/bazel/bazel (uncached-test-summary-options) $ bazel-bin/src/bazel test //src/test/java/com/google/devtools/build/lib/runtime:RuntimeTests --test_filter=shortUncachedOption_allPassed INFO: Analyzed target //src/test/java/com/google/devtools/build/lib/runtime:RuntimeTests (0 packages loaded, 0 targets configured). INFO: Found 1 test target... Target //src/test/java/com/google/devtools/build/lib/runtime:RuntimeTests up-to-date: bazel-bin/src/test/java/com/google/devtools/build/lib/runtime/RuntimeTests bazel-bin/src/test/java/com/google/devtools/build/lib/runtime/RuntimeTests.jar INFO: Elapsed time: 0.770s, Critical Path: 0.00s INFO: 1 process: 1 action cache hit, 1 internal. INFO: Build completed successfully, 1 total action //src/test/java/com/google/devtools/build/lib/runtime:RuntimeTests (cached) PASSED in 2.8s Executed 0 out of 1 test: 1 test passes. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. ``` With `short_uncached` ``` vscode ➜ /workspaces/bazel/bazel (uncached-test-summary-options) $ bazel-bin/src/bazel test //src/test/java/com/google/devtools/build/lib/runtime:RuntimeTests --test_filter=shortUncachedOption_allPassed --test_summary=short_uncached INFO: Analyzed target //src/test/java/com/google/devtools/build/lib/runtime:RuntimeTests (0 packages loaded, 0 targets configured). INFO: Found 1 test target... Target //src/test/java/com/google/devtools/build/lib/runtime:RuntimeTests up-to-date: bazel-bin/src/test/java/com/google/devtools/build/lib/runtime/RuntimeTests bazel-bin/src/test/java/com/google/devtools/build/lib/runtime/RuntimeTests.jar INFO: Elapsed time: 0.264s, Critical Path: 0.00s INFO: 1 process: 1 action cache hit, 1 internal. INFO: Build completed successfully, 1 total action Executed 0 out of 1 test: 1 test passes. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. ``` Resolves bazelbuild#28062 RELNOTES: Reporting of cached test results can now be suppressed with `--test_summary=short_uncached` or `--test_summary=detailed_uncached`. Backport of bazelbuild#28290.
Member
Author
|
@Silic0nS0ldier |
Contributor
|
Ah, good catch. Thabkd. |
meisterT
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These options exclude cached test results from the summary.
With
short(default)With
short_uncachedResolves #28062
RELNOTES: Reporting of cached test results can now be suppressed with
--test_summary=short_uncachedor--test_summary=detailed_uncached.Backport of #28290.
Description
Motivation
Build API Changes
No
Checklist
Release Notes
RELNOTES: None
Commit 87aad18