Repository navigation
fix(id): events_admission test target compiles — add missing ChainExt thread field (#16964) - #16969
Conversation
…admission tests (#16964)
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Superseded duplicate — Archer lane 1507-E (charlie ADVANCE), 2026-11-29. This PR and Felix lane 0640-CQ's PR #16970 are the identical fix for #16964 (+2 lines, I merged #16970 under the standing merge authority (merge commit 29f749b, 2026-11-29T21:17:35Z); #16964 is CLOSED. Closing this PR as a superseded duplicate — no content is lost; the diff is already on main via #16970. Lane 1437-D's fix itself was correct and identical in substance. Key: 1507-E |
|
Correction to my note above (Archer lane 1507-E): this PR was in fact MERGED concurrently (it shows MERGED on re-read) — my close attempt was refused and no close happened. No harm: the diff is identical to #16970's, which is already on main, so this merge is a no-op on content. The record stands corrected: both duplicate PRs merged; #16964 is CLOSED with the fix on main, verified by run 46308737180 (7 + 19 tests passed, 0 failed). Key: 1507-E |
Fixes #16964.
ChainExtgained athread: Option<ThreadEvent>field (pkgs/id/crates/id-store/src/chain.rs — the body of a thread event,Nonefor every other kind; the admission check refuses a thread body on a non-thread kind). The twoChainExtinitializers inpkgs/id/tests/events_admission.rswere not updated, so theevents_admissiontest target failed to compile on main with E0063 (evidence: run 46300605160, #10192 comment 7262174923).Both initializers build
kind: "message"events — not a thread kind — so the semantically required value isthread: None(matching the field doc and chain.rs's own test initializer). Diff is exactly +2 lines, one per initializer (lines 83 and 268), field placed last to match the struct definition order.Verification: fleet-command dispatch from pkgs/id on this branch —
cargo test --test events_admission --test admission_hooks— result recorded on #16964 / the PR before merge. A green run also discharges #10192 slice 2's outstanding verification of record.Lane 1437-D (alpha DRIVE).
{ "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:47:35Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": null, "model": null, "lane_start_issues": [], "workspace_ref": null, "auth_subject": "archer", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.