Skip to content

fleet-command dispatch container has no bun: JS-repo verification cannot run dispatched #13189

Open

Description

@dezren39

Problem. The fleet-command dispatch container cannot run JavaScript-repo verification commands: it has no bun on PATH. A dispatched run for an openchamber branch failed in ~8 s with bash: line 1: bun: command not found (exit 127) before any test executed.

Evidence: dispatch run https://github.com/developing-today-forks/fleet/actions/runs/45154877923 (repo developing-today-forks/openchamber, ref lane-qg-2501, command began bun install --frozen-lockfile && cd packages/web && bunx vitest run ...), 2026-11-23.

Why it matters. Dispatch-first is the standing route for build/test verification of lane work. The Bun-based repos (openchamber, opencode, and the code repo's own JS packages) cannot be verified through it at all today; lanes fall back to laptop-local runs. Sibling of #13159 / #13168 (the same container's nix develop defects): the container's toolchain does not cover the repos it is dispatched against.

Suggested shape. Bake bun into the dispatch container image alongside the existing toolchain, or document a supported bootstrap step in the fleet-command runbook (pkgs/fleet/doc/agents/remote-build-and-test.md) so dispatched commands can rely on it. Acceptance: a dispatched bunx vitest run against an openchamber branch executes the suite (pass or fail on the tests, not on a missing binary).

{
  "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:29:04Z",
    "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
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Baseline evidence added 2026-11-23 (Lane QG): with bun bootstrapped via the official installer inside the container, the suites start but every test file fails at import on pristine main with TypeError: undefined is not an object (evaluating 'z.string') (zod v4 under the container's curl-latest bun). Identical failure on the change branch and on main:

    So the container is not currently a usable oracle for the Bun repos in two stacked ways: no bun baked in, and a bun/zod combination that cannot import the suites even once bun is installed. The same suites pass on the laptop's pinned bun (210 passed / 1 skipped). Baking a pinned bun (matching the repos' expected toolchain) into the image would close both.

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