ci(codecov): ignore per-module *SpanNames.h headers in coverage

The colocated span-name headers (RpcSpanNames.h, ConsensusSpanNames.h,
PeerSpanNames.h, etc.) hold only compile-time constant strings and live
next to their subsystem rather than under a telemetry/ directory, so the
existing dir-prefix ignores miss them. Add a **/*SpanNames.h glob so they
do not count against patch coverage; like the rest of the telemetry
surface they are not exercised in the coverage build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pratik Mankawde
2026-07-24 15:33:07 +01:00
parent c1f8843509
commit 3b4ef04575

View File

@@ -41,3 +41,6 @@ ignore:
- "src/xrpld/telemetry/"
- "src/libxrpl/telemetry/"
- "include/xrpl/telemetry/"
# Per-module span-name constant headers (compile-time constants only,
# colocated with their subsystem rather than under telemetry/).
- "**/*SpanNames.h"