Skip to content

[3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) - #3866

Merged
integry merged 4 commits into
3758-epic-runtime-abstraction-sc0from
3864/claude-opus-5-5-move-server-and-app-image-20261127-2332-7jy
Nov 28, 2026
Merged

integry merged 4 commits into
3758-epic-runtime-abstraction-sc0from
3864/claude-opus-5-5-move-server-and-app-image-20261127-2332-7jy

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3864

Branch: 3864/claude-opus-5-5-move-server-and-app-image-20261127-2332-7jy
Commits: ✅ Changes committed (1e3c583)


AI Processing Completed

Execution Details:

Summary:
The server and service images now run on Node 24, and .nvmrc is 24. I couldn't run any of the acceptance checks here: this container has no Docker, so images:smoke, images:smoke:sqlite-startup and the app-image build (where the EBADENGINE warning would show) still need to run. The full CI suite, the two live Fly smoke runs (Sprites and Fly Machines) and the run links for the PR also need to be done from CI.

Changes

  • Dockerfiles: every node:22-* stage moved to the same variant on 24 (node:24-alpine / node:24-slim) in docker/Dockerfile.app.prod (3 stages), docker/Dockerfile.launcher, docker/Dockerfile.node, propr-ui/Dockerfile and docs/Dockerfile. I also moved packages/api/Dockerfile.prod, which the issue doesn't list: it's another server image, and test/dockerNodeVersion.test.mjs checks it alongside the others.
  • Pin test: test/dockerNodeVersion.test.mjs now requires 24 in every stage of those images.
  • Workflows: jobs that read .nvmrc (Validate Changes, docker-images.yml, release-rollout.yml, and others) now run on 24. The only workflow jobs that hard-code 22 test the CLI's Node 22 support, so I left them alone: the three in pr-build-check.yml (Darwin, Windows, Connect discovery) and the one in preview-cli-bundle.yml. The [22, 24] matrices in cli-node-compatibility.yml and pr-build-check.yml are unchanged.
  • Kept as they were: all engines.node ranges, Dockerfile.agent, the Sprite setup script and the desktop app. The CLI's range was already >=22, not the >=22.12.0 the issue mentions, so I didn't touch it.
  • Docs and changelog: the Fly Sprites section of docs/docs/architecture/agent-runtime.md now says the worker runs on Node 24, which is what @fly/sprites requires. There's a new entry under Unreleased → Changed in CHANGELOG.md.

Native modules, checked locally on Node v24.22.3 (glibc)

  • better-sqlite3 13.0.3: it has no install script and ships its prebuilt binaries inside the npm package, including linuxmusl-x64 and linuxmusl-arm64 for Alpine. They're built against Node's stable native API, so they don't depend on the Node version. It loaded on Node 24 and opened a database. I checked the musl binaries by inspecting them, not by running them on Alpine.
  • @fly/sprites: the CI smoke-test command passes on Node 24.
  • ssh2 loads. cpu-features fails to load because the copy in this checkout was compiled for Node 22, and ssh2 still loads without it, so the fallback is clean. The image runs npm ci on Node 24, so it builds cpu-features there.

The changed pin test and two CI-classification test files (114 tests) pass on Node 24. There's nothing visual in this change, so I didn't make previews.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (6 files)
    • .nvmrc (+1/−1)
    • docker/Dockerfile.app.prod (+3/−3)
    • docker/Dockerfile.launcher (+1/−1)
    • docker/Dockerfile.node (+1/−1)
    • packages/api/Dockerfile.prod (+2/−2)
    • propr-ui/Dockerfile (+2/−2)
  • Low risk (4 files)
    • CHANGELOG.md (+11/−0)
    • docs/Dockerfile (+2/−2)
    • docs/docs/architecture/agent-runtime.md (+1/−1)
    • test/dockerNodeVersion.test.mjs (+2/−2)

Diff size: 10 files changed, +26/−15 lines

View task for the run's logs and conversation.


This PR was created automatically by ProPR after processing issue #3864.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

The server and service images now run on Node 24, and `.nvmrc` is `24`. I couldn't run any of the acceptance checks here: this container has no Docker, so `images:smoke`, `images:smoke:sqlite-startup` and the app-image build (where the `EBADENGINE` warning would show) still need to run. The full CI suite, the two live Fly smoke runs (Sprites and Fly Machines) and the run links for the PR also need to be done from CI.

Changes
- Dockerfiles: every `node:22-*` stage moved to the same variant on 24 (`node:24-alpine` / `node:24-slim`) in `docker/Dockerfile.app.prod` (3 stages), `docker/Dockerfile.launcher`, `docker/Dockerfile.node`, `propr-ui/Dockerfile` and `docs/Dockerfile`. I also moved `packages/api/Dockerfile.prod`, which the issue doesn't list: it's another server image, and `test/dockerNodeVersion.test.mjs` checks it alongside the others.
- Pin test: `test/dockerNodeVersion.test.mjs` now requires 24 in every stage of those images.
- Workflows: jobs that read `.nvmrc` (Validate Changes, `docker-images.yml`, `release-rollout.yml`, and others) now run on 24. The only workflow jobs that hard-code 22 test the CLI's Node 22 support, so I left them alone: the three in `pr-build-check.yml` (Darwin, Windows, Connect discovery) and the one in `preview-cli-bundle.yml`. The `[22, 24]` matrices in `cli-node-compatibility.yml` and `pr-build-check.yml` are unchanged.
- Kept as they were: all `engines.node` ranges, `Dockerfile.agent`, the Sprite setup script and the desktop app. The CLI's range was already `>=22`, not the `>=22.12.0` the issue mentions, so I didn't touch it.
- Docs and changelog: the Fly Sprites section of `docs/docs/architecture/agent-runtime.md` now says the worker runs on Node 24, which is what `@fly/sprites` requires. There's a new entry under Unreleased → Changed in `CHANGELOG.md`.

Native modules, checked locally on Node v24.22.3 (glibc)
- `better-sqlite3` 13.0.3: it has no install script and ships its prebuilt binaries inside the npm package, including `linuxmusl-x64` and `linuxmusl-arm64` for Alpine. They're built against Node's stable native API, so they don't depend on the Node version. It loaded on Node 24 and opened a database. I checked the musl binaries by inspecting them, not by running them on Alpine.
- `@fly/sprites`: the CI smoke-test command passes on Node 24.
- `ssh2` loads. `cpu-features` fails to load because the copy in this checkout was compiled for Node 22, and `ssh2` still loads without it, so the fallback is clean. The image runs `npm ci` on Node 24, so it builds `cpu-features` there.

The changed pin test and two CI-classification test files (114 tests) pass on Node 24. There's nothing visual in this change, so I didn't make previews.

ProPR-Agent: claude/claude-opus-5-5
@propr-dev

propr-dev Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 4/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 4/4
  • Result: failure
  • Commit: 1e3c583c9ff6 (1e3c583c9ff661bb609284482088e194841a7f37)
  • Run: View CI failure

Failure evidence

.github:11
Process completed with exit code 1.

.github:27551
Process completed with exit code 1.

.github:2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@propr-dev

propr-dev Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 8ef66c9

Summary of Changes

I fixed the Shard 4/4 failure. The tests that failed now pass on Node 24, the version CI uses after this PR's .nvmrc change.

Cause: test/dockerExecutorWatchdog.test.ts crashed while loading, with Cannot create mock because named exports cannot be applied to the provided default export. Node 24's module mocking won't accept a class as the default export of a CommonJS package. It needs a plain object there before it can attach named exports. The test mocked ioredis with namedExports: { Redis: FakeRedis, default: FakeRedis }, which Node 22 accepted. Five other test suites used the same mock and failed the same way on Node 24. They didn't show up in this CI run only because shards 1–3 were cancelled.

Fix: I dropped the default entry so only the named Redis export is mocked, which is what most of the other ioredis mocks in the repo already do. The code under test only uses the named Redis export (import { Redis } from 'ioredis', and bullmq calls require("ioredis")), so nothing needed the default. I made this one-line change in each of these files:

  • test/dockerExecutorWatchdog.test.ts
  • test/dockerExecutorLiveOutput.test.ts
  • test/dockerExecutorEnvironment.test.ts
  • test/claudeExtensionEnvironment.test.ts
  • test/liveAgentSessionOverflow.test.ts
  • packages/core/test/managedDiagnostics.test.ts (two places)

Results on Node 24.22.3, the same version as CI:

  • Before the fix: all six suites failed.
  • After the fix: they pass (14, 8, 5, 1 and 2 tests, plus 33/33 in managedDiagnostics).
  • Flaky case: the first full run of managedDiagnostics had one failure: "credential cache evicts…" stopped after 10.6s. It passed when run alone and in a full-file rerun, so it looks like timing under load rather than this change.
  • Node 22: four of the five test/ suites still pass; I didn't rerun managedDiagnostics there.
  • Node 22 failure that isn't from this fix: claudeExtensionEnvironment fails on Node 22 in this container with table system_configs already exists. It fails the same way with the unmodified file.

I only reran these suites, not the full sharded CI suite.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk: none
  • Low risk (6 files)
    • packages/core/test/managedDiagnostics.test.ts (+2/−2)
    • test/claudeExtensionEnvironment.test.ts (+1/−1)
    • test/dockerExecutorEnvironment.test.ts (+1/−1)
    • test/dockerExecutorLiveOutput.test.ts (+1/−1)
    • test/dockerExecutorWatchdog.test.ts (+1/−1)
    • test/liveAgentSessionOverflow.test.ts (+1/−1)

Diff size: 6 files changed, +7/−7 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 15m 24s
  • Tokens: 1,779,378 (1,771,007 in / 8,371 out)
  • Cost: $0.85

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 7230539592✓

I fixed the Shard 4/4 failure. The tests that failed now pass on Node 24, the version CI uses after this PR's `.nvmrc` change.

**Cause:** `test/dockerExecutorWatchdog.test.ts` crashed while loading, with `Cannot create mock because named exports cannot be applied to the provided default export.` Node 24's module mocking won't accept a class as the default export of a CommonJS package. It needs a plain object there before it can attach named exports. The test mocked `ioredis` with `namedExports: { Redis: FakeRedis, default: FakeRedis }`, which Node 22 accepted. Five other test suites used the same mock and failed the same way on Node 24. They didn't show up in this CI run only because shards 1–3 were cancelled.

**Fix:** I dropped the `default` entry so only the named `Redis` export is mocked, which is what most of the other `ioredis` mocks in the repo already do. The code under test only uses the named `Redis` export (`import { Redis } from 'ioredis'`, and bullmq calls `require("ioredis")`), so nothing needed the default. I made this one-line change in each of these files:
- `test/dockerExecutorWatchdog.test.ts`
- `test/dockerExecutorLiveOutput.test.ts`
- `test/dockerExecutorEnvironment.test.ts`
- `test/claudeExtensionEnvironment.test.ts`
- `test/liveAgentSessionOverflow.test.ts`
- `packages/core/test/managedDiagnostics.test.ts` (two places)

**Results on Node 24.22.3, the same version as CI:**
- **Before the fix:** all six suites failed.
- **After the fix:** they pass (14, 8, 5, 1 and 2 tests, plus 33/33 in `managedDiagnostics`).
- **Flaky case:** the first full run of `managedDiagnostics` had one failure: "credential cache evicts…" stopped after 10.6s. It passed when run alone and in a full-file rerun, so it looks like timing under load rather than this change.
- **Node 22:** four of the five `test/` suites still pass; I didn't rerun `managedDiagnostics` there.
- **Node 22 failure that isn't from this fix:** `claudeExtensionEnvironment` fails on Node 22 in this container with `table system_configs already exists`. It fails the same way with the unmodified file.

I only reran these suites, not the full sharded CI suite.

PR: #3866
Comment by: @propr-dev[bot] (ID: 7230539592)
Model: Claude Opus 5.5

ProPR-Agent: claude/claude-opus-5-5
@propr-dev

propr-dev Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 3/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 3/4
  • Result: failure
  • Commit: 8ef66c9f56db (8ef66c9f56db0cbd05e682115322abd1ae3731a0)
  • Run: View CI failure

Failure evidence

.github:11
Process completed with exit code 1.

.github:22946
Process completed with exit code 1.

.github:2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@propr-dev

propr-dev Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 23940ca

Summary of Changes

Both CI failures in Full Test Suite Shard 3/4 were caused by the switch to Node 24. CI's test jobs read .nvmrc, which this PR moved to 24, and Node 24's test runner behaves differently in two ways. The app code was fine, and neither failure was a flake. I changed two test files, and both tests now pass on Node 22.23.4 and on a downloaded Node 24.22.3.

  1. test/nodeTestProof.test.mjs (cancelled tests and per-test timeouts).

    • Cause: the fixture scripts/lib/fixtures/nodeTestProof/cancelled.mjs got its "cancelled" case from a parent test that never awaited its subtest. Node 24 now waits for that subtest itself, so it passed and the expected cancelled result disappeared.
    • Fix: the subtest now runs inside the test that goes over its own 20 ms timeout, and the timeout cancels it. Node 22 and 24 now report the same thing: the subtest as cancelledByParent and the parent as testTimeoutFailure. The test's assertions didn't change.
  2. packages/api/test/previewMediaProjection.test.ts (consumers exit without opening a global database).

    • Cause: this test starts a child test process and checks its output for the TAP line ok N - generic task lists exclude native goal backing tasks. Node 24 prints its spec format (✔ …) even when the output goes to a pipe, so the match failed.
    • Fix: the child is now started with --test-reporter=tap. No other test matches TAP output this way.

I ran only these two files, not the full shard. Shard 3/4 will be confirmed by the next CI run.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk: none
  • Low risk (2 files)
    • packages/api/test/previewMediaProjection.test.ts (+2/−1)
    • scripts/lib/fixtures/nodeTestProof/cancelled.mjs (+6/−3)

Diff size: 2 files changed, +8/−4 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 7m 31s
  • Tokens: 1,383,418 (1,377,001 in / 6,417 out)
  • Cost: $0.71
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 7231040305✓

Both CI failures in Full Test Suite Shard 3/4 were caused by the switch to Node 24. CI's test jobs read `.nvmrc`, which this PR moved to 24, and Node 24's test runner behaves differently in two ways. The app code was fine, and neither failure was a flake. I changed two test files, and both tests now pass on Node 22.23.4 and on a downloaded Node 24.22.3.

1. **`test/nodeTestProof.test.mjs` (cancelled tests and per-test timeouts).**
   - **Cause:** the fixture `scripts/lib/fixtures/nodeTestProof/cancelled.mjs` got its "cancelled" case from a parent test that never awaited its subtest. Node 24 now waits for that subtest itself, so it passed and the expected `cancelled` result disappeared.
   - **Fix:** the subtest now runs inside the test that goes over its own 20 ms timeout, and the timeout cancels it. Node 22 and 24 now report the same thing: the subtest as `cancelledByParent` and the parent as `testTimeoutFailure`. The test's assertions didn't change.

2. **`packages/api/test/previewMediaProjection.test.ts` (consumers exit without opening a global database).**
   - **Cause:** this test starts a child test process and checks its output for the TAP line `ok N - generic task lists exclude native goal backing tasks`. Node 24 prints its spec format (`✔ …`) even when the output goes to a pipe, so the match failed.
   - **Fix:** the child is now started with `--test-reporter=tap`. No other test matches TAP output this way.

I ran only these two files, not the full shard. Shard 3/4 will be confirmed by the next CI run.

PR: #3866
Comment by: @propr-dev[bot] (ID: 7231040305)
Model: Claude Opus 5.5

ProPR-Agent: claude/claude-opus-5-5
@propr-dev propr-dev Bot changed the title 🔨 [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) ✅ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026

integry commented Nov 28, 2026

Copy link
Copy Markdown
Owner

/ultrafix goal=8 max=10

@propr-dev propr-dev Bot added the ultrafix label Nov 28, 2026
@propr-dev

propr-dev Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 10)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@propr-dev propr-dev Bot changed the title ✅ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) 🔨 [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026
@propr-dev

propr-dev Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR consistently moves server and service images to Node 24, with focused test adjustments for the new runtime. No code blocker is demonstrated, but image-level verification remains a material gap before declaring it merge-ready.

✅ Consistent runtime migration — All changed Dockerfile stages use Node 24 while preserving their Alpine or slim variants; .nvmrc matches.

✅ Compatibility coverage retained — The explicit Node 22/24 CLI matrix remains intact, and current-head checks report successful CLI compatibility and full-suite runs.

✅ Test intent preserved — The cancellation fixture still exercises both timeout and child cancellation classifications. Explicit TAP output preserves the subprocess assertion without weakening it.

This assessment uses the supplied diff and context; no commands were run.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Supply image acceptance evidence

Attach current-head results for the app-image build, images:smoke, images:smoke:sqlite-startup, and the Fly Machines/Sprites live smoke runs identified in the PR summary. The supplied checks establish successful application tests but do not establish these image and deployment outcomes, particularly native-module loading under Alpine on Node 24. This is a verification follow-up rather than a demonstrated code defect; no additional implementation change is established as necessary.

Score

The changes are focused and consistent, with no verified regression and no current-head check failures. Missing image and live-runtime acceptance evidence prevents an unconditional merge-ready assessment.

Score: 7/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 22s
  • Tokens: 38,958 (38,547 in / 411 out)
  • Cost: $0.28

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S1

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Ultrafix stopped before reaching its goal. Requested goal: 8/10. Last score: 7/10. Stopped in cycle 1 of 10. The review has no actionable blockers, so no fix was scheduled. Manual review and merge are now required.

@propr-dev propr-dev Bot removed the ultrafix label Nov 28, 2026
@propr-dev propr-dev Bot changed the title 🔨 [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) ⚠️❼ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026
integry pushed a commit that referenced this pull request Nov 28, 2026
@integry

integry commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Image and live acceptance evidence for head 23940ca (informational, no code changes requested). Images built locally from this head with scripts/build-images.sh --only app,ui,docs,launcher:

  • npm run images:smoke (scripts/smoke-test-images.sh): ✅ passed. App, UI and docs images boot; API, daemon and worker run; launcher manifest and orchestrator; agent entrypoints; sharp 0.35.5 (vips 8.18.7, linux/x64) resolves from both the core and API workspaces on Alpine.
  • npm run images:smoke:sqlite-startup: ✅ passed (3/3 blank startups, existing/upgraded database startup, migration failure correctly blocked).
  • Direct check in the app image: Node v24.22.3, better-sqlite3 loads and runs (SQLite 3.53.4).
  • Live Fly smoke, Claude × Fly Machines: ✅ 46117352181, built from this checkout on node:24-slim / node:24-alpine.

@propr-dev propr-dev Bot changed the title ⚠️❼ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) 🔨 [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026
@propr-dev

propr-dev Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @integry

Analysis Summary

Thanks for the evidence. I made no code changes, because you said none were needed. The branch head is still 23940ca and the working tree is clean, so your results apply to exactly what's on the PR.

Your runs close the checks I couldn't do here, since this container has no Docker:

  • Image smoke tests: images:smoke and images:smoke:sqlite-startup both passed. That includes sharp loading on Alpine from both the core and API workspaces, and a failed migration correctly blocking startup.
  • Native modules on Node 24: better-sqlite3 loads and runs inside the app image on Node v24.22.3. Before, I had only inspected the Alpine binaries without running them.
  • Live Fly smoke, Fly Machines: passed in run 46117352181, built on node:24-slim and node:24-alpine.

Two checks from the original list aren't in this evidence:

  • Live Fly smoke on Sprites: no run yet. This is the path that needs Node 24 for @fly/sprites.
  • EBADENGINE warning during the app-image build: your notes don't say whether it showed up.

Nothing about this change is visual, so I didn't make any previews.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 2m 57s
  • Tokens: 85,983 (85,379 in / 604 out)
  • Cost: $0.20

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 7235594026✓

integry commented Nov 28, 2026

Copy link
Copy Markdown
Owner

/ultrafix goal=8 max=10

@propr-dev propr-dev Bot added the ultrafix label Nov 28, 2026
@propr-dev

propr-dev Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 10)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@propr-dev

propr-dev Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR consistently moves server and service images to Node 24 while retaining Node 22 CLI compatibility. The changes are focused, and no code blocker is evident from the supplied diff. One material verification gap remains before calling it merge-ready: the original objective identifies live smoke runs for both Fly Machines and Sprites, but the supplied acceptance evidence covers only Fly Machines.

✅ Consistent image migration — Every changed Node base-image stage moves to 24 while preserving its Alpine or slim variant.

✅ Focused test adaptations — Explicit TAP output preserves the subprocess assertion, and the revised cancellation fixture retains both cancellation and timeout coverage expected by its consumer.

✅ Substantial validation evidence — Current-head checks report 24 passes and no failures. The authorized follow-up reports successful image smoke tests, SQLite startup checks, native-module loading, and a live Fly Machines run for head 23940ca.

This review is based on the supplied code and evidence; no commands were run.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S2: 🟢 Complete Sprites acceptance evidence

Provide the live Sprites smoke result and run link for the reviewed head. The original objective identifies this validation separately from Fly Machines, and the supplied SDK constructor smoke does not demonstrate a live Sprites session. This is an outstanding verification follow-up, not a demonstrated code defect or a request for additional implementation.

Score

The implementation is focused and supported by passing checks and substantial image validation. The missing live Sprites acceptance evidence leaves a material verification gap, despite no verified code blocker.

Score: 7/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 26s
  • Tokens: 40,625 (40,182 in / 443 out)
  • Cost: $0.29

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S2

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Ultrafix stopped before reaching its goal. Requested goal: 8/10. Last score: 7/10. Stopped in cycle 1 of 10. The review has no actionable blockers, so no fix was scheduled. Manual review and merge are now required.

@propr-dev propr-dev Bot removed the ultrafix label Nov 28, 2026
@propr-dev propr-dev Bot changed the title 🔨 [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) ⚠️❼ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026
integry pushed a commit that referenced this pull request Nov 28, 2026
@integry

integry commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Sprites acceptance for head 23940ca (informational, no code changes requested): Claude × Sprites ✅ 46121403773, built from this checkout on Node 24. Together with Claude × Fly Machines ✅ 46117352181 and the local images:smoke / images:smoke:sqlite-startup passes posted above, both runtimes and the image acceptance checks are covered.

integry commented Nov 28, 2026

Copy link
Copy Markdown
Owner

/ultrafix goal=8 max=10

@propr-dev propr-dev Bot changed the title ⚠️❼ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) 🔨 [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026
@propr-dev

propr-dev Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @integry

Analysis Summary

I didn't change any code. You flagged this update as informational, and nothing in it asks for edits.

Here's where acceptance for head 23940ca now stands:

  • Claude × Sprites: ✅ 46121403773, built from this checkout on Node 24. The Fly Sprites section of docs/docs/architecture/agent-runtime.md says the worker runs on Node 24 because @fly/sprites requires it, and this run confirms that.
  • Claude × Fly Machines: ✅ 46117352181, built on node:24-slim / node:24-alpine.
  • images:smoke: ✅ in your local run. The app, UI and docs images boot, and sharp resolves on Alpine.
  • images:smoke:sqlite-startup: ✅ in your local run. Blank, existing and upgraded databases all start, and a failed migration is blocked as it should be.

These cover the acceptance checks I couldn't run in my container because it has no Docker: the image smoke tests, the app-image build, and both live Fly smoke runs. Your direct check also shows better-sqlite3 loading on Node v24.22.3. That confirms on a real Alpine image what I had only checked earlier by inspecting the musl binaries. Unless the CI suite turns something up, there's nothing left to do on the branch.

There are no previews, since nothing visual changed.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 3m 13s
  • Tokens: 37,749 (37,204 in / 545 out)
  • Cost: $0.13

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 7236205057✓

@propr-dev propr-dev Bot added the ultrafix label Nov 28, 2026
@propr-dev

propr-dev Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 10)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@propr-dev

propr-dev Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

Ready to merge within scope. The PR consistently moves server and service images to Node 24, updates the shared CI runtime, and makes focused test compatibility adjustments.

✅ Consistent runtime upgrade — All changed Docker stages use Node 24 while retaining their Alpine or slim variants. CLI Node 22/24 compatibility coverage remains intact.

✅ Preserved test intent — The cancellation fixture still exercises cancellation and timeout classification. Explicit TAP output preserves the subprocess assertion, and the Redis mocks retain the named export used by the supplied consumer.

✅ Acceptance evidence supplied — Current checks show 24 passed and no failures. Authorized follow-ups report image startup, SQLite startup, and both live runtime smoke tests passing for head 23940ca.

This assessment is based on the supplied diff and context; no commands were run.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

No suggestions.

Score

The changes satisfy the effective objective with focused scope and supporting acceptance evidence. No PR-introduced regression or merge blocker was identified.
Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 15s
  • Tokens: 39,191 (38,911 in / 280 out)
  • Cost: $0.27

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

🤖 Review by ProPR

@propr-dev propr-dev Bot removed the ultrafix label Nov 28, 2026
@propr-dev propr-dev Bot changed the title 🔨 [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) ✅❾ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026
@propr-dev

propr-dev Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

🔀 Resolved merge conflicts from 3758-epic-runtime-abstraction-sc0 into 3864/claude-opus-5-5-move-server-and-app-image-20261127-2332-7jy in commit a16ac35

Conflicting Files

  • CHANGELOG.md

Resolution Summary

The merge had one conflict, in CHANGELOG.md, and it's resolved. No conflict markers are left anywhere in the repository; a full search after the fix came back empty.

What the conflict was: Both branches added a new entry at the top of the ### Changed section, so git couldn't tell which order to put them in.

How I resolved it: I kept all four entries word for word and put this PR's #3864 entry first, followed by #3844, #3842 and #3841. Each entry is separated by a blank line, as elsewhere in the file, and the existing entries below them (the Mistral Vibe upgrade and #3752) are unchanged.

Why: The entries describe separate changes, the Node 24 image move and the OpenCode/Vibe extension support, so the right fix was to keep both sides rather than choose one. The section lists entries newest-first by PR number, and #3864 is the highest, so it goes at the top. The markdown structure is intact and git diff --check found no whitespace problems.


🤖 Resolution Details

  • Model: Claude Opus 5.5
  • Time: 3m 25s

View Task Execution


System-triggered merge conflict resolution

@propr-dev propr-dev Bot changed the title ✅❾ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) 🔨 [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026
Automatically resolved merge conflicts after merging target branch into PR branch.
Resolved conflicts in:
- CHANGELOG.md

PR: #3866
Model: Claude Opus 5.5
@propr-dev propr-dev Bot changed the title 🔨 [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) ✅❾ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026
@integry
integry merged commit b896186 into 3758-epic-runtime-abstraction-sc0 Nov 28, 2026
41 checks passed
@propr-dev propr-dev Bot changed the title ✅❾ [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) [3864 by Claude Opus 5.5] Move server and app images to Node 24 (Active LTS; @fly/sprites requires >=24) Nov 28, 2026
propr-dev Bot pushed a commit that referenced this pull request Nov 28, 2026
I fixed the failing check. It wasn't a test failure: all 141 native durability tests passed in CI (`ℹ fail 0`). The script that checks the test inventory couldn't read the output and reported `executed=0` for every suite and `-1` for the totals, so it failed the step.

**Cause:** the latest commit on the branch (#3866) changed `.nvmrc` to Node 24, and this desktop job reads its Node version from that file. `apps/desktop/scripts/run-native-durability.mjs` checks the inventory by looking for TAP lines like `# Subtest: …`, `1..N` and `# tests N`. Up to Node 22, `node --test` writes TAP when its output goes to a pipe. From Node 23 on it writes its human-readable "spec" format instead, so none of those lines were there to find.

**Fix:**
- `apps/desktop/scripts/run-native-durability.mjs`: the script now runs the tests with `--test-reporter=tap`, so they produce TAP on any Node version. I added a comment explaining why.
- `apps/desktop/scripts/run-native-durability.test.mjs`: this test checks the exact command the script runs, so I added the new flag there.

**Verified locally:**
- On Node 24, the full native durability run exits 0 with every count matched: credential-service 87/87, profile-store 33/33, crash-recovery 4/4, pairing-shutdown 10/10, pairing-browser 7/7, and 141 executed and passed with 0 failed, cancelled or skipped.
- The script's own 19 tests pass on both Node 22 and Node 24.

Nothing in this change is visible to a user, so there are no previews.

PR: #3774
Comment by: @propr-dev[bot] (ID: 7238223627)
Model: Claude Opus 5.5

ProPR-Agent: claude/claude-opus-5-5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant