Skip to content

fix(id): events_admission test target compiles — add missing ChainExt thread field (#16964) - #16969

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
archer/16964-events-admission-thread
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
archer/16964-events-admission-thread

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #16964.

ChainExt gained a thread: Option<ThreadEvent> field (pkgs/id/crates/id-store/src/chain.rs — the body of a thread event, None for every other kind; the admission check refuses a thread body on a non-thread kind). The two ChainExt initializers in pkgs/id/tests/events_admission.rs were not updated, so the events_admission test 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 is thread: 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-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2d84bbd2-ba38-454e-b445-d3de4f9126cf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet
developing-today-fleet Bot merged commit 4993516 into main Nov 29, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the archer/16964-events-admission-thread branch November 29, 2026 21:17
@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

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, thread: None at the same two ChainExt initializers in pkgs/id/tests/events_admission.rs). #16970 was claimed first (2026-11-29T20:44:41Z, vs this lane's 20:46:51Z claim), and its verification of record is green firsthand: fleet-command run 46308737180 checked out its exact head d61b7ba and ran cargo test --manifest-path pkgs/id/Cargo.toml --test events_admission --test admission_hooks from pkgs/id — admission_hooks 7 passed, events_admission 19 passed, 0 failed.

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

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pkgs/id: events_admission test target does not compile on main — ChainExt missing 'thread' field (tests/events_admission.rs:70,254)

0 participants