Add optional idempotent message ingress - #138
Open
myobie wants to merge 5 commits into
Open
Conversation
…otent-ingress # Conflicts: # src/main.rs # src/message.rs
myobie
marked this pull request as ready for review
August 3, 2026 17:08
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.
Summary
--idempotency-key <KEY>to ordinaryst2 message send.Boundary
This is local one-filesystem idempotency for one resolved recipient. It does not claim global exactly-once delivery across hosts or partitions. The normal inbox and archive messages are the only durable key records. There is no permanent receipt directory, receipt object, source/event pair, CAS, scheduler, workflow, or adapter policy in this PR.
Behavior
.message-idempotency.lockin the recipient inbox.Evidence
Exact head:
4e9019e7eb00d0a6eaf267360c6d6c8d6b009199Merged base:
4262c195899d9e5cacf6c5ea0e792ca176d431e9Diff: 5 files, +568/-6.
cargo check --workspace --all-targetscargo test --test message_cli -- --test-threads=1: 10 passedmessage_cliClippy with warnings denied: passedgit diff --check: passedcargo test --workspace --doc: passedAll four excluded tests reproduce on exact merged base
4262c195899d9e5cacf6c5ea0e792ca176d431e9:tracked_product_surface_contains_only_native_namespresentation_changes_patch_the_exact_live_pty_without_restarting_itmanaged_agents_do_not_inherit_launcher_no_color_unless_declaredmanaged_agent_color_contract_crosses_systemd_scopeThis PR remains draft and unmerged pending review.