GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #15143

New issue
Copy link
New issue
Copy link
Done
Done
[Bug] pkgs/id integration tests do not compile: dht_testnet E0308 from dual n0_mainline versions#15143
Copy link
Labels
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

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 25, 2026
Issue body actions

Found 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.

Activity

  1. developing-today-fleet
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    on Nov 25, 2026
  2. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    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

  3. developing-today-fleet
    added
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    status/needs-triageNot yet triaged; needs a first look
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 25, 2026
  4. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    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.

  5. developing-today-fleet
    added
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 25, 2026
  6. dezren39
    added a commit that references this issue on Nov 25, 2026

    fix(id): pin dev n0-mainline to 0.7 so dht_testnet compiles (#15143)

    df0db56
  7. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    Progress (xaltha lane, 2026-11-25): standalone slice landed as PR #15185 — #15185

    • Claim-check: no open PR or branch for [Bug] pkgs/id integration tests do not compile: dht_testnet E0308 from dual n0_mainline versions #15143 itself. PR fix(id): repair main full-tier Nix check roots #14826 (for main-broken: developing-today/code id @28b3d0f — full (main tier): nix flake check #14665) carries the same pin but is a large draft currently in CONFLICTING state; per the felix premise-check note above, this issue is a clean standalone slice in that case, and fix(id): pin dev n0-mainline to 0.7 so dht_testnet compiles (#15143) #15185 is exactly the pin (pkgs/id/Cargo.toml + Cargo.lock, 2 files). Whichever PR merges first, the other finds the hunk already in main.
    • Fix: the id root package's dev-dependency n0-mainline goes 0.8 → 0.7. Its only consumer is tests/dht_testnet.rs. Cargo.lock now carries a single n0-mainline (0.7.2); n0-mainline 0.8.0 leaves the graph; no other package changes version. Dependency change: n0-mainline (dev) 0.8.0 → 0.7.2, for type alignment with iroh-mainline-address-lookup 0.6.1's DhtBuilder.
    • Local check (resolution only): cargo metadata --locked passes and lists exactly one n0-mainline, 0.7.2.
    • Remote verification dispatched via the fleet-command workflow fallback (fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185 blocks fleet queue dispatch): run 45679792046 — https://github.com/developing-today/fleet/actions/runs/45679792046 — cargo nextest run --all-features --tests in pkgs/id on branch xaltha/15143-n0-mainline-pin, in progress at posting time. Its result, and the integration-class runtime for [Performance] Measure remaining pkgs/id test runtime targets after nextest #15079 against the [Performance] Reduce Test Execution Time #6378 <300s target, will be recorded when it finishes; that is the remaining done-check item.
  8. dezren39
    added 2 commits that reference this issue on Nov 25, 2026

    fix(id): pin dev n0-mainline to 0.7 so dht_testnet compiles (#15143)

    413f900

    feat(id): talk-page read and write over the event store and CLI (#15189)

    91dbed1
  9. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    Member
    More actions

    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

  10. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    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

  11. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    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

  12. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    Member
    More actions

    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

  13. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    Member
    More actions

    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

  14. dezren39
    closed this as completedon Nov 26, 2026
  15. developing-today-fleet
    added 3 commits that reference this issue on Nov 28, 2026

    build(deps): bump russh =0.65.2 -> =0.65.4 in pkgs/id (#16366 slice)

    45449f3

    build(deps): bump russh =0.65.2 -> =0.65.4 in pkgs/id (#16366 slice)

    f414b28

    build(deps): bump russh =0.65.2 -> =0.65.4 in pkgs/id (#16366 slice)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.