Use librtcx's bundled zstd and xxhash in rtcx_embed #30
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.32) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 123 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.288
Real PR Conversation Timeline
1 comments
"Review active on #30"
general
weight: 0.35
lamarrr
Closes #29
rtcx_embed()no longer needs consumers to providezstdandxxhashtargets. The embed runner compressed and hashed files with zstd and xxHash directly fromembed.hpp, so every consumer had to supply both libraries just to run a build-time tool. This PR moves those two calls behindrtcx::embed::detail::zstd_compressandxxh3_128inrtcx::hash. They're built against the zstd that librtcx already bundles with hidden visibility (#28) and a privately fetched header-only xxHash, so the runner links onlyrtcx::hash. Nothing new is exported or installed:rtcx-config.cmakegains onlyfind_dependency(Threads), because the bundled zstd is multithreaded. A shared library that whole-archiveslibrtcx.aandlibhash.astill exports noZSTD_/XXHsymbols.When librtcx is a subproject that already has
zstd/xxhashtargets, as in cudf, it links those instead of bundling its own. A local CMake project with cudf's ordering builds and links that way.