Skip to content

refactor(otlp): separate compression type from helpers - #137

Merged
LimiNode merged 4 commits into
mainfrom
refactor/otlp-compression-header
Sep 14, 2026
Merged

LimiNode merged 4 commits into
mainfrom
refactor/otlp-compression-header

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • move the OtlpCompression enum into a focused internal OTLP leaf used by the supported logger umbrellas
  • remove the obsolete OtlpCompression.hpp compatibility shim and do not promise standalone inclusion of OtlpCompressionType.hpp
  • include CompressionUtils through the canonical <logit/detail/CompressionUtils.hpp> path and qualify OTLP helper calls with detail::
  • add a Linux C++17 CI job that configures LOGIT_WITH_OTLP=ON and builds/runs the OTLP test suite

No production behavior or compression semantics changed; the change only clarifies internal header ownership and verifies the optional OTLP build path.

Move OtlpCompression into a focused public type header, retain the historical include path as a compatibility wrapper, and make the OTLP backend call detail compression helpers explicitly. Add include-contract coverage for both public headers.
Keep OtlpCompressionType.hpp as the sole OTLP compression type header. Remove the unused compatibility path and its include-contract test so the public include surface reflects the internal-only status of the old header.
Do not advertise OtlpCompressionType.hpp as a standalone public include. The OTLP compression type remains covered through the supported logger umbrella headers.
Add a Linux C++17 job that configures LOGIT_WITH_OTLP with bundled kurlyk dependencies and runs the OTLP test suite. Keep the PR description aligned with the aggregate-first header contract.
@LimiNode
LimiNode merged commit f6f429d into main Sep 14, 2026
15 checks passed
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.

1 participant