Repository navigation
impl(042): increment 4 part 1, the callback host server and the seam queue - #403
Merged
Merged
Conversation
AI review (no-findings)I reviewed all six changed paths carefully, tracing the authentication path, idempotency logic, cancellation semantics, deduplication, the seam-queue invariants, and the test coverage.
Spec and archive-policy
No concrete defects found. {"head": "6a428f8c1fd0ba6addde8f570b067557b1e29398", "verdict": "no-findings", "findings": []}Subject: ca81e1e...6a428f8, diff digest 1e61ca522a9ae725b59de23ed344e21481e97a614cce8560cc1d9dc4a5e34d06, 1 call(s). An AI comment is not an approval. |
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.
Spec 042 3.10 to 3.12, part 1: the host-side server of the two callback protocols and the bounded seam queue, in
rustev-remote-http.src/callback_server.rs: hosts anyContextSourcebehindPOST /rustev/remote-context/1/{describe,fetch,cancel,invalidations}and anyEvidenceSinkbehindPOST /rustev/remote-sink/1/{describe,deliver}. Attempt ids run once per idempotency window (attempt_id_conflictfor other content), another describe digest isdescribe_mismatch, cancel answers follow the declared support, poll invalidations keep a bounded log (baseline poll, gaps visible), deliveries are accepted once thenduplicateorconflict, rejected deliveries are not remembered. Every table is bounded.src/seam_queue.rs: the 3.12 queue (in-flight limit and capacity 1 to 65,536, immediateremote_seam_queue_fullrefusal, deadline-bounded wait, depth/refusal/late counters).tests/callback_server.rsover loopback, plus unit tests of the queue.archive-policy.jsonlists the two files (packaged size 315.8 KiB of the 320 KiB bound).Part 2 adds the clients of both protocols on top of the queue.
Local:
cargo test -p rustev-remote-http --test callback_server --lib(48 pass) andcargo clippy -p rustev-remote-http --all-targets -D warningsclean.