FreeOnePlus opened a new pull request, #96: URL: https://github.com/apache/doris-mcp-server/pull/96
## Summary - classify unknown prompts, missing required arguments, and database-context failures - return stable MCP `-32602` / `-32603` errors instead of successful prompt text - bound database-context acquisition to 10 seconds and release connections on failure or cancellation - cover modern, legacy, Streamable HTTP, and actual STDIO behavior ## Stack - Depends on #95 - Incremental commit: `fc49a31` - This PR is intentionally stacked so each ledger item remains independently reviewable ## Verification - `uv run pytest`: 343 passed, 57 skipped - targeted protocol and prompt-manager tests - `uv lock --check` - scoped Ruff checks - `compileall` - `uv build` ## Real Doris verification - Streamable HTTP, modern and legacy: typed failures followed by a successful prompt using real `hhm_dt_sim` database context - STDIO, modern and legacy: typed failures followed by a successful prompt using real database context - unreachable HTTP database fault: returned `-32603` within the timeout, then recovered for `prompts/list` - actual STDIO subprocess with an injected manager database fault: returned `-32603`, then recovered - a completely unavailable database currently terminates the real STDIO server before protocol discovery; that startup/readiness behavior is recorded under `CORE-006` / `TEST-005`, rather than counted as a `CORE-004` pass -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
