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
default devShell unbuildable: cargo-llvm-cov 0.9.0 test suite fails under cargo 1.99.0 #4818
Found 2026-11-03 during laptop verification of #4815 (pre-existing; unrelated to that PR): nix develop (the default devShell) fails on x86_64-linux — cargo-llvm-cov-0.9.0.drv fails to build because its own test suite fails under cargo 1.99.0 (14 failing tests), which cascades into nix-shell-env.drv and aborts the shell entry before any tool runs.\n\nImpact: the default shell is the front door for new contributors and for verification workflows; every default-shell consumer is blocked until this is fixed or the dependency leaves the shell.\n\nWorkarounds that work today: the lean shells substitute fine — nix develop .#fleet (go 1.27.3, treefmt) and .#mcpx-lint were both used successfully for the #4815 verification.\n\nFix directions (not prescribed): bump or pin cargo-llvm-cov to a release whose tests pass under cargo 1.99.0, drop it from the default shell into a dedicated coverage shell, or mark its check phase off if the package is only needed as a binary.
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 30 (priority/none). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
agent-note:v1
state: triaged
verdict: live — fix path scoped, not already handled
Verification at current main
Checked at main = 1c1aa4a799fc8e11ff208118230de955996e509c (local HEAD and gh api repos/developing-today/code/commits/main agree; nix-common.nix at ref=main still lists cargo-llvm-cov at line 98).
Toolchain is still 1.99.0 (pkgs/id/rust-toolchain.toml), so the conflict described in the issue is unchanged.
The default devShell still pulls cargo-llvm-cov via nix-common.nix:98 (devTools), which flake.nix (devShells.default) and shell.nix both import.
The pinned nixpkgs still provides cargo-llvm-cov 0.9.0 (only 0.9.0 derivations exist in the local store).
The check-enabled derivation built against cargo 1.99.0 fails its own test suite. Local build log for /nix/store/8xgy92jfs2h355z6ravzc36800acj6b6-cargo-llvm-cov-0.9.0.drv (doCheck=1, cargo-1.99.0): test result: FAILED. 6 passed; 14 failed; 3 ignored — e.g. crate1 unittests die with SIGSEGV: invalid memory reference, and bin_crate, build_dir, cargo_config, clean_profraw_only, clean_ws, instantiations, issue303, issue361, merge_failure_mode_all, no_test, open_report, real1, virtual1, workspace_with_bin fail.
Control: the same package with doCheck=1 built against cargo 1.98.1 succeeded (drv 0cp8nl6p…, output 4y8qxx0… present). So the break is the 1.99.0 toolchain, not the package source or a corrupt store.
Not reproduced as a full nix develop entry in this triage (evaluation/fetch was slow); the failure is evidenced at the failing derivation and its build log, which is what aborts nix-shell-env and the shell entry. No open PR or newer issue supersedes this: gh pr list --search cargo-llvm-cov returns only the unrelated nixpkgs bump #4519.
Fix path (scoped, ordered)
The package is only consumed as a binary (cargo llvm-cov in src/id/justfile:395-405, id/check-all:114, id/.cargo/config.toml); its own test suite is not part of this repo's workflows.
Smallest unblock — override doCheck = false for cargo-llvm-cov in the devShell pkgs (an overlay next to the id-rust-overlay import in lib/default.nix and shell.nix, or a single pkgs.cargo-llvm-cov.overrideAttrs in nix-common.nix so both shells share it). Rationale is already in the issue: the tests validate the tool, not this repo. Cost: one local rebuild of the 0.9.0 derivation (a doCheck=false variant is not substitutable).
Alternative — move cargo-llvm-cov out of the default shell into a dedicated coverage shell. Precedent exists: pkgs/id has its own shell that already lists the package (pkgs/id/nix-common.nix:79). Larger change; makes coverage a separate nix develop .#coverage step.
Upstream — bump/pin cargo-llvm-cov to a release whose tests pass under 1.99.0, or wait for nixpkgs to move it. Re-check nixpkgs bump PR chore(deps): nixpkgs update 2026-10-30 #4519 before doing (1): if it already carries a fixed version, no overlay is needed.
Recommendation: (1) now, as a nix-common.nix override so nix develop, nix-shell, and the system profile stay in sync; keep (3) as the cleanup that removes the override once the toolchain in nixpkgs carries a passing version.
Blockers and ordering
No hard blocker; this is immediately actionable.
Ordering: if chore(deps): nixpkgs update 2026-10-30 #4519 lands first, re-check the pinned cargo-llvm-cov version/tests before applying the override, so the workaround is not carried longer than needed.
Expectation: choose a scoped remedy, preserve coverage tooling, verify default shell cargo and cargo llvm-cov availability, then open PR and complete promptly.
Activity
dezren39 commentedon Nov 3, 2026
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 30 (priority/none). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
dezren39 commentedon Nov 3, 2026
🤖 Agent note · handed off
ses_e5e5dc4e73effeYFDZe4elGv7prepo-worker-code(bound worker uses this id for all queue helper verbs)opencode-route/workhorse, agentbuilddezren39 commentedon Nov 3, 2026
agent-note:v1
state: triaged
verdict: live — fix path scoped, not already handled
Verification at current main
Checked at
main=1c1aa4a799fc8e11ff208118230de955996e509c(local HEAD andgh api repos/developing-today/code/commits/mainagree;nix-common.nixatref=mainstill listscargo-llvm-covat line 98).1.99.0(pkgs/id/rust-toolchain.toml), so the conflict described in the issue is unchanged.cargo-llvm-covvianix-common.nix:98(devTools), whichflake.nix(devShells.default) andshell.nixboth import.0.9.0derivations exist in the local store)./nix/store/8xgy92jfs2h355z6ravzc36800acj6b6-cargo-llvm-cov-0.9.0.drv(doCheck=1,cargo-1.99.0):test result: FAILED. 6 passed; 14 failed; 3 ignored— e.g.crate1unittests die withSIGSEGV: invalid memory reference, andbin_crate, build_dir, cargo_config, clean_profraw_only, clean_ws, instantiations, issue303, issue361, merge_failure_mode_all, no_test, open_report, real1, virtual1, workspace_with_binfail.doCheck=1built against cargo 1.98.1 succeeded (drv0cp8nl6p…, output4y8qxx0…present). So the break is the 1.99.0 toolchain, not the package source or a corrupt store.Not reproduced as a full
nix developentry in this triage (evaluation/fetch was slow); the failure is evidenced at the failing derivation and its build log, which is what abortsnix-shell-envand the shell entry. No open PR or newer issue supersedes this:gh pr list --search cargo-llvm-covreturns only the unrelated nixpkgs bump #4519.Fix path (scoped, ordered)
The package is only consumed as a binary (
cargo llvm-covinsrc/id/justfile:395-405,id/check-all:114,id/.cargo/config.toml); its own test suite is not part of this repo's workflows.doCheck = falseforcargo-llvm-covin the devShellpkgs(an overlay next to theid-rust-overlayimport inlib/default.nixandshell.nix, or a singlepkgs.cargo-llvm-cov.overrideAttrsinnix-common.nixso both shells share it). Rationale is already in the issue: the tests validate the tool, not this repo. Cost: one local rebuild of the 0.9.0 derivation (adoCheck=falsevariant is not substitutable).cargo-llvm-covout of the default shell into a dedicated coverage shell. Precedent exists:pkgs/idhas its own shell that already lists the package (pkgs/id/nix-common.nix:79). Larger change; makes coverage a separatenix develop .#coveragestep.Recommendation: (1) now, as a
nix-common.nixoverride sonix develop,nix-shell, and the system profile stay in sync; keep (3) as the cleanup that removes the override once the toolchain in nixpkgs carries a passing version.Blockers and ordering
nix develop .#fleetand.#mcpx-lintbuild and were used for mcpx: regenerate ops.gen.ts as part of treefmt (auto-format) #4815 verification.nix developenters the default shell on x86_64-linux, andcargo llvm-covruns from that shell.Kept open and marked
status/triaged; queued as an implementation task.dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
opencode15 remaining items
dezren39 commentedon Nov 8, 2026
🤖 Agent note · picked up
dezren39 commentedon Nov 8, 2026
🤖 Agent note · PR opened / task done
doCheck = falseoverride; baseline failure reproduced and patched default shell plus coverage binary verified.pr_opened; CI/Codex review pending, no wait performed.