Commit Graph

420 Commits (4f5bc0a49321e1d88e5cd2fb7265c0ddeecdcfd3)

Author SHA1 Message Date
Peter Steinberger 510889d439 test: isolate slack slash and telegram bootstrap suites 9 months ago
Peter Steinberger 794808b169 test: isolate hook installer suite from unit-fast lane 9 months ago
Peter Steinberger 1b223dbdd8 test: isolate git-hooks integration and stabilize exec timeout 9 months ago
Peter Steinberger e7ccbd1445 test: isolate block-streaming suite from unit-fast lane 9 months ago
Peter Steinberger fbe6d7c701 ci: include a2ui sources in onboarding docker build 9 months ago
Peter Steinberger c1655982d4 refactor: centralize pre-commit file filtering 9 months ago
Peter Steinberger 67bfe8fb80 perf(test): cut gateway unit suite overhead 9 months ago
Peter Steinberger 92f8c0fac3 perf(test): speed up suites and reduce fs churn 9 months ago
Tak Hoffman df7fff8fd7 test: add serial macmini test profile 9 months ago
Peter Steinberger 3faf5ada2e ci(test): raise node heap for CI vitest 9 months ago
Vignesh Natarajan 277b2de491 fix (cli): harden daemon compat shim for minimal bundle exports 9 months ago
Peter Steinberger 960850445b fix(build): restore daemon-cli legacy shim 9 months ago
Peter Steinberger 3b08f3058b perf(test): isolate imessage monitor tests from vmForks 9 months ago
Peter Steinberger d355fecd4d fix(ci): avoid Windows spawn EINVAL in test runner 9 months ago
Peter Steinberger fef86e475b refactor: dedupe shared helpers across ui/gateway/extensions 9 months ago
Peter Steinberger 2690dfa77b test: quiet docker onboard e2e noise 9 months ago
Peter Steinberger 107cc03140 ci: reduce docker e2e log brittleness 9 months ago
Peter Steinberger a7eb0dd9a5 fix(security): harden Windows child process spawning 9 months ago
Peter Steinberger 852c897956 refactor(sandbox): add sandbox-common dockerfile 9 months ago
artale 3189430ad0 fix(sandbox): switch to root user for package installation in sandbox-common-setup
The base image (Dockerfile.sandbox) sets USER sandbox at the end, so
when sandbox-common-setup.sh builds FROM it, apt-get runs as the
unprivileged sandbox user and fails with 'Permission denied'.

Add USER root before apt-get/npm/curl install steps, and restore
USER sandbox at the end to preserve the non-root runtime default.

Fixes #16420
9 months ago
Peter Steinberger a429380e33 fix(scripts): harden clawtributors updater 9 months ago
Peter Steinberger d9d321f94b chore(security): bump qs and golang.org/x/net 9 months ago
Peter Steinberger e03dc987e3 chore(test): keep gateway vitest on forks 9 months ago
Glucksberg f537bd1796
fix(telegram): exclude plugin commands from setMyCommands when native=false (openclaw#15164) thanks @Glucksberg
Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test

Co-authored-by: Glucksberg <80581902+Glucksberg@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
9 months ago
Tak Hoffman 3369ef5aef test: add macmini low-cpu test profile 9 months ago
Peter Steinberger 709c225b2b fix(podman): bootstrap config and token 9 months ago
Christoph Spörk 81b5e2766b
feat(podman): add optional Podman setup and documentation (#16273)
* feat(podman): add optional Podman setup and documentation

- Introduced `setup-podman.sh` for one-time host setup of OpenClaw in a rootless Podman environment, including user creation, image building, and launch script installation.
- Added `run-openclaw-podman.sh` for running the OpenClaw gateway as a Podman container.
- Created `openclaw.podman.env` for environment variable configuration.
- Updated documentation to include Podman installation instructions and a new dedicated Podman guide.
- Added a systemd Quadlet unit for managing the OpenClaw service as a user service.

* fix: harden Podman setup and docs (#16273) (thanks @DarwinsBuddy)

* style: format cli credentials

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
9 months ago
Peter Steinberger 9fb48f4dff refactor(scripts): make run-node main testable 9 months ago
Peter Steinberger 9a134c8a10 perf(test): tune parallel vitest worker split 9 months ago
Tanwa Arpornthip c76288bdf1
fix(slack): download all files in multi-image messages (#15447)
* fix(slack): download all files in multi-image messages

resolveSlackMedia() previously returned after downloading the first
file, causing multi-image Slack messages to lose all but the first
attachment. This changes the function to collect all successfully
downloaded files into an array, matching the pattern already used by
Telegram, Line, Discord, and iMessage adapters.

The prepare handler now populates MediaPaths, MediaUrls, and
MediaTypes arrays so downstream media processing (vision, sandbox
staging, media notes) works correctly with multiple attachments.

Fixes #11892, #7536

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(slack): preserve MediaTypes index alignment with MediaPaths/MediaUrls

The filter(Boolean) on MediaTypes removed entries with undefined contentType,
shrinking the array and breaking index correlation with MediaPaths and MediaUrls.
Downstream code (media-note.ts, attachments.ts) requires these arrays to have
equal lengths for correct per-attachment MIME type lookup. Replace filter(Boolean)
with a nullish coalescing fallback to "application/octet-stream".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(slack): align MediaType fallback and tests (#15447) (thanks @CommanderCrowCode)

* fix: unblock plugin-sdk account-id typing (#15447)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
9 months ago
Peter Steinberger ec399aaddf perf(test): parallelize unit-isolated 9 months ago
Peter Steinberger 6543ce717c perf(test): avoid plugin-sdk barrel imports 9 months ago
Peter Steinberger d1f01de59a perf(test): default to vmForks on Node 25; unstub envs 9 months ago
Peter Steinberger 38a157ff23 perf(test): reduce setup overhead; isolate sharp-heavy suites 9 months ago
Peter Steinberger 748d6821d2 fix(config): add forensic config write audit and watch attribution 9 months ago
Peter Steinberger f86840f4df perf(cli): reduce read-only startup overhead 9 months ago
Peter Steinberger fecb3f326e perf(test): trim models/browser suite overhead 9 months ago
Joseph Krug 4e9f933e88
fix: reset stale execution state after SIGUSR1 in-process restart (#15195)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 676f9ec45135be0d3471bb0444bc2ac7ce7d5224
Co-authored-by: joeykrug <5925937+joeykrug@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
9 months ago
Gustavo Madeira Santana 42eaee8b7e chore: fix root_dir resolution/stale scripts during PR review 9 months ago
Nathaniel Kelner 66f6d71ffa Update clawdock-helpers.sh compatibility with Zsh
Unlike Bash, Zsh has several "special" readonly variables (status, pipestatus, etc.) that the shell manages automatically. Shadowing them with local declarations triggers an error.
9 months ago
Peter Steinberger 8899f9e94a perf(test): optimize heavy suites and stabilize lock timing 9 months ago
Sebastian 5d37b204c0 Tests: disable vmForks on Node 24 and document override 9 months ago
Peter Steinberger 78ec0a1edf fix: stabilize test runner and daemon-cli compat 9 months ago
Peter Steinberger ba7dccc49d test: speed up test suite and trim redundant onboarding tests 9 months ago
Peter Steinberger 711597c02b fix(update): repair daemon-cli compat exports after self-update 9 months ago
Peter Steinberger f9e444dd56 fix: include plugin sdk dts tsconfig in onboard docker image 9 months ago
Gustavo Madeira Santana 04a1ed5e53 chore: make changelog mandatory in PR skills 9 months ago
Shadow 3b6bd202da
Scripts: add issue labeler state + PR support 9 months ago
Gustavo Madeira Santana 49188caf94 chore(pr-skills): suppress output for successful commands (pnpm install/build/test/etc) to lower context usage 9 months ago
Gustavo Madeira Santana 1123357c62
chore: refining review PR additional prompts 9 months ago