Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(cli): add missing shutdown_plugins() in astridd shutdown path - #24

Merged
joshuajbouw merged 1 commit into
mainfrom
fix/daemon-shutdown-plugins
Feb 16, 2026
Merged

joshuajbouw merged 1 commit into
mainfrom
fix/daemon-shutdown-plugins

Conversation

@joshuajbouw

@joshuajbouw joshuajbouw commented Feb 16, 2026

Copy link
Copy Markdown
Member

Summary

  • The astridd binary (daemon_main.rs) called shutdown_servers() but not shutdown_plugins() before shutting down
  • This could leave MCP plugin child processes running as orphans after daemon shutdown
  • Adds the missing shutdown_plugins().await call, matching the shutdown sequence already used in commands/daemon.rs

Test plan

  • cargo check -p astrid-cli — clean
  • Manual: start daemon with MCP plugins loaded, stop daemon, verify child processes are terminated

The astridd binary (daemon_main.rs) called shutdown_servers() but
not shutdown_plugins() before shutting down. This could leave MCP
plugin child processes running as orphans. Matches the shutdown
sequence already used in commands/daemon.rs.
@joshuajbouw

Copy link
Copy Markdown
Member Author

Can confirm that child processes are shut down.

@joshuajbouw
joshuajbouw merged commit 5fe2add into main Feb 16, 2026
5 checks passed
@joshuajbouw
joshuajbouw deleted the fix/daemon-shutdown-plugins branch February 16, 2026 21:11
@joshuajbouw joshuajbouw self-assigned this Feb 22, 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.

1 participant