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
nixos build broken on main: mcpx inconsistent vendoring (x/net bumped in go.mod, vendor/ not regenerated) #14051
Building the laptop's NixOS configuration from current main fails in pkgs/mcpx:
building '/nix/store/bcnknwvgmwji52siid0vdfpsgf9w0qic-mcpx-0.1.0.drv'...
go: inconsistent vendoring in /build/source:
golang.org/x/net@v0.63.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/net@v0.62.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod
Cause
Commit 3141777acee (2026-11-23, "chore(deps): bump the gomod group across 4 directories with 5 updates") bumped golang.org/x/net v0.62.0 → v0.63.0 in pkgs/mcpx/go.mod/go.sum but did not regenerate pkgs/mcpx/vendor/, and pkgs/mcpx/package.nix's vendorHash still covers the old vendored tree.
Impact
nixos-rebuild build --flake github:developing-today/code/main#amd fails (verified 2026-11-23, ~6.6 min in, mcpx is the first failing derivation; everything downstream of it — activation script, system path, the toplevel — cannot build). This blocks any laptop system switch to current main.
Fix
Regenerate the vendor tree (go mod vendor in pkgs/mcpx), update vendorHash in pkgs/mcpx/package.nix to match, verify the mcpx package and the full amd system build pass.
Second break found while verifying the vendor fix — same build, independent cause:
With the corrected vendorHash, the mcpx check phase ran to completion and failed on exactly one test: TestEveryDocumentationLinkResolves (internal/defaults). docs/program/libraries-models.md:18 names `internal/model.Provider.Generate` in backticks; the checker treats a backticked path-shaped token as a file path, and that path does not exist — the doc named a symbol, not a file. Everything else in the suite passed (including the 996 s e2e package and the 175 s daemon package).
Fix included in the same PR as the vendorHash sync (branch fix/mcpx-vendor-sync): the sentence now reads "the Generate method of the Provider interface in internal/model" — same meaning, in a form the checker accepts. The targeted test passes locally:
go test ./internal/defaults/ -run TestEveryDocumentationLinkResolves -count=1
ok github.com/developing-today/code/pkgs/mcpx/internal/defaults 0.151s
Full-build verification runs against main once the PR merges (the NixOS build proof that surfaced both breaks).
Activity
developing-today commentedon Nov 24, 2026
CODE-5162
developing-today-fleet commentedon Nov 24, 2026
Second break found while verifying the vendor fix — same build, independent cause:
With the corrected vendorHash, the mcpx check phase ran to completion and failed on exactly one test:
TestEveryDocumentationLinkResolves(internal/defaults).docs/program/libraries-models.md:18names`internal/model.Provider.Generate`in backticks; the checker treats a backticked path-shaped token as a file path, and that path does not exist — the doc named a symbol, not a file. Everything else in the suite passed (including the 996 s e2e package and the 175 s daemon package).Fix included in the same PR as the vendorHash sync (branch
fix/mcpx-vendor-sync): the sentence now reads "theGeneratemethod of theProviderinterface ininternal/model" — same meaning, in a form the checker accepts. The targeted test passes locally:Full-build verification runs against main once the PR merges (the NixOS build proof that surfaced both breaks).