Skip to content

Set ext_authz coverage threshold to 98%#44923

Draft
etruong42 wants to merge 7 commits into
envoyproxy:mainfrom
etruong42:authz100cov
Draft

Set ext_authz coverage threshold to 98%#44923
etruong42 wants to merge 7 commits into
envoyproxy:mainfrom
etruong42:authz100cov

Conversation

@etruong42
Copy link
Copy Markdown
Contributor

@etruong42 etruong42 commented May 7, 2026

100% coverage is achieved for

  • source/extensions/filters/common/ext_authz
  • source/extensions/filters/http/ext_authz
  • source/extensions/filters/network/ext_authz

A 98% coverage threshold is configured for these directories

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

etruong42 added 5 commits May 6, 2026 16:58
| Component / File | Baseline Coverage (Before) | New Coverage (After) | Improvement |
| - | - | - | - |
| HTTP Filter (ext_authz.cc) | 95.4% (1045/1095 lines) | 98.7% (1081/1095 lines) | +3.3% |
| Network Filter (ext_authz.cc) | 89.5% (111/124 lines) | 91.1% (113/124 lines)* | +1.6% |
| HTTP Common Client (ext_authz_http_impl.cc) | 96.4% (322/334 lines) | 97.9% (327/334 lines)* | +1.5% |

Signed-off-by: Ethan Truong <ethantruong@google.com>
| Component / File | Baseline Coverage (Before) | New Coverage (After) |
| - | - | - |
| HTTP Filter (ext_authz.cc) | 95.4% (1045/1095 lines) | 99.2% (1086/1095 lines) |
| HTTP Common Client (ext_authz_http_impl.cc) | 96.4% (322/334 lines) | 100.0% (334/334 lines) |

Signed-off-by: Ethan Truong <ethantruong@google.com>
Signed-off-by: Ethan Truong <ethantruong@google.com>
Signed-off-by: Ethan Truong <ethantruong@google.com>
Signed-off-by: Ethan Truong <ethantruong@google.com>
@repokitteh-read-only
Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #44923 was opened by etruong42.

see: more, trace.

Signed-off-by: Ethan Truong <ethantruong@google.com>
@tyxia
Copy link
Copy Markdown
Member

tyxia commented May 7, 2026

let's don't set it to 100%. This will make future PR Authors' life harder:) A high and good coverage is sufficient

Signed-off-by: Ethan Truong <ethantruong@google.com>
@etruong42 etruong42 changed the title Set ext_authz code coverage threshold to 100% Set ext_authz coverage threshold to 98% May 7, 2026
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