Commit Graph

39113 Commits

Author SHA1 Message Date
Shakker
2c152ffa7f docs: note groq manifest catalog migration 2026-05-01 13:45:40 +01:00
Shakker
27b35c5b24 fix: declare groq manifest model catalog 2026-05-01 13:45:40 +01:00
Shakker
023955b004 fix: declare groq setup auth metadata 2026-05-01 13:45:40 +01:00
Peter Steinberger
12882a88b1 fix: allow onboarding config size drops 2026-05-01 13:39:25 +01:00
Peter Steinberger
394bc9c465 refactor: trim gateway helper state exports 2026-05-01 13:28:05 +01:00
Shakker
e6c1a6637a docs: note deepinfra model catalog migration 2026-05-01 13:23:57 +01:00
Shakker
a6e79d42cf refactor: derive deepinfra catalog from manifest 2026-05-01 13:23:57 +01:00
Shakker
4de2e7487a fix: declare deepinfra manifest model discovery 2026-05-01 13:23:57 +01:00
Peter Steinberger
1c0b4369ab refactor: trim gateway test helper barrel 2026-05-01 13:23:26 +01:00
Peter Steinberger
755fa16a80 fix: type non-interactive onboard prompter 2026-05-01 13:23:26 +01:00
Peter Steinberger
f85bd0f5a9 test: retry Windows Parallels agent turn 2026-05-01 13:19:37 +01:00
Alex Knight
6c55106c80 discord: persist component registries best-effort (#75584) 2026-05-01 22:17:51 +10:00
Vincent Koc
bf8bdcb064 fix(gateway): defer session store read maintenance 2026-05-01 05:15:19 -07:00
Peter Steinberger
ad1e14af53 refactor: delete unused test helper code 2026-05-01 13:11:42 +01:00
Alex Knight
d0ec3d1f09 slack: persist thread participation best-effort (#75583) 2026-05-01 22:10:09 +10:00
Peter Steinberger
c07f29bcf7 refactor: trim status scan test exports 2026-05-01 13:07:05 +01:00
Vincent Koc
cad2cef0fb fix(update): use service env for doctor 2026-05-01 05:06:14 -07:00
Vincent Koc
debb8ac76c fix(update): verify daemon restart port 2026-05-01 05:06:14 -07:00
Vincent Koc
f6a1d70080 fix(channels): pin dm main route owners 2026-05-01 05:06:13 -07:00
Vincent Koc
1076d6c124 fix(discord): pin text dm main route owner 2026-05-01 05:06:12 -07:00
Vincent Koc
4f02a57f65 fix(auto-reply): keep docking in direct chats 2026-05-01 05:06:12 -07:00
Vincent Koc
5230b09ca9 fix(line): send quick-reply-only payloads 2026-05-01 05:06:11 -07:00
Vincent Koc
6776129315 fix(telegram): send interactive-only button replies 2026-05-01 05:06:11 -07:00
Vincent Koc
778b49b8fd fix(slack): send block-only slash replies 2026-05-01 05:06:10 -07:00
Vincent Koc
6dac51569e fix(discord): send component-only native replies 2026-05-01 05:06:10 -07:00
Vincent Koc
c7a91f9632 fix(onboard): run noninteractive migration imports 2026-05-01 05:06:09 -07:00
Vincent Koc
6fb9e9e558 fix(gateway): preflight strict agent delivery 2026-05-01 05:06:09 -07:00
Peter Steinberger
8be40059fe refactor: trim agent test helper exports 2026-05-01 13:03:36 +01:00
Alex Knight
6f819280a3 fix: async transcript I/O to unblock gateway event loop (#75595)
* fix: async transcript I/O to unblock gateway event loop

Two related fixes for event-loop starvation caused by synchronous file
operations on session transcript files during gateway hot paths.

## sessions.list: yield between transcript reads (#75330)

Extract filterAndSortSessionEntries() from listSessionsFromStore() and
add a new listSessionsFromStoreAsync() that yields to the event loop
via setImmediate every 10 session rows. The sessions.list RPC handler
now uses the async version.

The synchronous version is kept for callers that need it (sessions-
resolve visibility checks, embedded backends, subagent tools).

The dominant blocker is readSessionTitleFieldsFromTranscript(), which
performs fs.statSync + fs.openSync + fs.readSync (head) + fs.readSync
(tail) for every session row that requests derived titles or last-
message previews. With 100+ sessions, this blocks the event loop for
32-64 seconds, starving WebSocket heartbeats, channel I/O, and
concurrent RPC.

## session compaction: async file copy (#75414)

Add captureCompactionCheckpointSnapshotAsync() using fs.promises for
stat, copyFile, and unlink instead of fsSync equivalents. Switch both
compact.ts and compact.queued.ts to the async version.

The synchronous copyFileSync of large transcript files (20MB+ observed
in production) was blocking the event loop for the entire copy duration
— one reporter measured a 43-minute event loop block from a single
compaction checkpoint capture.

Refs: #75330, #75414

* test: cover async transcript I/O responsiveness

* fix: avoid sync checkpoint metadata reads
2026-05-01 22:03:24 +10:00
Peter Steinberger
32359e667b fix: allow doctor repair size drops 2026-05-01 13:02:24 +01:00
Peter Steinberger
2fbe808a32 refactor: trim gateway test helper exports 2026-05-01 12:58:58 +01:00
Vincent Koc
c3bac63c1b fix(test): tolerate channel readiness degradation 2026-05-01 04:56:13 -07:00
Vincent Koc
2ea47988dd fix(test): satisfy plugin smoke lint 2026-05-01 04:56:13 -07:00
Vincent Koc
578178faa4 fix(plugins): scope requested speech providers 2026-05-01 04:56:13 -07:00
Vincent Koc
f4fb9eb3ce docs(changelog): credit plugin runtime smoke fix 2026-05-01 04:56:12 -07:00
Vincent Koc
a0f1293505 test(e2e): harden bundled plugin runtime smoke 2026-05-01 04:56:12 -07:00
Vincent Koc
132b3e3940 fix(plugins): preserve requested speech fallback 2026-05-01 04:56:12 -07:00
Vincent Koc
e11787a564 test(e2e): configure tts provider sections in matrix 2026-05-01 04:56:11 -07:00
Vincent Koc
f8f719ee23 test(e2e): isolate plugin matrix runtime deps 2026-05-01 04:56:11 -07:00
Vincent Koc
200443e1b3 test(e2e): skip lazy tool catalog probes 2026-05-01 04:56:11 -07:00
Vincent Koc
4ce031fd1a test(e2e): share runtime deps across matrix probes 2026-05-01 04:56:10 -07:00
Vincent Koc
1b1b1b41a3 test(e2e): give plugin runtime RPCs more headroom 2026-05-01 04:56:10 -07:00
Vincent Koc
bcaf980015 test(e2e): account for lazy plugin commands in smoke 2026-05-01 04:56:10 -07:00
Vincent Koc
ac0e3013ab test(e2e): satisfy runtime smoke lint 2026-05-01 04:56:09 -07:00
Vincent Koc
942d46a4d5 test(e2e): assert canonical TTS provider in smoke 2026-05-01 04:56:09 -07:00
Vincent Koc
c1fec482e8 test(e2e): tolerate missing pgrep in runtime smoke 2026-05-01 04:56:09 -07:00
Vincent Koc
54e2f4dc28 test(e2e): let channel runtime smoke load channels 2026-05-01 04:56:09 -07:00
Vincent Koc
93222c5f12 test(e2e): activate channel rows for runtime smoke 2026-05-01 04:56:08 -07:00
Vincent Koc
22fa77de31 test(e2e): add bundled plugin runtime smoke 2026-05-01 04:56:08 -07:00
Vincent Koc
aaa2f32175 fix(app): retry device tokens on pinned gateways (#75537) 2026-05-01 04:55:59 -07:00