Skip to content

Ship a host-only artifact for enrolled machines #2968

Description

@ymichael

The workflow

Install or auto-update an enrolled execution machine from its owning bb server while retaining the host daemon, service startup, enrollment, exact-version installation, and the agent-launched bb CLI.

What happens today

/install/bb-app.tgz builds and serves the complete bb-app distribution, including the server and web application that an enrolled machine never launches. On main at b66c739543d4d78cba3b0ef318a78dc6b57abdc4, the artifact measured 39,602,419 compressed bytes, 177,646,835 unpacked bytes, and 2,063 files. A forced build took 53.83 seconds and npm pack took 16.20 seconds on macOS with Node 22.23.1. Repeating installation always downloads and reinstalls the artifact because version strings do not distinguish identical unpublished builds.

What you would expect

Serve the smallest practical exact-version host runtime at the existing package route. It should retain bb, bb-app, and bb-host-daemon, support the existing launchd/systemd services and protocol-driven updater, verify downloaded bytes with SHA-256, and return 304 Not Modified when the identical installed artifact is requested again. The route and updater must remain compatible across a rolling deployment.

Context and alternatives

The server and app bundles cannot be removed from the published full bb-app package because local and desktop installs still need them. A separate host build consumed by the existing route keeps those workflows independent. Searches for enrolled-machine artifact, bb-app.tgz, and host-daemon auto-update issues found no duplicate. This does not include ephemeral host allocation or UI changes.

AGENT GENERATED

Activity

  1. added
    host
    desktop
    on Sep 2, 2026
  2. bb-slop-cop commented on Sep 2, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Type: Feature
    • Priority: Medium
    • Effort: High
    • Labels: desktop, host

    No pull request was opened because this rule skips reports and fixes for a non-Bug Type.

  3. added a commit that references this issue on Sep 2, 2026
    d352c56
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

    desktophost

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions