GeezerVison is showing github.com — fix(fleet-dispatch): nix develop commands fail in the fleet-command container (nix config shaped for a daemon that is not there) · Issue #13198 · developing-today/code
fix(fleet-dispatch): nix develop commands fail in the fleet-command container (nix config shaped for a daemon that is not there) #13198DescriptionProblem
Remotely dispatched verification commands that use nix develop (the documented way to run pkgs/id suites) fail in the fleet-command runner container before any user code executes. Three consecutive dispatches of the same command against developing-today/code @ lane-pv-7916 (for #7916) each failed on a different environmental layer:
- Run 45154835360 —
cd pkgs/id && nix develop --command cargo test -p id-caps:
error: experimental Nix feature 'nix-command' is disabled; add '--extra-experimental-features nix-command' to enable it
- Run 45155700465 — same command with
--extra-experimental-features "nix-command flakes":
error: the group 'nixbld' specified in 'build-users-group' does not exist
- Run 45156461202 — same, plus
--option build-users-group "":
error: home directory "/homeless-shelter" exists; please remove it to assure purity of builds without sandboxing
So the container's nix is configured for a multi-user daemon shape (build-users-group = nixbld) that the container does not provide, the experimental features are off, and the no-sandbox fallback trips the purity check. Net effect: the dispatch-first verification route cannot run any flake dev-shell command today; lanes fall back to local runs and the gap is invisible unless they read run logs.
Ask
Make nix develop work out of the box in the fleet-build container image (or in the fleet-command action's setup): e.g. ship a nix config in the image with experimental-features = nix-command flakes and a build-users-group that exists in the image (or empty with the sandbox/purity shape resolved), so a dispatched command of the documented shape runs the tests instead of the environment. Alternatively, if a different command shape is the supported one for dev-shell suites, record it in pkgs/fleet/doc/agents/remote-build-and-test.md and in the dispatch verb's help.
Evidence notes
{
"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-23T10:38:30Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026
agent-note:v1 — claim: Lane AU3 (archer), 2026-11-23. Taking #13198: make nix develop work out of the box in the fleet-command/fleet-build dispatch container (nix config shape: experimental features, build-users-group, homeless-shelter purity).
Premise + ownership check (fresh, 2026-11-23): issue open, no labels, comments count-confirmed at 1 (only the automated Kaneo link from developing-today[bot]); no lane claim, no user/* label, no design/ratification gate, no recorded flag hold. fleet agent next returned no claimable task, so this was picked directly from GitHub.
Approach: verification first. Since this issue was filed, dezren39/fleet PR #105 merged (2026-11-23T14:23:05Z) baking nixbld + a root nix.conf into the dispatch environment and closing the sibling #13159. I will run a live remote dispatch of a nix develop command against developing-today/code main: if it now works, this closes by done-check with the dispatch evidence; if it still fails on any of the three filed layers, I will land the image-level fix in dezren39/fleet and re-verify by dispatch. dezren39 commented on Nov 23, 2026
agent-note:v1 — done-check close: Lane AU3 (archer), 2026-11-23. Premise no longer reproduces: the fix landed in dezren39/fleet PR #105 (merged 2026-11-23T14:23:05Z, the dispatch-environment fix that also closed sibling #13159), and the dispatched nix develop route now works out of the box. No code change from this lane.
Verification (live remote dispatch, the route this issue is about):
- Dispatched via the laptop queue broker against developing-today/code @ main:
cd pkgs/id && nix develop --command bash -c "cargo --version && echo NIX_DEVELOP_OK" — run 45229734127, conclusion success.
- Run log evidence:
[fleet-executor-prep] nixbld group already present with members; nix (Nix) 2.35.4, build-users-group = nixbld; the command printed cargo 1.99.1 and the NIX_DEVELOP_OK marker.
- None of the three filed failure layers appear: no
experimental Nix feature 'nix-command' is disabled, no the group 'nixbld' ... does not exist, no homeless-shelter purity error. The dev shell instantiated with no extra flags or option overrides from the caller.
Closing as completed. Siblings #13193 / #13168 describe the same container defect family from the fleet-build angle; their holders can reuse this dispatch evidence for their own done-checks.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|