Skip to content

main-breakage: id-cli contract-check test still expects shell contract v1.8 after #10855 bumped it to v1.9 — amd toplevel build fails #10863

Closed

Description

@dezren39

What broke: the amd toplevel build fails on current main: the id-0.1.0 checkPhase fails exactly one test —

commands::world::tests::the_contract_check_reports_conformance_or_every_violation
assertion `left == right` failed
  left: "3 frames conform to shell contract v1.9"
 right: "3 frames conform to shell contract v1.8"
at crates/id-cli/src/commands/world.rs:2711 — test result: 683 passed; 1 failed

Cause: PR #10855 (F13.7 step 2, #5532) bumped the shell contract to revision 9 (pkgs/id/contract/shell-contract.v1.json: "revision": 9) and updated the id-worlds contract tests, but did not update the hardcoded expectation in pkgs/id/crates/id-cli/src/commands/world.rs (line ~2713), which still expects v1.8. Precedent: commit 7f78cb5 previously bumped this same expectation to v1.8 when the contract moved.

Evidence it is pre-existing on main, not update-caused: found by task 17502 (nixpkgs-update 2026-11-16, PR #10817) during its acceptance build at head 39d4e01ce2 (= current main + flake.lock-only pin change; nixpkgs-25 feeds only activitywatch/misfortune, not id). Failing drv: /nix/store/hl52rd8rq9ljh27id8j94iivm7mxq2wn-id-0.1.0.drv, log ~/git/fleet/17502-build-gate2.log on the laptop. mcpx (code#10853) and the earlier id compile break (code#10758) are both fixed on main; this is the only remaining failure in the toplevel graph.

Fix: update the one expectation to v1.9 (mechanical, matches the contract doc revision). Anything deeper (deriving the expectation from the contract constants so this cannot recur) is a welcome follow-up but not required to close this.

Activity

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

    @developing-today
    Contributor
  3. added a commit that references this issue on Nov 16, 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

    kind/bugSomething isn't working (prefixed form of the classic bug label)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions