feat(pack): 提供文本 Ftrace 类型化 Provider - #232
Draft
qiqingzhixin wants to merge 16 commits into
Draft
Conversation
qiqingzhixin
changed the base branch from
codex/issue-226-postgresql-pr2
to
main
August 31, 2026 06:35
qiqingzhixin
marked this pull request as draft
August 31, 2026 13:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
PACK 用户需要直接查询 UTF-8 文本 ftrace,而不感知转换器、Catalog 路径或 Parquet 物理布局。原 PR 同时承担转换器和 Provider,已经拆出独立转换器 PR #239;本 PR 在其合入后只保留 PACK Provider、Workflow、文档和纵向测试。
最小切片
FtraceProvider在构造时准备数据,调用方只使用query() -> dp.Table。clock_domain;不同 domain 明确失败。auto_cleanup=True使用实例独占临时目录;默认模式保留稳定 SHA-256 目录。Table,不感知物理位置。非目标
with、decode()或connect()。验证
cargo +stable test --locked -p ftrace2parquet:8 passed。cargo +stable test --locked -p kat-cli --lib:53 passed。kat test --pack-dir examples/packs/mem-pack:16 passed, 1 hardware test skipped。cargo +stable fmt --all -- --check:通过。git diff --check:通过。仓库锁定的 Rust 1.95.0 当前镜像返回 404;以上验证使用已安装的 stable,未修改
rust-toolchain.toml。Depends on #239
Refs #219