You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id(chain): ChainExt literals in pkgs/id tests missing the #3794 checkpoint field — cargo check --all-targets fails on main #4850
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
Any --all-targets check/test build of pkgs/id fails on main until the literals are updated.
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.
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.
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
Agent: queue worker (repo-worker-code), lane c29174f1-48e0-4b13-b4ff-9b73ab67e9ab
Session / ID: queue task 8457 (triage)
Finding: still live at origin/maindda1def. pkgs/id/tests/search.rs still builds ChainExt without checkpoint, and no file under pkgs/id/tests sets checkpoint: None. The only checkpoint: literals in pkgs/id are in src/attestation.rs (lines 197 and 229), which are production code.
Scope: 72 ChainExt { ... } literals across 25 files under pkgs/id. The fix is a test-only mechanical change, adding checkpoint: None to each literal, or giving the test helpers a constructor. Start with a compile-driven pass, then grep the rest, because the compiler reports only the first targets it reaches.
Found via: queue claim (triage-doctrine re-queue, code#7016)
Verdict: the remainder is empty — the ChainExt literals already carry checkpoint, and cargo check --profile ci-check --all-targets passes on clean main.
Verified fresh 2026-11-08 on the laptop, worktree ~/git/fleet/task-12183-verify at origin/mainae08110 (detached, no local changes):
cargo check --manifest-path pkgs/id/Cargo.toml --profile ci-check --all-targets → Finished ci-check profile in 3m 52s, warnings only, no E0063. (The profile lives in pkgs/id/Cargo.toml, so the manifest path is required; a workspace-root invocation errors with "profile ci-check is not defined".)
The four targets the issue names — search, voiding_scenarios, crash, event_store_properties — compile individually.
Literal audit over every pkgs/**/*.rs: zeroChainExt literals that are actually built are missing checkpoint or a .. spread. The 14 hits are all vendored spike copies under pkgs/id/doc*/…/spikes/ and …/research-round2/…/harness/, which are not crate targets.
Cause of the report: the field was added by #3794 (PR #4627), and the integration-test fixtures were fixed by commit 124e910 — "fix(id): name the checkpoint field in ChainExt test fixtures (#4522)", 2026-11-03T14:15:31-0600 — which added checkpoint: None to 31 initializers across 14 files under pkgs/id/tests. That landed before this issue was filed (2026-11-03, later that day), so the issue captured a tree state that had already been corrected. The two PRs the audit cited (#4913, #5339 — nixos-integration VM test and ssh) are unrelated to this class.
No fix packet is created — there is nothing left to fix. Closing the issue with this evidence, per the task's third acceptance branch.
Activity
dezren39 commentedon Nov 3, 2026
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
dezren39 commentedon Nov 3, 2026
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
dezren39 commentedon Nov 3, 2026
Agent note — triage findings (OpenChamber scheduled lane)
repo-worker-code), lanec29174f1-48e0-4b13-b4ff-9b73ab67e9aborigin/maindda1def.pkgs/id/tests/search.rsstill buildsChainExtwithoutcheckpoint, and no file underpkgs/id/testssetscheckpoint: None. The onlycheckpoint:literals inpkgs/idare insrc/attestation.rs(lines 197 and 229), which are production code.ChainExt { ... }literals across 25 files underpkgs/id. The fix is a test-only mechanical change, addingcheckpoint: Noneto each literal, or giving the test helpers a constructor. Start with a compile-driven pass, then grep the rest, because the compiler reports only the first targets it reaches.dezren39 commentedon Nov 3, 2026
Agent note — picked up (OpenChamber scheduled lane)
repo-worker-code), lanec29174f1-48e0-4b13-b4ff-9b73ab67e9abrepo-health-code-pilotChainExttest literals for the new checkpoint field.3 remaining items
dezren39 commentedon Nov 8, 2026
Partial verification — staying open (2026-11-07 done-task-only audit, tracking: #7016).
Queue task(s) [8457] were marked done, and some work did land:
No merged change closes this issue's full scope, so the done status is not treated as completion. Remainder re-queued as triage task 11706.
dezren39 commentedon Nov 8, 2026
🤖 Agent note · handed off
opencode; handing off to the opencode claimant per worker instruction §1b (no direct work by this lane). Fresh check: issue id(chain): ChainExt literals in pkgs/id tests missing the #3794 checkpoint field — cargo check --all-targets fails on main #4850 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit).dezren39 commentedon Nov 8, 2026
🤖 Agent note · handed off
developing-today commentedon Nov 8, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 8, 2026
🤖 Agent note · triaged — no longer reproducible; fixed on main before this issue was filed
Verdict: the remainder is empty — the
ChainExtliterals already carrycheckpoint, andcargo check --profile ci-check --all-targetspasses on clean main.Verified fresh 2026-11-08 on the laptop, worktree
~/git/fleet/task-12183-verifyatorigin/mainae08110 (detached, no local changes):cargo check --manifest-path pkgs/id/Cargo.toml --profile ci-check --all-targets→ Finishedci-checkprofile in 3m 52s, warnings only, no E0063. (The profile lives inpkgs/id/Cargo.toml, so the manifest path is required; a workspace-root invocation errors with "profileci-checkis not defined".)search,voiding_scenarios,crash,event_store_properties— compile individually.pkgs/**/*.rs: zeroChainExtliterals that are actually built are missingcheckpointor a..spread. The 14 hits are all vendored spike copies underpkgs/id/doc*/…/spikes/and…/research-round2/…/harness/, which are not crate targets.Cause of the report: the field was added by #3794 (PR #4627), and the integration-test fixtures were fixed by commit 124e910 — "fix(id): name the checkpoint field in ChainExt test fixtures (#4522)", 2026-11-03T14:15:31-0600 — which added
checkpoint: Noneto 31 initializers across 14 files underpkgs/id/tests. That landed before this issue was filed (2026-11-03, later that day), so the issue captured a tree state that had already been corrected. The two PRs the audit cited (#4913, #5339 — nixos-integration VM test and ssh) are unrelated to this class.No fix packet is created — there is nothing left to fix. Closing the issue with this evidence, per the task's third acceptance branch.