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 — build(id): id-core doc tests E0433 — examples still use id:: paths after the #3447 crate split (blocks #3720 fold) · Issue #4073 · developing-today/code

build(id): id-core doc tests E0433 — examples still use id:: paths after the #3447 crate split (blocks #3720 fold) #4073

New issue
Copy link
New issue
Copy link
Closed
Closed
build(id): id-core doc tests E0433 — examples still use id:: paths after the #3447 crate split (blocks #3720 fold)#4073
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/xsTrivial: expected under 30 minutes of workkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenientstatus/needs-triageNot yet triaged; needs a first look

Description

@dezren39
dezren39
opened on Nov 1, 2026
Issue body actions

Fifth distinct id breakage today, found by the #4015 nix-build verification (2026-11-01): with the lib suite finally green, nix build .#id-web (pkgs/id) reached the doc tests and failed:

Doc-tests id_core: 0 passed; 5 failed
error[E0433]: cannot find module or crate `id` in this scope
  crates/id-core/src/tuple.rs:32    use id::tuple::{TupleEncoder, decode};
  crates/id-core/src/tuple.rs:172   use id::tuple::TupleEncoder;
  crates/id-core/src/discovery.rs:118  use id::discovery::parse_defaults;
  crates/id-core/src/discovery.rs:339  use id::discovery::PeerAnnouncement;
  crates/id-core/src/discovery.rs:392  use id::discovery::{PeerDiscovery, PeerAnnouncement};

The #3447 crate split (5969721) moved tuple and discovery from the id crate into id-core, but their doc examples kept the old id:: import paths. They were never reached since the split because every build died earlier in the suite (#3787 → #3951 → #4015 → #4047). In the same nix run the full test suite proper passed: 1987 passed, 0 failed — only these 5 doc tests fail.

Fix: use id_core::… at the five sites (the modules are pub in id-core; example bodies are unchanged). Rides PR #4027 with the #4015/#4047 fixes; this is the last known gate for the #3720 fold switch.

Acceptance criteria

  • The five doc examples in crates/id-core (tuple.rs, discovery.rs) compile against id_core:: paths; no use id:: doc paths remain in id-core.
  • Doc tests for id-core pass (e.g. cargo test -p id-core --doc, or the nix build .#id-web doc-test stage that surfaced this) with 0 failures.
  • No production code changes — doc examples only.

Activity

  1. dezren39
    added
    priority/lowNice to have; do when convenient
    on Nov 1, 2026
  2. dezren39
    added a commit that references this issue on Nov 1, 2026

    fix(id): id-core doc examples use id_core:: paths after the crate spl…

    3ddc634
  3. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    Fixed in PR #4027 (five use id_core:: import paths). Verified on host: cargo test -p id-core --doc — 5 passed, 0 failed.

  4. dezren39
    added
    kind/testTest coverage, test infrastructure, or test-only fixes
    status/needs-triageNot yet triaged; needs a first look
    effort/xsTrivial: expected under 30 minutes of work
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 2, 2026
  5. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    Intake review

    • Related: crate split pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447; fold gate Fold script-installed laptop user units into the flake (github-backup, worktree-reaper, quota exports, dashboard-backup, oc-password-sync) #3720; fix rides PR fix(id): shell contract v1.4 expectation + vendored crates out of the workspace (#4015) #4027 (verified OPEN at intake — not merged, so this issue is still live); breakage sequence build(id): voiding_scenarios tests fail at main — nixos-rebuild switch cannot complete (blocks code#3720 fold) #3787 → build(id): id-core lib test cannot find crate vt100 — nixos-rebuild switch cannot complete (blocks code#3720 fold) #3951 → build(id): two test failures at main — stale shell-contract v1.3 expectation + sqlx-sqlite back in the lock (blocks code#3720 fold) #4015 → build(id): lib test E0063 — ChainExt literal in idset.rs tests missing the #3814 note field (blocks #3720 fold) #4047 → this.
    • Notes: Fifth distinct id breakage found in one day, each revealed only after the previous gate cleared. Evidence is complete (exact files/lines + error text in the body).
    • Risks: Low — doc examples only; the modules are already pub in id-core.
    • Suggested approach: Update the five use id:: doc paths to id_core::, then run the id-core doc tests / the nix build .#id-web stage that surfaced it.
  6. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    Fixed in PR #4027, merge commit ee75087 — verified as a git object, ancestor of origin/main, with use id_core:: grepped at both tuple.rs sites in origin/main's tree. Doc tests pass on host (5/5) and in the green nix build .#id-web checkPhase.

  7. dezren39
    closed this as completedon Nov 2, 2026
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/xsTrivial: expected under 30 minutes of workkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenientstatus/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.