Repository navigation
feat(id-events): route retained-event ingress through the fixed admission pipeline (#10192 slice 2) - #16898
Conversation
…sion pipeline (#10192 slice 2) Carrier contract: a retained event travels as a SignedEnvelope (domain id/events) whose payload is the event's canonical bytes; the envelope signer must be the event's author. EventsAdmission runs the envelope through AdmissionPipeline (gate, replay ledger, ordered prepare hooks, commit-time reauthorization, commit, outbox) with the commit step ingesting the admitted payload into the EventStore; the store's decided outcome is the admission's recorded outcome, while only a store error fails the commit as unknown. Oracle: pkgs/id/tests/events_admission.rs. Inventory P-WR-02 records the pipeline-backed entry point (row stays partial: the raw ingest callers are not migrated yet).
… events_admission test
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
🤖 Agent note · lane 1107-F (charlie ADVANCE landings, 2026-11-29) — MERGED by this lane: merge commit c3579c0 at head c459462, confirmed MERGED on a second read. Verification: full diff read (+902/-1, 5 files) against the PR purpose (#10192 slice 2: id-events admission adapter + model-oracle tests; inventory P-WR-02 honestly kept partial); fresh CLEAN/MERGEABLE at unchanged head immediately before merge. CI not a gate per Drew (2026-11-29). #10192 stays OPEN (caller migration is a follow-on slice). Key: 1107-F |
Slice 2 of #10192: the id-events ingress admission.
Provenance
The implementation is the work from branch
xaltha/10192-events-admission(3 commits, 2026-11-23), cherry-picked onto current main by lane 0640-AT (worker felix) under a recorded takeover — the branch had been cold since 2026-11-23 with no PR, and #10192 is the last live blocker for #10214 and #10267. Authorship of the original commits is preserved.Contents
pkgs/id/crates/id-events/src/admission.rs(new):EventsAdmission— retained-event ingress routed through the fixed signed/validated admission pipeline, mirroring the landed id-store (feat(id-store): ordered lifecycle hooks around the fixed admission gate (#10192, slice 9110-06) #13156) and id-sync (feat(id-sync): route sync ingress through admission pipeline (#10192 slice 3) #14682) admission slices.id_events::admissionexported from id-events and the pkgs/id facade.pkgs/id/tests/events_admission.rs(new, 569 lines): oracle coverage for the events path.pkgs/id/tests/operation-path-inventory.md: P-WR-02 row updated to the pipeline-backed admission +tests/events_admission.rs.Conflict resolution (one hunk)
The cherry-pick conflicted only in the inventory table: main had reformatted the table and already reflected the landed id-sync admission in P-SY-01. Resolution kept main's table and P-SY-01, and took the branch's P-WR-02 update. All Rust code applied clean.
Verification
Remote run against this branch: https://github.com/developing-today/fleet/actions/runs/46288170684 —
cargo test --manifest-path pkgs/id/Cargo.toml --test events_admission --test admission_hooks. Queued at PR time (deep executor backlog); verdict will be posted on #10192 when it executes. Do not merge before that run's log has been read.Refs #10192 (slice 2 of its acceptance; the issue stays open for the durable policy-epoch/ledger/outbox adapters and the producer/live-receiver migration).
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T17:11:42Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "ac3f377b7f752f50918f491d7443b79e95b5dc34" }, "auth_subject": "felix", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.