sallyom
e1795256d5
fix(docker): avoid external Dockerfile frontend pull
...
Signed-off-by: sallyom <somalley@redhat.com >
2026-05-12 00:19:04 -04:00
Ayaan Zaidi
4a009612c9
fix(docker): prune with source workspace policy
2026-05-11 10:50:30 +05:30
Peter Steinberger
a04e40e6fa
fix(docker): use pnpm 11 config env for prune
2026-05-11 00:48:14 +01:00
Altay
fe0cbf1c40
fix(docker): preserve pnpm workspace metadata
2026-05-11 00:48:14 +01:00
Altay
d22424f7d2
fix(ci): keep Docker patch smoke on pnpm workspace config
2026-05-11 00:48:14 +01:00
Ayaan Zaidi
082c932e94
fix(docker): export Playwright browser runtime path
2026-05-10 11:37:37 +05:30
Peter Steinberger
60967c3a47
fix(docker): raise build heap limit
2026-05-10 05:45:53 +01:00
Ayu
e63e4f9551
fix(docker): run runtime image under tini ( #78777 )
...
Run the Docker runtime image under tini so long-lived containers reap orphaned child processes and forward signals correctly.
Thanks @VintageAyu!
2026-05-08 13:19:55 +05:30
Peter Steinberger
330ba1fa31
refactor: move canvas to plugin surfaces
2026-05-07 09:07:18 +01:00
Vincent Koc
a07d8cbf8a
fix(docker): normalize plugin build args
2026-05-04 15:16:22 -07:00
Vincent Koc
7e229f0d3d
fix(docker): prune external plugin dist ( #77547 )
2026-05-04 15:11:14 -07:00
Federico Kamelhar
10ebcbdb99
fix(docker): replace curl|bash Bun install with pinned multi-stage COPY ( #74359 )
...
Merged via squash.
Prepared head SHA: 3b4a889467
Co-authored-by: fede-kamel <209537060+fede-kamel@users.noreply.github.com >
Co-authored-by: sallyom <11166065+sallyom@users.noreply.github.com >
Reviewed-by: @sallyom
2026-05-02 10:46:51 -04:00
Peter Steinberger
ed8f50f240
refactor: simplify plugin dependency handling
...
Simplify plugin installation and runtime loading around package-manager-owned dependencies, with Jiti reserved for local/TS fallback paths.
Also scans npm plugin install roots so hoisted transitive dependencies are covered by dependency denylist and node_modules symlink checks.
2026-05-01 21:32:22 +01:00
Sally O'Malley
e8258fd4a6
fix(docker): restore python3 in runtime image ( #75417 )
...
Signed-off-by: sallyom <somalley@redhat.com >
2026-05-01 00:11:38 -04:00
Yossi Eliaz
619064b6d7
fix(docker): require single primary key before Docker apt GPG pin ( #74254 )
...
Merged via squash.
Fixes #74234 .
Prepared head SHA: c09ca96153
Reviewed-by: @sallyom
2026-04-30 22:47:43 -04:00
Shakker
9c19335276
fix: package bundled runtime deps helper
2026-04-29 21:11:59 +01:00
Peter Steinberger
aa84b738b6
fix(docker): copy postinstall helper imports
2026-04-29 05:25:42 +01:00
Peter Steinberger
b04c9380ed
fix(ci): harden full release live checks
2026-04-29 00:36:49 +01:00
Peter Steinberger
a3bbcf2792
fix(docker): keep plugin runtime deps off bind mounts
2026-04-28 09:37:59 +01:00
ryuhaneul
f5b01c1e0e
fix(docker): install ca-certificates in slim runtime base
...
Commit 2cd23957c0 ("build: use slim docker runtime") switched the
runtime image from `node:24-bookworm` (full) to `node:24-bookworm-slim`.
The slim base does not ship `ca-certificates`, and the runtime stage's
`apt-get install` line was not updated to add it.
Result on the resulting image:
- `/etc/ssl/certs/` is empty (`ls /etc/ssl/certs/ | wc -l` == 0)
- `dpkg -l ca-certificates` reports `un` (not installed)
- `update-ca-certificates` is missing in `$PATH` (exit 127)
- every HTTPS outbound from the gateway dies at TLS handshake with
`error setting certificate file: /etc/ssl/certs/ca-certificates.crt`
- channel plugins that use `node fetch` (telegram/discord/slack)
crash-loop with `Network request for 'deleteWebhook' failed!`
and pin the gateway main thread at ~100% CPU on retry.
Verified by rebuilding the runtime image with this patch and
confirming inside the container:
- `ls /etc/ssl/certs/ | wc -l` -> 285
- `curl -4 https://api.telegram.org/ ` -> 302
- `curl -4 https://www.google.com/ ` -> 200
- channel plugins (telegram/discord/slack) register cleanly,
gateway main-thread CPU returns to idle.
Add `ca-certificates` to the apt-install list and call
`update-ca-certificates` to populate the CA bundle.
Signed-off-by: ryuhaneul <luj.moonlight@gmail.com >
2026-04-27 21:19:22 +01:00
Peter Steinberger
41d5c27894
fix(docker): install runtime ca certificates
2026-04-27 13:24:42 +01:00
Vincent Koc
727927aae0
fix(docker): repair named-volume state directory ownership
...
Preserve contributor credit and land the narrowed Docker ownership fix after ProjectClownfish review/follow-up.
2026-04-27 04:34:35 -07:00
Peter Steinberger
090063bd43
fix(ci): harden cron and Docker validation
2026-04-27 07:59:28 +01:00
Peter Steinberger
2cd23957c0
build: use slim docker runtime
2026-04-26 22:47:48 +01:00
Peter Steinberger
018f2e78ba
build: skip docker apt upgrades
2026-04-26 22:40:44 +01:00
Peter Steinberger
9f4b155c47
fix(docker): include patch files in runtime image
2026-04-26 06:26:37 +01:00
Peter Steinberger
2495886287
perf: shrink Docker dependency build contexts
2026-04-24 18:42:25 +01:00
ly85206559
3e60eaa884
fix(docker): verify matrix-sdk-crypto native addon without hardcoded pnpm path ( #65608 ) ( #67143 )
...
Merged via squash.
Prepared head SHA: 325e97ead5
Co-authored-by: ly85206559 <12526624+ly85206559@users.noreply.github.com >
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Reviewed-by: @gumadeiras
2026-04-15 11:37:14 -04:00
Vincent Koc
c727388f93
fix(plugins): localize bundled runtime deps to extensions ( #67099 )
...
* fix(plugins): localize bundled runtime deps to extensions
* fix(plugins): move staged runtime deps out of root
* fix(packaging): harden prepack and runtime dep staging
* fix(packaging): preserve optional runtime dep staging
* Update CHANGELOG.md
* fix(packaging): harden runtime staging filesystem writes
* fix(docker): ship preinstall warning in bootstrap layers
* fix(packaging): exclude staged plugin node_modules from npm pack
2026-04-15 12:04:31 +01:00
Peter Steinberger
ae3b10c15c
fix(docker): install bundled plugin deps after prune
2026-04-13 02:46:28 -07:00
Peter Steinberger
17085ec1a4
fix: make qa lab docker boot resilient
2026-04-07 09:04:18 +01:00
Gustavo Madeira Santana
7155aa9c15
fix(docker): use built bundled plugins in runtime images ( #62316 )
...
Merged via squash.
Prepared head SHA: c2bbfef188
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Reviewed-by: @gumadeiras
2026-04-07 02:18:24 -04:00
Peter Steinberger
7a2abb1c50
fix: stabilize qa lab docker builds
2026-04-07 06:06:29 +01:00
Peter Steinberger
c7cc89904e
fix: unblock claude docker live lanes
2026-04-06 17:31:11 +01:00
Peter Steinberger
8e1c81e707
feat(qa): recreate qa lab docker stack
2026-04-05 23:21:56 +01:00
Ayaan Zaidi
5a95d65f1e
fix: restore bundled runtime dependency provisioning ( #58782 ) (thanks @obviyus)
...
* fix: restore bundled runtime dependency provisioning
* fix: ship npm runner in packed installs
* fix: address bundled runtime staging review feedback
* fix: include npm runner in docker build contexts
* fix: restore bundled runtime dependency provisioning (#58782 ) (thanks @obviyus)
* fix: allow caret specs through windows npm cmd (#58782 ) (thanks @obviyus)
2026-04-01 13:03:36 +05:30
khhjoe
e24091413c
fix: add curly braces for oxlint curly rule; copy postinstall script before pnpm install in Dockerfile
2026-03-30 05:09:59 +09:00
Peter Steinberger
8e0ab35b0e
refactor(plugins): decouple bundled plugin runtime loading
2026-03-29 09:10:38 +01:00
Vincent Koc
66beff726b
perf(ci): trim install smoke overhead ( #52447 )
...
* perf(ci): trim install smoke overhead
* perf(ci): skip discord opus native build noise
* fix(ci): use npm latest dist-tag in install smoke
2026-03-22 12:44:47 -07:00
Josh Avant
a2a9a553e1
Stabilize plugin loader and Docker extension smoke ( #50058 )
...
* Plugins: stabilize Area 6 loader and Docker smoke
* Docker: fail fast on extension npm install errors
* Tests: stabilize loader non-native Jiti boundary CI timeout
* Tests: stabilize plugin loader Jiti source-runtime coverage
* Docker: keep extension deps on lockfile graph
* Tests: cover tsx-cache renamed package cwd fallback
* Tests: stabilize plugin-sdk export subpath assertions
* Plugins: align tsx-cache alias fallback with subpath fallback
* Tests: normalize guardrail path checks for Windows
* Plugins: restrict plugin-sdk cwd fallback to trusted roots
* Tests: exempt outbound-session from extension import guard
* Tests: tighten guardrails and cli-entry trust coverage
* Tests: guard optional loader fixture exports
* Tests: make loader fixture package exports null-safe
* Tests: make loader fixture package exports null-safe
* Tests: make loader fixture package exports null-safe
* changelog
Signed-off-by: joshavant <830519+joshavant@users.noreply.github.com >
---------
Signed-off-by: joshavant <830519+joshavant@users.noreply.github.com >
2026-03-18 23:35:32 -05:00
Vincent Koc
8aaafa045a
docker: add lsof to runtime image ( #46636 )
2026-03-14 19:40:29 -07:00
Jacob Tomlinson
63802c1112
docker: add apt-get upgrade to all Dockerfiles ( #45384 )
...
* docker: add apt-get upgrade to patch base-image vulnerabilities
Closes #45159
* docker: add DEBIAN_FRONTEND and --no-install-recommends to apt-get upgrade
Prevents debconf hangs during Docker builds and avoids pulling in
recommended packages that silently grow the image.
Co-Authored-By: Claude <noreply@anthropic.com >
* Revert "docker: add DEBIAN_FRONTEND and --no-install-recommends to apt-get upgrade"
This reverts commit 6fc3839cb5 .
* docker: add DEBIAN_FRONTEND and --no-install-recommends to apt-get upgrade
Prevents debconf hangs during Docker builds and avoids pulling in
recommended packages that silently grow the image.
Co-Authored-By: Claude <noreply@anthropic.com >
---------
Co-authored-by: Claude <noreply@anthropic.com >
2026-03-13 16:23:02 -07:00
Peter Steinberger
9f08af1f06
fix(ci): harden docker builds and unblock config docs
2026-03-12 16:45:29 +00:00
Altay
deada7edd3
build: default to Node 24 and keep Node 22 compat
2026-03-12 20:07:44 +05:30
Vincent Koc
6d5e142b93
Docker: improve build cache reuse ( #40351 )
...
* Docker: improve build cache reuse
* Tests: cover Docker build cache layout
* Docker: fix sandbox cache mount continuations
* Docker: document qr-import manifest scope
* Docker: narrow e2e install inputs
* CI: cache Docker builds in workflows
* CI: route sandbox smoke through setup script
* CI: keep sandbox smoke on script path
2026-03-08 17:57:46 -07:00
Vincent Koc
3f3f66a5f7
Docker: trim runtime image payload ( #40307 )
...
* Docker: shrink runtime image payload
* Docker: add runtime pnpm opt-in
* Docker: collapse helper entrypoint chmod layers
* Docker: restore bundled pnpm runtime
* Update CHANGELOG.md
2026-03-08 16:07:04 -07:00
Peter Steinberger
21df014d56
fix: stage docker live tests from mounted source
2026-03-08 04:06:26 +00:00
Peter Steinberger
5759b93dda
fix(ci): pin multi-arch docker base digests
2026-03-08 02:55:15 +00:00
Sally O'Malley
499c1ee6e3
reduce image size, offer slim image ( #38479 )
...
Signed-off-by: sallyom <somalley@redhat.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-07 14:26:29 -05:00
Sally O'Malley
57f19f0d5c
container builds: opt-in extension deps via OPENCLAW_EXTENSIONS build arg ( #32223 )
...
* Docker: opt-in extension deps via OPENCLAW_EXTENSIONS build arg
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
Signed-off-by: sallyom <somalley@redhat.com >
* CI: clarify extension smoke scope
* Tests: allow digest-pinned multi-stage FROM lines
* Changelog: note container extension preinstall option
---------
Signed-off-by: sallyom <somalley@redhat.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Vincent Koc <vincentkoc@ieee.org >
2026-03-06 12:18:42 -05:00