Skip to content

fix(supervisor): honor abort signals across agent probes and cleanup - #546

Merged
SDSLeon merged 2 commits into
masterfrom
poracode/clear-lemur-e99e75df
Aug 9, 2026
Merged

fix(supervisor): honor abort signals across agent probes and cleanup#546
SDSLeon merged 2 commits into
masterfrom
poracode/clear-lemur-e99e75df

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Aug 9, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: thread AbortSignal ctx through agent probe/capabilities paths for every provider (ACP, Claude, Codex, OpenCode, Cursor, Gemini, Grok, etc.) so cancelled detections stop promptly instead of hanging.
  • Harden process teardown: signal-aware process-tree termination honoring owned process groups, WSL bridge timeout/abort now kills the child tree, and aborting SDK probe processes (Claude, Cursor, OpenCode) cleans up handles.
  • Fix OpenCode SDK lifecycle: probe disposal closes idle spawned servers, shutdown clears idle-shutdown timers, and concurrent detection de-dup records the in-flight promise correctly.
  • Fix project watcher unsubscribe race and make agent-registry/status refresh use active WSL project distros instead of stale global lists.
  • Add concurrency, timeout, and Windows process-tree regression tests (OpenCode concurrent detection, SDK probe timeout, process group kills).

SDSLeon added 2 commits August 8, 2026 23:14
- Forward AbortSignal through detection/probe and spawn paths (codex, claude, cursor, gemini, opencode, copilot, grok, kimi, pi, qoder, qwen, acp, factory) so aborted detections stop promptly
- Terminate child process trees with owned process groups on abort/timeout, including a WSL bridge command timeout that kills hung processes
- Fix OpenCode SDK probe pooling and idle-shutdown cleanup, and dedupe concurrent detection probes
- Scope agent status refresh to active WSL project distros from the project watcher and fix watcher unsubscribe ordering
- Cover with new provider probe tests, process-tree, bridge, and registry tests
@SDSLeon
SDSLeon merged commit 822d985 into master Aug 9, 2026
8 checks passed
@SDSLeon
SDSLeon deleted the poracode/clear-lemur-e99e75df branch August 9, 2026 06:26
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.

1 participant