From 3b4ef04575bd5e243e385621b64a837b6b0aa636 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Fri, 24 Jul 2026 15:33:07 +0100 Subject: [PATCH] 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) --- .codecov.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.codecov.yml b/.codecov.yml index 303632a7f1..84722f5810 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -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"