feat(compatibility): protect client interoperability - #8
Conversation
yordis
commented
Aug 30, 2026
- Client releases need direct evidence that the supported C# surface remains interoperable with the server and Rust client.
- Compatibility regressions need to be caught before consumers discover them after release.
PR SummaryMedium Risk Overview Subscription OpenTelemetry semantics shift from consumer Metadata injection now only persists Reviewed by Cursor Bugbot for commit c142606. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Warning Review limit reachedNext included review available in 43 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (14)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe pull request adds a compatibility executable for KurrentDB operations and updates subscription OpenTelemetry tracing. It also limits persisted propagation metadata to trace context fields and adds compatibility and diagnostics tests. ChangesCompatibility CLI
Subscription telemetry
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: 🟡 Moderate · up to The compatibility gate now creates durable server state and uses acknowledgements as release evidence. It can acknowledge a nonmatching event before validation or lose evidence after interruption, causing concurrent or retried runs to produce incomplete or misleading results; batch writes may also attempt unauthenticated requests when credentials are absent. Merge readiness is moderate until acknowledgement and recovery behavior are fixed or explicitly accepted with appropriate authorization and cleanup controls. Sequence Diagram(s)sequenceDiagram
participant Client
participant CompatibilityProgram
participant CompatibilityApplication
participant KurrentDB
participant OTLPExporter
Client->>CompatibilityProgram: command-line arguments and environment
CompatibilityProgram->>CompatibilityApplication: execute parsed command
CompatibilityApplication->>KurrentDB: write, read, subscribe, or consume event
KurrentDB-->>CompatibilityApplication: event data or subscription confirmation
CompatibilityApplication-->>CompatibilityProgram: compatibility result
CompatibilityProgram->>OTLPExporter: force-flush telemetry
CompatibilityProgram-->>Client: exit code
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description directly states that the changes provide interoperability evidence and detect compatibility regressions before release. This matches the compatibility project, compatibility tests, and workflow updates. Full details: Docstring CoverageExplanation Docstring coverage is 3.03% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 66 functions across 18 files. (3 skipped: 3 unsupported.) ✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
a904920 to
58cf503
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 58cf503. Configure here.
fc8c2d7 to
fdc54cb
Compare
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
fdc54cb to
c142606
Compare
