From 124a510a532eb6e7c2b09b592fa4fdc290492b59 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Tue, 10 Mar 2026 19:01:41 +0000 Subject: [PATCH] =?UTF-8?q?Phase=208:=20Fix=20CI=20=E2=80=94=20add=20missi?= =?UTF-8?q?ng=20OTel=20trace/context.h=20include=20and=20cspell=20logql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add opentelemetry/trace/context.h to Log.cpp so that opentelemetry::trace::GetSpan() resolves correctly. Add 'logql' to cspell dictionary to silence unknown-word warnings. Co-Authored-By: Claude Opus 4.6 --- cspell.config.yaml | 1 + src/libxrpl/basics/Log.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/cspell.config.yaml b/cspell.config.yaml index 67c77a7455..b927881ac7 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -143,6 +143,7 @@ words: - libxrpl - llection - LOCALGOOD + - logql - logwstream - lseq - lsmf diff --git a/src/libxrpl/basics/Log.cpp b/src/libxrpl/basics/Log.cpp index 7ae4814031..6cbc477bff 100644 --- a/src/libxrpl/basics/Log.cpp +++ b/src/libxrpl/basics/Log.cpp @@ -11,6 +11,7 @@ // with no locking — measured at <10ns per call. #ifdef XRPL_ENABLE_TELEMETRY #include +#include #include #endif // XRPL_ENABLE_TELEMETRY