Skip to content

[codex] Add concurrent server health and shutdown cleanup - #82

Open
farvend wants to merge 3 commits into
fosdickio:mainfrom
farvend:codex/feat-server-health-concurrency
Open

[codex] Add concurrent server health and shutdown cleanup#82
farvend wants to merge 3 commits into
fosdickio:mainfrom
farvend:codex/feat-server-health-concurrency

Conversation

@farvend

@farvend farvend commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Serve HTTP requests concurrently.
  • Add /health with thread, request, binary, and error state.
  • Track slow requests and bound shutdown waits.
  • Clean up plugin timers and server resources when Binary Ninja exits.

Why

The single-threaded server let one slow analysis request block every MCP client request, and shutdown could leave runtime resources alive.

Impact

Clients remain responsive during long operations and receive observable server health.

Validation

  • python -B -m unittest discover -s tests -p "test_*.py" (2 tests)

@farvend
farvend marked this pull request as ready for review August 26, 2026 10:47
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