feat(cpp): part of low-level bindings, their tests, and e2e CI config #2852
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.63) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 306 lines diff across 3 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
Diff Size
diff_size
0.343
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #2852"
general
weight: 0.35
amlel-el-mahrouss
Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and enhancements. You can link an issue to this PR using the GitHub syntax. For example
Closes #123indicates that this PR will close issue #123.-->
Add part of low-level bindings for iggy-hpp.
Works towards completion of #2763 .
Rationale
To be merged after #2785
<!--
Why is this change needed? If the issue explains it well, a one-liner is fine.
-->
What changed?
<!--
2-4 sentences. Problem first (before), then solution (after).
GOOD:
"Messages were unavailable when background message_saver committed the
journal and started async disk I/O before completion. Polling during
this window found neither journal nor disk data.
The fix freezes journal batches in the in-flight buffer before async persist."
GOOD:
"When many small messages accumulate in the journal, the flush passes
thousands of IO vectors to writev(), exceeding IOV_MAX (1024 on Linux)."
BAD:
-->
Adds low-level bindings + tests + e2e CI config. The following functions have been added for the
Clientopaque type:IggyClientBuilder::new()andIggyClient::from_connection_string(connection_string))tests/client/low_level_e2e.cpp -> e2e tests for client
tests/topic/low_level_e2e.cpp -> e2e tests for topic
tests/stream/low_level_e2e.cpp -> e2e tests for stream
NOTE: The PR is big since Cargo.lock itself is 5k LoC. The actual code itself is about 1k LoC.
Local Execution
<!--
You must run your code locally before submitting.
"Relying on CI" is not acceptable - PRs from authors who haven't run the code will be closed.
Did you have
prekinstalled? It runs automatically on commit and covers all project languages. See CONTRIBUTING.md.-->
AI Usage
If AI tools were used, please answer:
1. Which tools? codex
2. Scope of usage? code generation
3. How did you verify the generated code works correctly? Planned what needs to be implemented, created spec, and then verified all code generated and tests run.
4. Can you explain every line of the code if asked? Yes