Commit Graph

74 Commits (401ffb59f538488349664fa42e554dfb36d53a3a)

Author SHA1 Message Date
Tak Hoffman fb18034011
test: add macmini test profile 8 months ago
Vincent Koc e9903c9133 Tests: align unit sharding with unit config 8 months ago
Peter Steinberger a0d3dc94d0 perf: reduce unit test hot path overhead 8 months ago
Peter Steinberger 05b1cdec3c test: make runner scheduling timing-driven 8 months ago
Vincent Koc 947dac48f2 Tests: cap shards for explicit file lanes 8 months ago
Peter Steinberger f6928617b7 test: stabilize gate regressions 8 months ago
Peter Steinberger 0cddb5fb7c fix: restore full gate 8 months ago
Ayaan Zaidi 0e9b899aee
test: enable vmForks for targeted channel test runs
Channel tests were always using process forks, missing the shared
transform cache that vmForks provides. This caused ~138s import
overhead per file. Now uses vmForks when available, matching the
pattern already used by unit-fast and extensions suites.
8 months ago
Peter Steinberger 5fb7a1363f fix: stabilize full gate 8 months ago
Vincent Koc 476d948732
!refactor(browser): remove Chrome extension path and add MCP doctor migration (#47893)
* Browser: replace extension path with Chrome MCP

* Browser: clarify relay stub and doctor checks

* Docs: mark browser MCP migration as breaking

* Browser: reject unsupported profile drivers

* Browser: accept clawd alias on profile create

* Doctor: narrow legacy browser driver migration
8 months ago
scoootscooob ac29edf6c3
fix(ci): update vitest configs after channel move to extensions/ (openclaw#46066)
Verified:
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: scoootscooob <167050519+scoootscooob@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
8 months ago
scoootscooob 439c21e078
refactor: remove channel shim directories, point all imports to extensions (#45967)
* refactor: remove channel shim directories, point all imports to extensions

Delete the 6 backward-compat shim directories (src/telegram, src/discord,
src/slack, src/signal, src/imessage, src/web) that were re-exporting from
extensions. Update all 112+ source files to import directly from
extensions/{channel}/src/ instead of through the shims.

Also:
- Move src/channels/telegram/ (allow-from, api) to extensions/telegram/src/
- Fix outbound adapters to use resolveOutboundSendDep (fixes 5 pre-existing TS errors)
- Update cross-extension imports (src/web/media.js → extensions/whatsapp/src/media.js)
- Update vitest, tsdown, knip, labeler, and script configs for new paths
- Update guard test allowlists for extension paths

After this, src/ has zero channel-specific implementation code — only the
generic plugin framework remains.

* fix: update raw-fetch guard allowlist line numbers after shim removal

* refactor: document direct extension channel imports

* test: mock transcript module in delivery helpers
8 months ago
Tak Hoffman bff340c1ca
test: preserve wrapper behavior for targeted runs FIX OOM issues(#45518)
* test: preserve wrapper behavior for targeted runs

* test: tighten targeted wrapper routing
8 months ago
Peter Steinberger 75c7c169e1 test: re-enable Node 24 vmForks fast lane 8 months ago
Peter Steinberger 8d2d6db9ad test: fix Node 24+ test runner and subagent registry mocks 8 months ago
Peter Steinberger 3ada30e670 fix: restore gate after rebase 8 months ago
yuweuii 6c9b49a10b
fix(sessions): clear stale contextTokens on model switch (#38044)
Merged via squash.

Prepared head SHA: bac2df4b7f920ce271f0a15f1db9ed99b35300f3
Co-authored-by: yuweuii <82372187+yuweuii@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
GitBuck caf1b84822
feat: allow compaction model override via config (#38753)
Merged via squash.

Prepared head SHA: a3d6d6c845c9ef492370c4cc12ea790ca92123f0
Co-authored-by: starbuck100 <25417736+starbuck100@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Vincent Koc a190220967 Tests: serialize low-memory test runner lanes 9 months ago
Peter Steinberger 11adaa15a8 test: isolate high-variance suites in parallel scheduler 9 months ago
Peter Steinberger 842deefe5d test: split fast lane from channel and gateway suites 9 months ago
Vincent Koc 94a5d28d26
CI: remove Vitest JSON report artifacts (#30976)
* CI: remove vitest JSON report upload steps

* Tests: stop injecting vitest JSON reporter

* Tests: remove vitest slowest report script
9 months ago
Josh Avant 72adf2458b
CI: shard Windows test lane for faster CI critical path (#27234)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: f7c41089e0d5c36f59addd643d2038502bafe933
Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
Reviewed-by: @joshavant
9 months ago
Nimrod Gutman b3f46f0e28
fix(test): stabilize low-mem parallel runner and cron session mock (#26324)
* fix(test): stabilize low-mem parallel lane and cron session mock

* feat(android): make QR scanning first-class onboarding

* docs(android): update README for native Android workflow

* fix(android): stabilize chat composer ime and tab layout

* fix(android): stabilize chat ime insets and tab bar

* fix(android): remove tab bar gap above system nav

* fix(android): harden scanned setup code parsing

* test(android): cover non-string setupCode QR payload

* fix(test): add changelog note for low-mem test runner (#26324) (thanks @ngutman)

---------

Co-authored-by: Ayaan Zaidi <zaidi@uplause.io>
9 months ago
Peter Steinberger 31f2bf9519 test: fix gate regressions 9 months ago
Nimrod Gutman 420c18364e fix(test): tier local vitest worker defaults by host memory 9 months ago
Peter Steinberger 89a4695020 test: consolidate shard tests for faster trigger/directive suites 9 months ago
Peter Steinberger 384a161bbc test: consolidate media auto-detect coverage 9 months ago
Peter Steinberger 70cac824b1 perf(test): optimize parallel vitest worker budget 9 months ago
Peter Steinberger 7aa7b04fb0 test: rebalance isolated unit test lane 9 months ago
Peter Steinberger f1654b4ba2 test: isolate telegram bot behavior suite from unit-fast lane 9 months ago
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 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
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 a7eb0dd9a5 fix(security): harden Windows child process spawning 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 9a134c8a10 perf(test): tune parallel vitest worker split 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