Skip to content

Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) #3864

Done

Description

@integry

Why

  • Node support: Node 24 is the Active LTS. Node 22 has been in maintenance (security fixes only) since late 2025 and reaches end of life in April 2027.
  • The Sprites SDK: @fly/sprites 0.2.5, which the Sprites runtime is built on (packages/core/src/agents/runtime/sprites/*), declares engines.node >=24.0.0. The app image runs Node 22, and npm ci warns EBADENGINE. It works today, but it's outside the SDK's supported range.

Change

  1. Server and service images to Node 24, on the same image variants:

    • docker/Dockerfile.app.prod: the ui-builder (node:22-slim), builder and runtime (node:22-alpine) stages.
    • docker/Dockerfile.launcher, docker/Dockerfile.node.
    • propr-ui/Dockerfile (both stages), docs/Dockerfile (both stages).

    Pin the major tag (node:24-alpine / node:24-slim) the way the files pin 22 today.

  2. .nvmrc → 24, so the CI jobs that read it run on 24. Check workflows that hard-code node-version: 22, for example in docker-images.yml or the release jobs, and move the server and image ones to 24.

  3. Keep the CLI's engines.node at >=22.12.0, and keep cli-node-compatibility.yml's [22, 24] matrix, so CLI users on Node 22 aren't broken. Any other package published to npm keeps its engines range as well.

  4. Native modules: confirm better-sqlite3 (13.0.3) installs from a prebuilt Node 24 binary on Alpine (musl) and on Debian. Confirm ssh2 and cpu-features (optional) build or fall back cleanly.

  5. Out of scope: the agent images (Dockerfile.agent), whose Node comes from the agent CLIs, the Sprite setup script, and the desktop app.

Acceptance

  • The full CI suite is green with .nvmrc at 24.
  • npm run images:smoke and images:smoke:sqlite-startup pass on the new images.
  • No EBADENGINE warning for @fly/sprites in the app image build.
  • One live Fly smoke run on each runtime (Sprites, Fly Machines) on the PR head. Add the run links to the PR.
  • A CHANGELOG entry saying the server images now run on Node 24.

Activity

  1. propr-dev commented on Nov 27, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3864/claude-opus-5-5-move-server-and-app-image-20261127-2332-7jy
    • Base Branch: 3758-epic-runtime-abstraction-sc0
    • Worktree: issue-3864-20261127-2332-claude-opus-5-5-7jy

    🔍 Track Task Execution

  2. integry commented on Dec 1, 2026

    @integry
    OwnerAuthor

    Done in #3866, which merged into the runtime epic; the epic merged into main with #3774 and ships in 0.9.4.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions