Skip to content

fix(desktop): defer default agent pool startup#2639

Open
BrianSeong99 wants to merge 1 commit into
block:mainfrom
BrianSeong99:brian/lazy-default-agent-pool
Open

fix(desktop): defer default agent pool startup#2639
BrianSeong99 wants to merge 1 commit into
block:mainfrom
BrianSeong99:brian/lazy-default-agent-pool

Conversation

@BrianSeong99

Copy link
Copy Markdown

Summary

  • default new and legacy-deserialized managed agents to one worker instead of 24
  • start manually launched managed agents with a lazy ACP pool
  • add regressions for the default and manual-start policy

Closes #2631

Validation

  • just ci
  • just desktop-tauri-test
  • targeted regression tests after rebasing onto current main

Risk / Notes

Existing agents that explicitly persist higher parallelism keep that value, but their workers are now created on demand after manual start.

Signed-off-by: Brian Seong <brianseong.dev@gmail.com>
@BrianSeong99
BrianSeong99 force-pushed the brian/lazy-default-agent-pool branch from 5e3df33 to 0cc699a Compare July 23, 2026 22:36
@BrianSeong99
BrianSeong99 marked this pull request as ready for review July 24, 2026 00:04
@BrianSeong99
BrianSeong99 requested a review from a team as a code owner July 24, 2026 00:04
@BrianSeong99 BrianSeong99 reopened this Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Default parallelism 24 eagerly spawns large Codex ACP pools, consuming ~14 GB and flooding Recents

1 participant