Repository navigation
chore(deps): move docker/base to Node 26 (Debian trixie) - #384
Conversation
Node 26 becomes Active LTS on 2026-10-28 and Node 24 drops to maintenance on 2026-10-20, so the agent images move now, in a PR of their own, rather than inside a routine dependency batch. node:26-slim is built on Debian trixie, not bookworm, so the bump is an OS jump as well: - trixie ships Python 3.13. mitmproxy 10.2.4 pins zstandard and msgpack releases with no 3.13 wheels, whose source builds need cffi 1.16 and Python headers the image does not carry, so the build failed. 11.0 is the first mitmproxy release that supports 3.13; 11.0.2 installs from wheels alone (plus pure-Python pyperclip) on arm64 and amd64. - After the 64-bit time_t transition libevent-core-2.1-7 survives only as a name libevent-core-2.1-7t64 provides, so the real package is named instead. - trixie's libgbm1, which Chrome links, now depends on mesa-libgallium, so purging libgl1-mesa-dri no longer removes LLVM. libllvm19 and libz3-4 stay installed and the base grows by about 250 MB (1.81 GB to 2.06 GB on arm64). Supersedes #374, which changed only the two FROM lines and fails to build at the mitmproxy install. Signed-off-by: Artem Petrov <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
I checked this branch with real agent sessions launched by the app, not just Setup. I ran an isolated stack from this branch (its own network, ports and database; see OpenAI Codex (
Claude Code (
Closing each dialog stopped and removed its session container. The stack, its volumes and the Not done: a logged-in session that runs a prompt (that needs real provider credentials). 🤖 Generated with Claude Code |
ActionCable parses frames from unauthenticated clients with websocket-driver 0.8.2, which is open to remote DoS and message corruption (CVE-2026-140016, CVE-2026-140015). 0.9.1 needs websocket-extensions >= 0.2.0, so that moves to 0.3.0 too. Only the lockfile changes; rails stays at 8.1.4.1. Refs #384 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Evgeny Agafonov <[email protected]>
This PR moves the agent base image
docker/basefromnode:24-slimtonode:26-slim, which every agent image builds on. It supersedes #374. That PR changed only the twoFROMlines, and the image doesn't build with only that change.Timing. Node 26 becomes Active LTS on 2026-10-28, and Node 24 drops to maintenance on 2026-10-20 (Node release schedule). This lands as its own PR rather than inside the weekly dependency batch (#382). Merge whenever suits; holding it until the 28th is also reasonable.
It's an OS jump too: Debian bookworm → trixie
node:24-slimis bookworm andnode:26-slimis trixie. Three changes follow from that:mitmproxy10.2.4 → 11.0.2Python.h: No such file). That is why #374 can't build. 11.0 is the first mitmproxy release that supports 3.13, and 11.0.2 installs from wheels alone on arm64 and amd64. Our calls (CertStore.from_storeand the flow/stream hooks inmitm_logger.py) still work, and proxied traffic is still logged (smoke test below).libevent-core-2.1-7→libevent-core-2.1-7t64time_ttransition renamed the package. The old name is now just an alias thet64package provides, so the real name is used.libgbm1(which Chrome links) depends onmesa-libgallium. That keepslibllvm19andlibz3-4(about 180 MiB) installed afterlibgl1-mesa-driis purged. Removing them would mean forcing dpkg, which breaksaptfor agents, so they stay. Every agent image pulls this extra size on a cold node.Comment-only fixes: the tmux note (trixie ships tmux 3.5a), the Node version in the base's component list, the browser-trim note, and
connector_manifest.rb's runtime list (which still saidnode:22-slim).Verification
PR CI builds no
docker/*image (images.ymlruns only onmain-images, tags and the weekly canary), so this was built and smoke-tested locally.node -vprints v26.10.0.NODE_OPTIONS=--require /opt/mitm/http2-logger.jsappears in/var/log/mitm/http.log.http2-logger.js,aixle-redact.js,watcher/,auth-check/,probe-browser.js). Nothing matches. gemini's nativenode-ptyloads.docker buildx --platform linux/amd64.x86_64,node -vv26.10.0,codex-cli 0.156.1, ports 7681 and 7682 return 200, and all six startup checks show ✅.The same on develop, not caused by this PR:
unrecognized option: R. Port 7682 still comes up read-only.libsecret.allowScripts.Not verified: an authenticated CLI session against a real provider.
🤖 Generated with Claude Code