Commit Graph

41878 Commits

Author SHA1 Message Date
openperf
7b7676be0d fix(plugins): forward setChannelRuntime from non-bundled external setup entries
resolveSetupChannelRegistration handled the non-bundled setup-entry format
({plugin, setChannelRuntime}) by only extracting `plugin`, silently dropping
`setChannelRuntime`.

Root cause: in setup-runtime mode (Phase 1 of deferred gateway startup),
registerChannel is always active (runtimeChannel=true) and writes the channel
plugin into registry.channels immediately. This means the channel provider
starts in Phase 1, before Phase 2's register() call. Any runtime initializer
the provider polls for (e.g. waitForWeixinRuntime) must therefore be set via
setChannelRuntime in the setup entry — it cannot wait for Phase 2.

For external plugins using the plain-object setup entry format the setter was
silently discarded, leaving the runtime uninitialized when the provider started.
waitForWeixinRuntime() would time out after 10 s and the gateway entered a
crash loop. Phase 2 eventually ran register() with a valid api.runtime but by
then the channel had already exited. Fixes #77779.

Mirror the existing bundled-entry handling: extract setChannelRuntime from the
non-bundled path and include it in the return value so loader.ts:2218 can
invoke it before the channel is registered.

Regression test covers the exact failure path: configured channel with
startupDeferConfiguredChannelFullLoadUntilAfterListen and
preferSetupRuntimeForChannelPlugins, non-bundled setup entry exporting
{plugin, setChannelRuntime}. Asserts both that the setter is invoked and that
the channel lands in registry.channels in Phase 1 (confirming the provider
would start before Phase 2).
2026-05-07 10:31:32 +08:00
Arnab Saha
1c331a814a fix(subagents): honor archiveAfterMinutes for session-mode reaping (#78263)
Merged via squash.

Prepared head SHA: b415467008
Co-authored-by: arniesaha <3646287+arniesaha@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-05-06 19:24:09 -07:00
Peter Steinberger
f2458d8828 ci: isolate prompt snapshot check 2026-05-07 03:07:58 +01:00
sallyom
bf2511098f fix: persist rotated gateway session files
Signed-off-by: sallyom <somalley@redhat.com>
2026-05-06 21:41:03 -04:00
Peter Steinberger
69d446d178 test(telegram): lock draft finalization ordering
Add regression coverage for Telegram draft-lane final ordering and shared draft clear-vs-stop lifecycle semantics.\n\nVerification:\n- pnpm test src/channels/draft-stream-controls.test.ts extensions/telegram/src/bot-message-dispatch.test.ts -- --reporter=verbose\n- pnpm exec oxfmt --check --threads=1 src/channels/draft-stream-controls.test.ts extensions/telegram/src/bot-message-dispatch.test.ts\n- git diff --check\n- OPENCLAW_TESTBOX=0 pnpm check:changed\n- exact-tree CI previously passed on 1f822d7c22
2026-05-07 02:12:07 +01:00
Peter Steinberger
0e330c3fa0 Revert "test(telegram): lock draft finalization ordering"
This reverts commit 1f822d7c22.
2026-05-07 02:08:13 +01:00
Peter Steinberger
1f822d7c22 test(telegram): lock draft finalization ordering 2026-05-07 01:58:00 +01:00
Peter Steinberger
d3fc1985fe ci: keep runner fallback label specific 2026-05-07 01:45:20 +01:00
Peter Steinberger
a8801350d8 docs: clarify planned monthly support lines 2026-05-07 01:42:20 +01:00
Peter Steinberger
13770167a0 ci: split core runtime cron shard 2026-05-07 01:41:53 +01:00
NVIDIAN
440111ff6f fix(telegram): keep polling watchdog on getUpdates liveness (#78646) 2026-05-07 01:40:55 +01:00
Peter Steinberger
25343f3242 ci: scope prompt snapshot support tests 2026-05-07 01:39:13 +01:00
Peter Steinberger
7cab067bce ci: scope prompt snapshot boundary check 2026-05-07 01:31:50 +01:00
Peter Steinberger
b7d0d92600 fix(agents): cap live exec update payloads 2026-05-07 01:28:48 +01:00
Sally O'Malley
a74894a954 fix(agents): fail fast on session lock fallback (#78633)
Signed-off-by: sallyom <somalley@redhat.com>
2026-05-06 20:22:47 -04:00
Sally O'Malley
20c34b8c0f fix(cron): preflight implicit announce targets (#78644)
Signed-off-by: sallyom <somalley@redhat.com>
2026-05-06 20:21:20 -04:00
Peter Steinberger
8cffc5a2f4 ci: fall back by runner family 2026-05-07 01:13:35 +01:00
Peter Steinberger
c53f63ccb8 ci: fix runner telemetry lint 2026-05-07 01:10:32 +01:00
Peter Steinberger
372e270871 fix(delivery): require outbound send result for success 2026-05-07 01:04:50 +01:00
Peter Steinberger
b6ae0b83a6 fix(telegram): honor access group allowlists 2026-05-07 01:04:49 +01:00
Peter Steinberger
c3853611ee ci: add runner fallback timing telemetry 2026-05-07 01:04:22 +01:00
Vincent Koc
8934095c82 changelog: credit @sjf for #78659 2026-05-06 16:52:04 -07:00
Sarah Fortune
5ff283cfbb fix(cli/completion): guard shell profile source line with file-exists check (#78659) 2026-05-06 16:48:26 -07:00
Vincent Koc
b2368e1040 ci(crabbox): enable owned capacity hints 2026-05-06 16:40:50 -07:00
Vincent Koc
d3cfc5fd6a ci(crabbox): default owned aws to standard 2026-05-06 16:40:50 -07:00
Vincent Koc
75f7f30209 docs(ci): document blacksmith outage fallback 2026-05-06 16:40:50 -07:00
Vincent Koc
6c9a848dd3 docs(ci): reduce owned aws pressure 2026-05-06 16:40:50 -07:00
Vincent Koc
120eb3426a test(e2e): serialize default e2e runner 2026-05-06 16:27:03 -07:00
Vincent Koc
14336e3325 test(agents): isolate client tool policy hook e2e 2026-05-06 16:06:49 -07:00
Peter Steinberger
33b112ad31 docs: clarify sub-agent security boundaries 2026-05-07 00:01:36 +01:00
Shakker
e66edcc8b9 perf: reuse auto-enable manifest registry 2026-05-06 23:39:37 +01:00
Kevin Lin
6aafdf121a fix(cron): repair bad persisted model sentinels (#78641)
* fix(cron): repair bad persisted model sentinels

* test(cron): relax model preservation assertion
2026-05-06 15:31:21 -07:00
Josh Avant
5572ee1a1a fix gateway optional plugin startup (#78642) 2026-05-06 17:28:31 -05:00
Josh Avant
3ee7c02bca fix(agents): bound live exec output events (#78645)
* fix gateway exec output starvation

* docs changelog for exec output fix
2026-05-06 17:28:26 -05:00
Vincent Koc
2ab74e9ef7 fix(deps): pin fs-safe with full git sha 2026-05-06 15:22:59 -07:00
pashpashpash
d05415d603 docs: remind contributors to redact proof evidence (#78630) 2026-05-07 06:53:01 +09:00
Vincent Koc
93579a8a42 test(agents): refresh codex group prompt snapshot 2026-05-06 14:51:59 -07:00
adzendo
ac43135984 fix: clamp compaction max_tokens to model output limit (#54392)
Merged via squash.

Prepared head SHA: 8a888213ed
Co-authored-by: adzendo <246828680+adzendo@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-05-06 14:42:25 -07:00
Vincent Koc
6b97f577ed changelog: credit @Patrick-Erichsen for #78625 2026-05-06 14:35:12 -07:00
brokemac79
609a5d70a5 [AI-assisted] fix(agents): invalidate context engine cache (#78163)
Merged via squash.

Prepared head SHA: 6ed3add797
Co-authored-by: brokemac79 <255583030+brokemac79@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-05-06 14:33:51 -07:00
Sally O'Malley
3be4251f21 fix(deps): bump basic-ftp (#78637)
* fix(deps): bump basic-ftp

Signed-off-by: sallyom <somalley@redhat.com>

* docs: note basic-ftp advisory fix

Signed-off-by: sallyom <somalley@redhat.com>

---------

Signed-off-by: sallyom <somalley@redhat.com>
2026-05-06 17:31:12 -04:00
Patrick Erichsen
51356620e9 fix(discord): parse provider-prefixed channel targets (#78625)
* fix(discord): parse provider-prefixed channel targets

* fix(discord): resolve allowlisted numeric dm targets
2026-05-06 14:26:54 -07:00
Vincent Koc
eb3de95025 chore(plugin-sdk): update api baseline 2026-05-06 14:16:35 -07:00
Vincent Koc
0f4f7e32cb test(live): type provider scoped model loading 2026-05-06 14:08:32 -07:00
Vincent Koc
3a12a7a7e6 test(live): tolerate codex ask-back preflight refusal 2026-05-06 14:08:32 -07:00
Vincent Koc
6587832f25 test(live): read gateway provider models 2026-05-06 14:08:31 -07:00
Vincent Koc
d47497c99f test(live): guard provider scoped gateway path 2026-05-06 14:08:31 -07:00
Vincent Koc
beee6449a1 test(live): scope gateway model discovery 2026-05-06 14:08:31 -07:00
Vincent Koc
e921755762 test(live): load default priority models directly 2026-05-06 14:08:30 -07:00
Vincent Koc
f5746bb278 test(live): cap default model discovery 2026-05-06 14:08:30 -07:00