Skip to content

feat(readers): support transparent compressed file reads - #145

Merged
LimiNode merged 1 commit into
mainfrom
feature/compressed-file-reads
Sep 19, 2026
Merged

LimiNode merged 1 commit into
mainfrom
feature/compressed-file-reads

Conversation

@LimiNode

Copy link
Copy Markdown
Owner

Summary

  • transparently decompress .gz and .zst artifacts through
    ead_log_file() and
    ead_log_files() for FileLogger and UniqueFileLogger
  • preserve fail-closed behavior for disabled features, malformed payloads, unsupported suffixes, and read failures
  • add gzip/zstd single and batch read coverage, including the existing malformed-file regression path
  • document the contract in the README, reference docs, changelog, roadmap, and ADR 0007

Verification

  • local Windows Release build with LOGIT_WITH_GZIP=ON and LOGIT_WITH_ZSTD=ON: focused file API/compression tests pass
  • local default and C++11 Release builds: file API tests pass

Decompress persisted gzip and zstd artifacts through the existing FileLogger and UniqueFileLogger read APIs when the matching feature is enabled. Keep disabled-feature and malformed-input paths fail-closed, cover single and batch reads, and document the contract in the README, reference docs, roadmap, changelog, and ADR 0007.
@LimiNode
LimiNode merged commit 1d0658e into main Sep 19, 2026
16 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