Peter Steinberger
43ababf96b
fix(gateway): keep startup sidecars responsive
2026-04-27 22:44:37 +01:00
Peter Steinberger
7f3f108521
refactor(config): migrate plugin config access
2026-04-27 12:35:58 +01:00
Vincent Koc
5333b1e2cc
fix(gateway): defer channel runtime imports
2026-04-27 00:07:13 -07:00
Vincent Koc
b4cdd55f62
fix(discord): escalate repeated health-monitor restarts
2026-04-26 11:09:03 -07:00
Marcus Castro
000fc7f233
refactor(qa): add shared QA channel contract and harden worker startup ( #64562 )
...
* refactor(qa): add shared transport contract and suite migration
* refactor(qa): harden worker gateway startup
* fix(qa): scope waits and sanitize shutdown artifacts
* fix(qa): confine artifacts and redact preserved logs
* fix(qa): block symlink escapes in artifact paths
* fix(gateway): clear shutdown race timers
* fix(qa): harden shutdown cleanup paths
* fix(qa): sanitize gateway logs in thrown errors
* fix(qa): harden suite startup and artifact paths
* fix(qa): stage bundled plugins from mutated config
* fix(qa): broaden gateway log bearer redaction
* fix(qa-channel): restore runtime export
* fix(qa): stop failed gateway startups as a process tree
* fix(qa-channel): load runtime hook from api surface
2026-04-12 15:02:57 -03:00
Vincent Koc
8e952eba75
fix(core): align channel runtime and inventory types
2026-04-11 21:03:44 +01:00
Gustavo Madeira Santana
d78512b09d
Refactor: centralize native approval lifecycle assembly ( #62135 )
...
Merged via squash.
Prepared head SHA: b7c20a7398
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 14:40:26 -04:00
Peter Steinberger
148a65fe90
refactor: share webhook channel status helpers
2026-03-29 02:11:22 +01:00
karesansui
acbdafc4f4
fix: propagate webhook mode to health monitor snapshot
...
Webhook channels (LINE, Zalo, Nextcloud Talk, BlueBubbles) are
incorrectly flagged as stale-socket during quiet periods because
snapshot.mode is always undefined, making the mode !== "webhook"
guard in evaluateChannelHealth dead code.
Add mode: "webhook" to each webhook plugin's describeAccount and
propagate described.mode in getRuntimeSnapshot.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-29 02:01:25 +01:00
Jonathan Jing
30e80fb947
fix: isolate channel startup failures ( #54215 ) (thanks @JonathanJing)
...
* fix(gateway): isolate channel startup failures to prevent cascade
When one channel (e.g., WhatsApp) fails to start due to missing runtime
modules, it should not block other channels (e.g., Discord) from starting.
Changes:
- Use Promise.allSettled to start channels concurrently
- Catch individual channel startup errors without affecting others
- Add startup summary logging for observability
Before: Sequential await startChannel() - if one throws, subsequent
channels never start.
After: Concurrent startup with per-channel error handling - all channels
attempt to start, failures are logged but don't cascade.
Fixes: P0 - WhatsApp runtime exception no longer blocks Discord startup
* fix(gateway): keep channel startup isolation sequential
* fix: isolate channel startup failures (#54215 ) (thanks @JonathanJing)
---------
Co-authored-by: Ayaan Zaidi <hi@obviy.us >
2026-03-25 10:22:42 +05:30
Peter Steinberger
4ee41cc6f3
refactor(cli): separate json payload output from logging
2026-03-22 23:19:17 +00:00
Vignesh Natarajan
1890089f49
fix: serialize duplicate channel starts ( #49583 ) (thanks @sudie-codes)
2026-03-18 01:57:12 -07:00
Vincent Koc
9ee0fb52e9
Gateway: cover lazy channel runtime resolution
2026-03-16 01:43:47 -07:00
Tak Hoffman
29fec8bb9f
fix(gateway): harden health monitor account gating ( #46749 )
...
* gateway: harden health monitor account gating
* gateway: tighten health monitor account-id guard
2026-03-14 21:58:28 -05:00
rstar327
ba6064cc22
feat(gateway): make health monitor stale threshold and max restarts configurable (openclaw#42107)
...
Verified:
- pnpm exec vitest --run src/config/config-misc.test.ts -t "gateway.channelHealthCheckMinutes"
- pnpm exec vitest --run src/gateway/server-channels.test.ts -t "health monitor"
- pnpm exec vitest --run src/gateway/channel-health-monitor.test.ts src/gateway/server/readiness.test.ts
- pnpm exec vitest --run extensions/feishu/src/outbound.test.ts
- pnpm exec tsc --noEmit
Co-authored-by: rstar327 <114364448+rstar327@users.noreply.github.com >
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com >
2026-03-14 21:21:56 -05:00
Peter Steinberger
1ca69c8fd7
fix: add channelRuntime regression coverage ( #25462 ) (thanks @guxiaobo)
2026-03-03 01:34:50 +00:00
Peter Steinberger
cb488df572
perf(test): tighten fake timer windows in channel restart tests
2026-02-18 22:11:56 +00:00
Peter Steinberger
b8b43175c5
style: align formatting with oxfmt 0.33
2026-02-18 01:34:35 +00:00
Peter Steinberger
31f9be126c
style: run oxfmt and fix gate failures
2026-02-18 01:29:02 +00:00
cpojer
d0cb8c19b2
chore: wtf.
2026-02-17 13:36:48 +09:00
Sebastian
ed11e93cf2
chore(format)
2026-02-16 23:20:16 -05:00
cpojer
9c5f08244e
chore: Format files.
2026-02-17 11:37:11 +09:00
Peter Steinberger
1f850374f6
fix(gateway): harden channel health monitor recovery
2026-02-17 03:26:26 +01:00