Skip to content

refactor: centralize format parsing and collection rendering - #266

Merged
swananan merged 2 commits into
mainfrom
refactor/share-format-template-parser
Jul 30, 2026
Merged

refactor: centralize format parsing and collection rendering#266
swananan merged 2 commits into
mainfrom
refactor/share-format-template-parser

Conversation

@swananan

@swananan swananan commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • centralize format-template parsing across validation, eBPF code generation,
    protocol rendering, and legacy event conversion
  • route CLI/TUI legacy formatting through the shared parser while preserving
    lossy compatibility and escaped-brace semantics
  • split sequence, hash-table, and B-tree payload rendering into focused modules

Testing

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
    (with CARGO_TARGET_DIR under /mnt/500g/tmp)
  • standard host e2e through the runner service
    (job b95da153276d, succeeded)

Container-topology e2e was not run because this refactor does not affect
container, PID namespace, or runner-topology behavior.

swananan added 2 commits July 29, 2026 19:43
Use one typed parser for validation, code generation, rendering, and
legacy event formatting while retaining lossy compatibility for existing
traces.
Move hash table, B-tree, and sequence payload decoding into focused
format-printer modules without changing rendering behavior.
@swananan
swananan merged commit b5b9178 into main Jul 30, 2026
9 checks passed
@swananan
swananan deleted the refactor/share-format-template-parser branch July 30, 2026 15:38
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