Skip to content

fix: clean up failed orchestration bootstraps - #378

Merged
Juliusolsson05 merged 1 commit into
mainfrom
fix/orchestration-bootstrap-cleanup
Jul 2, 2026
Merged

Juliusolsson05 merged 1 commit into
mainfrom
fix/orchestration-bootstrap-cleanup

Conversation

@Juliusolsson05

Copy link
Copy Markdown
Owner

Summary

  • close newly-created orchestration children when bootstrap prompt delivery fails
  • return the failed session id plus cleanup outcome instead of returning a live-looking agent object
  • record cleanup status in the existing orchestration.prompt_delivery_failed incident

Refs #369.

Why

The orchestration investigation found prompt-delivery failures can leave created child sessions behind with PTYs, proxies, watchers, and MCP registration even though the tool caller sees an error and usually loses the handle.

Verification

  • npm run build

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