Skip to content

Add delivery semantics validation examples - #797

Open
wbarnha wants to merge 1 commit into
masterfrom
copilot/delivery-semantics-examples
Open

wbarnha wants to merge 1 commit into
masterfrom
copilot/delivery-semantics-examples

Conversation

@wbarnha

@wbarnha wbarnha commented Oct 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Add runnable exactly-once and manual at-most-once Kafka crash-window examples.
  • Add an exactly-once SQLite side-effect example using atomic idempotency-key writes; SQLite is not part of Kafka's distributed transaction.
  • Include a shared harness and local Kafka-compatible Compose setup.

Validation

  • Exactly-once Kafka: 100/100 unique read-committed outputs after forced worker restart.
  • Manual at-most-once: 99/100 outputs, no duplicates; first record was acknowledged before its side effect.
  • SQLite idempotent effect: 100/100 unique stored IDs after replay.
  • Python compile and diagnostics pass.

@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.20%. Comparing base (3442a90) to head (d5eafe0).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #797   +/-   ##
=======================================
  Coverage   96.20%   96.20%           
=======================================
  Files         110      110           
  Lines       11791    11791           
  Branches     1282     1282           
=======================================
  Hits        11343    11343           
  Misses        351      351           
  Partials       97       97           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
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