Commit a9b0617
committed
Add per-directory codecov coverage targets
The osapi/ package contains ~194k lines of generated code covering
every API in the OpenSearch spec. Coverage sits at ~25% because many
generated APIs target plugin-specific endpoints (ISM, anomaly
detection, k-NN, security, notifications) that require plugins not
present in the CI cluster.
Unit-level roundtrip tests exercise request construction and dispatch
for all 167 APIs, but full response parsing coverage requires
integration tests against a cluster with the relevant plugins enabled.
Expanding the CI cluster configuration and adding plugin-aware
integration tests would raise this target over time.
Component-level targets:
core (transport, utils, signer): 80% - mature, hand-written code
internal/path: 95% - small, fully testable
osapi: 25% - limited by CI plugin set
opensearchapi (legacy): 14% - frozen, being replaced
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>1 parent f117368 commit a9b0617
1 file changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
15 | 39 | | |
0 commit comments