Skip to content

fix(fleet-dispatch): nix develop commands fail in the fleet-command container (nix config shaped for a daemon that is not there) #13198

Open

Description

@dezren39

Problem

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:

  1. 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
  2. Run 45155700465 — same command with --extra-experimental-features "nix-command flakes":
    error: the group 'nixbld' specified in 'build-users-group' does not exist
  3. 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)"
  }
}

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions