Skip to content

id(chain): ChainExt literals in pkgs/id tests missing the #3794 checkpoint field — cargo check --all-targets fails on main #4850

Open

Description

@dezren39

Problem

cargo check --profile ci-check --all-targets for pkgs/id fails on clean main: several integration tests construct ChainExt with a struct literal that is missing the checkpoint field added for #3794 (PR #4627, merged 2026-11-03).

Evidence (clean main, laptop, 2026-11-03)

Base: c0e9d059a (worktree from origin/main, no local changes). Both a default-linker run and a mold run hit the identical errors — the failure is linker-independent and pre-existing:

error[E0063]: missing field `checkpoint` in initializer of `ChainExt`
  --> tests/search.rs:84:19
error[E0063]: missing field `checkpoint` in initializer of `ChainExt`
  --> tests/voiding_scenarios.rs:88:19
error: could not compile `id` (test "search") due to 2 previous errors
error: could not compile `id` (test "crash") due to 1 previous error
error: could not compile `id` (test "event_store_properties") due to 4 previous errors

pkgs/id/src/chain.rs — ChainExt now ends with:

pub checkpoint: Option<SessionCheckpoint>, // #3794 session checkpoint body

but literals such as pkgs/id/tests/search.rs (document(), tag_ext()) list kind/group/after/tag/document/removes/note/link and stop there — no checkpoint: None, and no ..Default::default() (the struct has no Default impl in use at those sites).

Impact

Done when

  • Every ChainExt literal in pkgs/id/tests (and any other crate/test target) supplies checkpoint (or the struct gains a constructor/Default the literals use), and cargo check --profile ci-check --all-targets passes on main.
  • A quick grep audit for other literal sites missing the field is part of the fix (the compiler only reports the targets it reaches first).

Found by: queue worker lane I, task 5375 (#3195 phase 3), 2026-11-03.

Acceptance criteria

Activity

  1. added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/sSmall: expected under 2 hours of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    priority/normalOrdinary priority (the default)
    on Nov 3, 2026
  2. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: see the issue body and its linked references; no merged PR was found that resolves this issue at intake time (checked at fleet-monitor run 2026-11-03 04:12 CST).

    Notes: Filed by a queue worker during task work on the #3794 chain contract. Test-only literal drift is the expected scope; if any literal cannot be completed without changing production types, that is a contract question — stop and note it here rather than widening the fix.

    Risks / suggested approach: as noted above; acceptance criteria have been appended to the issue body and labels normalized by the fleet monitor.

    🤖 Agent note · filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-03 04:12 CST
    • Found via: monitor reconciliation (intake enrichment, protocol §5)
    • Task: Intake enrichment — acceptance criteria, labels, related context.
  3. added
    queue/queuedHas a queued task in the Supabase agent queue
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  4. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  5. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    Agent note — triage findings (OpenChamber scheduled lane)

  6. removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 3, 2026
  7. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    Agent note — picked up (OpenChamber scheduled lane)

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

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions