Repository navigation
tests/coverage: Use tooling from toolshed - #48659
Merged
Merged
Conversation
phlax
requested review from
RyanTheOptimist,
abeyad,
agrawroh,
danzh2010 and
jwendell
as code owners
October 24, 2026 14:27
phlax
marked this pull request as draft
October 24, 2026 14:27
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Mobile coverage is blocked by a missing grcov repository import and test-only filtering of the runner target.
2 open issues
What changed in this PR
This PR migrates Envoy’s coverage generation and validation to shared toolshed tooling, replacing local scripts and templates for core and mobile builds.
Changes:
- Replace local coverage implementations with toolshed report targets and runner commands.
- Update CI workflows and coverage documentation.
- Pin toolshed overrides across Bazel workspaces and update zstd in root and mobile modules.
| File | Description |
|---|---|
| tools/coverage/validate.sh | Remove local threshold validator. |
| tools/coverage/templates/macros.html | Remove local report macros. |
| tools/coverage/templates/index.html | Remove local report index template. |
| tools/coverage/templates/base.html | Remove local report base template. |
| tools/coverage/report_generator.sh.template | Remove local report generator. |
| tools/coverage/filter.jq | Remove local coverage processing logic. |
| tools/coverage/BUILD | Define the toolshed coverage report target. |
| test/run_envoy_bazel_coverage.sh | Remove the local coverage runner. |
| test/fuzz/README.md | Document toolshed fuzz coverage commands. |
| MODULE.bazel | Pin toolshed overrides and update zstd. |
| mobile/test/BUILD | Add mobile coverage report targets. |
| mobile/MODULE.bazel | Pin toolshed overrides and update zstd. |
| mobile/envoy_build_config/MODULE.bazel | Add toolshed overrides. |
| mobile/.bazelrc | Select the mobile coverage generator and config. |
| docs/MODULE.bazel | Add toolshed overrides. |
| ci/osx-build-config/MODULE.bazel | Add toolshed overrides. |
| ci/do_ci.sh | Invoke the toolshed coverage runner. |
| bazel/tests/external/MODULE.bazel | Add toolshed overrides. |
| bazel/tests/codeql/MODULE.bazel | Add toolshed overrides. |
| bazel/README.md | Document the new coverage CLI. |
| api/MODULE.bazel | Add toolshed overrides. |
| .github/workflows/mobile-coverage.yml | Launch mobile coverage through toolshed. |
| .github/config.yml | Remove the deleted runner from change triggers. |
| .bazelrc | Select the toolshed-backed report target. |
Review effort: Balanced
phlax
force-pushed
the
toolshed-coverage
branch
9 times, most recently
from
October 24, 2026 22:04
ffafef4 to
7519341
Compare
phlax
marked this pull request as ready for review
October 24, 2026 22:31
Signed-off-by: Ryan Northey <[email protected]>
phlax
force-pushed
the
toolshed-coverage
branch
from
October 25, 2026 08:53
7519341 to
442d81a
Compare
jwendell
approved these changes
Oct 26, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 9, 2026
Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 02fe237) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 11, 2026
Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 02fe237) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 12, 2026
Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 02fe237) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 12, 2026
Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 02fe237) Signed-off-by: Ryan Northey <[email protected]>
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.


No description provided.