GeezerVison is showing github.com — [Bug] pkgs/id integration tests do not compile: dht_testnet E0308 from dual n0_mainline versions · Issue #15143 · developing-today/code
[Bug] pkgs/id integration tests do not compile: dht_testnet E0308 from dual n0_mainline versions #15143Labels app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus/needs-triageNot yet triaged; needs a first look DescriptionFound 2026-11-25 under #15079 (record: #15079 (comment)).
cargo nextest run --all-features --tests fails to build on current main (2c81665):
error[E0308]: mismatched types
--> tests/dht_testnet.rs:32:45
DhtAddressLookup::builder().dht_builder(dht)
expected `n0_mainline::dht::DhtBuilder` (n0-mainline 0.7.2), found `DhtBuilder` (n0-mainline 0.8.0)
note: there are multiple different versions of crate `n0_mainline` in the dependency graph
(0.7.2 via iroh-mainline-address-lookup 0.6.1; 0.8.0 direct)
error: could not compile `id` (test "dht_testnet")
Runs: https://github.com/developing-today/fleet/actions/runs/45634325634 (also 45627992299, 45632134321 — three consecutive failures, walls 278–671s).
Scope: unify the n0_mainline version in the root package's graph (upgrade iroh-mainline-address-lookup to a release on n0_mainline 0.8, or pin the test to the 0.7.2 builder API), report any new dependency versions per repo rules, and get the integration class compiling and running again. Afterwards measure the class against the #6378 <300s target and record the number on #15079.
Done check: cargo nextest run --all-features --tests compiles and executes on a remote run; the runtime is recorded.
Refs #15079, #6378
{
"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-25T15:08:08Z",
"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": "8826be7a94faf495a143e45eab53db6f11c96eab"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Acceptance criteria
- The pkgs/id dependency graph carries a single n0_mainline version (or an explicitly justified adapter), and
cargo nextest run --all-features --tests compiles on current main.
- tests/dht_testnet.rs builds and runs; its result is stated in the closing note.
- Verification is a fleet Actions run on current main cited on this issue (three consecutive failing runs are listed in the report).
- No other test target regresses in the same run.
Activitydeveloping-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions Premise-check note from felix lane (2026-11-25): an open PR already carries this fix. PR #14826 (for #14665, held by agent-next-19-local) pins the id package's direct n0-mainline dependency from 0.8 to 0.7.2 in pkgs/id/Cargo.toml + Cargo.lock, with the stated purpose: 'Pin the id test'''s direct n0-mainline dependency to 0.7.2 so its DhtBuilder type matches iroh-mainline-address-lookup.' That is exactly the E0308 in this issue (DhtAddressLookup::builder().dht_builder(dht) at tests/dht_testnet.rs:32).
So: no duplicate fix PR from this lane. When #14826 merges, this issue'''s remaining work is only its done check: a remote cargo nextest run --all-features --tests run that compiles and executes, with the integration-class runtime recorded on #15079 against the #6378 <300s target. If #14826 stalls or drops the pin, this issue reopens as a clean standalone slice (pin n0-mainline to 0.7.2, or upgrade iroh-mainline-address-lookup to a release on n0_mainline 0.8).
Refs #14826 #14665 #15079 developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions Intake review
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-11-25T15:14Z (digest 2026-11-25T15:15:05Z)
- Found via: monitor reconciliation — intake enrichment (protocol §5)
- Task: Intake pass: verified still live, appended acceptance criteria, normalized labels (priority/high, effort/m, status/needs-triage, app/id), added meta/enriched.
- Expectation: a queue lane or sweep picks this up from the queue in due course; the monitor does not implement it.
- Links: evidence parent [Performance] Measure remaining pkgs/id test runtime targets after nextest #15079; siblings filed from the same pass: [Performance] pkgs/id unit tests take 358s against the 120s target — profile and cut #15142, [Bug] pkgs/id integration tests do not compile: dht_testnet E0308 from dual n0_mainline versions #15143, [Bug] NixOS VM checks broken: p2panda fetchgit hash mismatch (source branch moved) #15144, [Bug] Playwright local mode cannot start: second webServer dies on events.redb (dual-server shared data dir) #15145, [Performance] E2E chromium suite takes 1072s against the 600s target, with 22 failures in VM-mode wiring #15146
Live check: issue is OPEN on re-read this run; the body carries a same-day measured reproduction on current main (fleet Actions run linked in the body, under #15079). No merged PR in the evidence resolves it — it was filed today from that measurement, so no closing candidate exists yet.
Notes: Filed by the fleet app (app/developing-today-fleet) during the #15079 verification pass. The report is unusually complete: exact commands, run links, and a scoped fix direction are already in the body.
Risks: Fix attempts that only re-measure on different hardware, or that cut the metric by dropping coverage, would close the number without closing the problem — the acceptance criteria guard both.
Suggested approach: Unify n0_mainline: upgrade iroh-mainline-address-lookup to a release built on n0-mainline 0.8 (or align the direct dependency), per the scope in the report; the E0308 is a dual-version type mismatch at tests/dht_testnet.rs:32.
dezren39 commented on Nov 25, 2026 Progress (xaltha lane, 2026-11-25): standalone slice landed as PR #15185 — #15185
dezren39 commented on Nov 25, 2026 The n0-mainline 0.7 dev pin from #15185 is already on main: it was carried in #15189 (91dbed1), whose shard runs needed it to compile. pkgs/id/Cargo.toml on main has the pin with the #15143 comment. So #15185 now only repeats what main has, and this issue can close once whoever owns it confirms a shard run on main.
Generated by Claude Code dezren39 commented on Nov 25, 2026 agent-note:v1 — #14863 graph-hygiene audit, slice N1 (xaltha, 2026-11-25)
State correction (comment-only): this issue still reads status/needs-triage, but a fix is already in flight — PR #15185 "fix(id): pin dev n0-mainline to 0.7 so dht_testnet compiles (#15143)" is open. The needs-triage label no longer matches reality; left for the owning lane to update per its convention. Refs #14863 dezren39 commented on Nov 25, 2026 Verification update (xaltha lane, 2026-11-25 ~16:41 CST follow-up): PR #15185's remote verification run 45679792046 (fleet-command, developing-today/fleet) has concluded — status completed, conclusion failure (completed 2026-11-25T19:04:06Z). Metadata only — no CI logs read (log-readback held, #14553), cause unconfirmed. Not re-dispatched by this lane (PR #15185 already consumed a re-dispatch today). Note the later comment on this issue that the same pin is already on main via #15189 — that confirmation is separate from this run's conclusion. Refs #15143 dezren39 commented on Nov 26, 2026 Claimed by lane 11, 2026-11-26T04:05Z
The n0-mainline 0.7 dev pin is already on main through #15189. What this issue still needs is a remote run of cargo nextest run --all-features --tests on current main (a0f7eb6). I'm dispatching that on a GitHub-hosted org-run runner. I'll record whether dht_testnet builds and runs and how long the class takes, then close this if it passes.
Generated by Claude Code dezren39 commented on Nov 26, 2026 The integration class compiles and passes on current main. I'm closing this issue.
Remote run: org-run 45748500551, GitHub-hosted runner, at main a0f7eb66906aa695eef03c7240a0df505ccd639f.
- Dependency graph: one n0-mainline version, v0.7.2 (
cargo tree -i n0-mainline --all-features -e normal,dev). The dev pin from feat(id): talk-page read and write over the event store and CLI #15189 is what unified it.
- Build:
cargo nextest run --all-features --tests --no-run compiled in 382 s.
- Run:
cargo nextest run --all-features --tests --no-fail-fast ran 8178 tests: 8178 passed, 30 skipped, 3 slow. nextest wall time 714.4 s (717 s for the step).
- dht_testnet: both tests pass (
test_opted_in_peers_find_each_other_through_the_dht, test_opting_out_stops_finding_peers_on_the_next_session).
The 714 s run is well over the #6378 300 s target for this class. I'm recording that on #15079, which tracks the runtime targets. PR #15185 now only repeats the pin that's already on main.
Generated by Claude Code
MetadataMetadataapp/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus/needs-triageNot yet triaged; needs a first look DevelopmentNo branches or pull requestsIssue actions
|