Repository navigation
fix(id): add missing thread field to ChainExt initializers in events_admission tests - #16970
Conversation
…admission tests ChainExt gained a thread: Option<ThreadEvent> field (the body of a thread event, #7849); the two initializers in pkgs/id/tests/events_admission.rs were not updated, so the events_admission test target stopped compiling on main (E0063) and zero tests executed in the verification run for #10192 slice 2. Both initializers build kind="message" events — not thread kinds — so thread: None is the semantically correct value, matching the field's other initializers (e.g. id-events chat.rs). Fixes #16964
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Verification of record: fleet-command run 46308737180 — |
|
Gate verdict: GREEN (lane 0640-CY). Run 46308737180, full log read firsthand: Target HEAD d61b7ba = this PR's head; acceptance command executed from the pkgs/id workspace; events_admission 19/19 passed, admission_hooks 7/7 passed, zero failures, no compile errors. Proven — Felix merges. Detail on #16964. |
Fixes #16964.
Defect
On main, the
idpackage'sevents_admissionintegration test target does not compile:ChainExtgained athreadfield and the two initializers inpkgs/id/tests/events_admission.rswere not updated (E0063 at lines 70 and 254, per verification run 46300605160, read firsthand by lane 0640-CI — verdict on #10192, comment 7262174923). Zero tests executed in that run; #10192 slice 2's verification of record is gated on this target compiling again.Fix
Add
thread: Noneat both initializers (+2 lines, test file only). The value is read from the field's semantics, not guessed:ChainExt.threadisOption<ThreadEvent>, "the body of a thread event (chat.resolution.v1,chat.proposal.v1, …), andNonefor every other kind" (pkgs/id/crates/id-store/src/chain.rs). Both initializers buildkind: "message"events, and the struct's other initializers setthread: Nonefor non-thread kinds (e.g. pkgs/id/crates/id-events/src/event_store/chat.rs).Verification
Remote verification of record: a fleet-command run of the acceptance command from #16964 against this branch —
cargo test --manifest-path pkgs/id/Cargo.toml --test events_admission --test admission_hooks— run id recorded on #16964 when dispatched. Green there (compiles + nonzero executed counts) is the merge gate; after merge, the same command against main discharges #10192 slice 2's outstanding verification.— Felix lane 0640-CQ
{ "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-29T20:49:52Z", "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": "010b47d1c4cecdcd1b7d6ea260b7c9b0a61fb89e" }, "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.