Mike
297bd8f533
fix(team): cap renderer IPC payloads to prevent OOM crashes
...
Users with long-running teams (37+ tasks, 10+ agents for an hour) were
hitting constant renderer crashes (issue #36 ). Two hot paths were
serializing unbounded histories across IPC on every tick:
- Provisioning progress: emitLogsProgress and updateProgress both
joined the full provisioningOutputParts array (~20 event-driven call
sites) plus the full CLI log tail, then fanned that out to the
renderer. After an hour, each tick shipped multi-megabyte payloads
and Zustand OOM'd on the immutable state clone.
- Session detail cache: SessionDetail.messages (the raw parsed JSONL)
was being cached and returned over IPC/HTTP even though the renderer
only reads session/chunks/processes/metrics. This roughly doubled
the per-entry cache footprint on large sessions.
Fixes:
- Add progressPayload helpers that cap the log tail to 200 lines and
assistant output to the last 20 parts; empty/whitespace joins
collapse to undefined so the noop guard is explicit rather than
coincidental.
- Apply the cap inside emitLogsProgress, updateProgress, and the two
inline emission paths (stall warning, retry error). Throttle the
log-progress tick 300ms -> 1000ms so Zustand can keep up.
- Add stripSessionDetailMessages and call it at every SessionDetail
production site that crosses IPC/HTTP (both sessions.ts routes,
both cache stores).
- Raise MAX_CACHE_SESSIONS 5 -> 20 now that the per-entry SessionDetail
footprint is bounded. Previously 5 forced constant re-parsing on
every session switch.
Tests: 15 new unit tests covering the helpers (tail slicing, empty
parts, whitespace-only parts, non-mutation of inputs).
2026-04-18 17:44:39 +05:00
777genius
bff5f43da9
Merge branch 'dev' into spike/team-snapshot-split-plan
2026-04-18 15:03:02 +03:00
777genius
0a1831bc5e
fix(team): validate agent-teams MCP via direct stdio preflight
2026-04-18 15:00:47 +03:00
777genius
ce60831758
Merge branch 'dev' into spike/team-snapshot-split-plan
...
# Conflicts:
# src/renderer/components/sidebar/GlobalTaskList.tsx
# src/renderer/components/team/members/MemberMessagesTab.tsx
# src/renderer/components/team/messages/MessagesPanel.tsx
# test/main/services/team/BoardTaskLogStreamIntegration.test.ts
2026-04-18 14:23:18 +03:00
777genius
ad82cdb921
docs(extensions): add plugin integration defaults
2026-04-18 14:13:16 +03:00
777genius
8d5ee7d5ab
chore(dev): sync pending branch updates
2026-04-18 14:13:15 +03:00
777genius
5a7d5ea310
test(team): add real-jsonl coverage for task log fallback
2026-04-18 14:13:15 +03:00
777genius
39be3bce75
fix(team): restore task log fallback and block launch auto-assignment
2026-04-18 14:13:15 +03:00
777genius
52d45f87c1
feat(sidebar): improve project task grouping
2026-04-18 14:13:15 +03:00
777genius
9675f9b331
fix(recent-projects): show active projects during provisioning
2026-04-18 14:11:17 +03:00
777genius
4f97e9d2d8
Merge branch 'dev' of https://github.com/777genius/claude_agent_teams_ui into spike/team-snapshot-split-plan
2026-04-18 13:55:59 +03:00
Илия
d293ff4802
fix: unify context usage metrics
...
Merge pull request #61 from 777genius/research/context-usage-audit
2026-04-18 13:54:56 +03:00
777genius
c8851b31fd
fix(ci): suppress transcript resolver sonar false positive
2026-04-18 13:36:28 +03:00
777genius
1ee5dd38a5
fix(ci): refactor transcript project discovery
2026-04-18 13:22:20 +03:00
777genius
f22373d4a9
Merge branch 'dev' into spike/team-snapshot-split-plan
2026-04-18 13:13:07 +03:00
777genius
82566162fc
fix(team): restore task log fallback and block launch auto-assignment
2026-04-18 13:11:13 +03:00
777genius
416c4acf04
feat(sidebar): improve project task grouping
2026-04-18 13:09:51 +03:00
777genius
d2ef5965e2
fix(ci): simplify activity item memoization
2026-04-18 12:54:03 +03:00
777genius
4178645e2c
Merge remote-tracking branch 'origin/dev' into spike/team-snapshot-split-plan
2026-04-18 12:45:16 +03:00
777genius
cca644a1d2
fix(team): restore anthropic opus 4.6 option
2026-04-18 12:42:25 +03:00
777genius
e1a85786e7
fix(ci): resolve branch lint errors
2026-04-18 12:32:44 +03:00
777genius
42850e5e97
Merge remote-tracking branch 'origin/dev' into spike/team-snapshot-split-plan
2026-04-18 12:29:28 +03:00
777genius
f536e7e715
fix(ci): restore workspace validation
2026-04-18 12:20:37 +03:00
777genius
60f946b75e
chore(package): update version to 1.3.0
2026-04-18 12:13:03 +03:00
777genius
bfc6a38668
fix(context): unify context usage metrics
2026-04-18 12:10:51 +03:00
777genius
1a04b49d24
fix(team): support anthropic opus 4.7 team models
2026-04-18 12:09:26 +03:00
777genius
aa46d439ce
fix(build): allow cpu-features install script
2026-04-18 11:58:56 +03:00
777genius
0eb38387a3
fix(extensions): finalize stash merge reconciliation
2026-04-18 11:44:55 +03:00
777genius
51376e2620
chore(merge): sync dev into spike/team-snapshot-split-plan
2026-04-18 11:32:29 +03:00
777genius
78c6824d69
feat(team): merge live lead messages and repair transcript resolution
2026-04-18 11:02:21 +03:00
777genius
72f8d4e786
Merge remote-tracking branch 'origin/dev' into dev
2026-04-18 10:38:21 +03:00
777genius
787f5f28ed
chore: rename app branding to Agent Teams UI
2026-04-18 10:34:47 +03:00
SardorBek Sattarov
a42ab3096f
feat(team): auto-resume rate-limited teams when the limit resets
2026-04-18 10:21:23 +03:00
Илия
e163684b69
dev -> main
...
Merge pull request #60 from 777genius/dev
2026-04-18 09:16:02 +03:00
777genius
da9cb93e93
test(ci): stabilize file watcher first-read timing
2026-04-17 23:12:01 +03:00
777genius
351244ffdb
fix(team): harden refresh races and loading state
2026-04-17 23:03:58 +03:00
777genius
94f41ed5a5
test(ci): normalize extension path mocks on windows
2026-04-17 22:59:10 +03:00
777genius
18d9f2b4a4
fix(ci): restore workspace checks
2026-04-17 22:45:19 +03:00
777genius
c70ebfe9a5
fix(extensions): clarify multimodel plugin roadmap
2026-04-17 21:36:16 +03:00
777genius
79050cc318
fix(extensions): tone down script-only skill advisories
2026-04-17 21:32:04 +03:00
777genius
0648509a82
fix(extensions): keep provider placeholders during bootstrap
2026-04-17 21:17:47 +03:00
777genius
6f4fd254cf
fix(extensions): show provider loading placeholders
2026-04-17 21:10:26 +03:00
777genius
14ee2fc550
fix(extensions): reset stale codex skill filters
2026-04-17 21:07:11 +03:00
777genius
b0c4319ba3
fix(extensions): wait for runtime hydration before mcp diagnostics
2026-04-17 21:05:27 +03:00
777genius
f8c11af5b9
fix(extensions): harden mcp diagnostics runtime guards
2026-04-17 21:03:12 +03:00
777genius
c17a08c2d3
fix(extensions): use legacy-safe provider capability fallback
2026-04-17 21:00:23 +03:00
777genius
19c6144ef5
fix(extensions): keep skills banner provider-aware
2026-04-17 20:57:59 +03:00
777genius
4775d4bc45
fix(extensions): use runtime-aware detail copy
2026-04-17 20:55:22 +03:00
777genius
767dfde4cb
fix(extensions): use provider-aware runtime copy
2026-04-17 20:51:25 +03:00
777genius
0287f83274
fix(extensions): avoid misleading mcp diagnostics command copy
2026-04-17 20:30:09 +03:00