FreeOnePlus opened a new pull request, #164:
URL: https://github.com/apache/doris-mcp-server/pull/164

   ## Summary
   
   - execute the exact read-only `SELECT @@version_comment;` probe with bounded 
output
   - parse Doris release comments into core version, prerelease, commit hash, 
and deployment hint
   - compare normalized versions without treating commit hashes as version 
precedence
   - fail closed when the result column or version format is not recognized
   
   ## Why
   
   The 1.0.0 hierarchical tool architecture needs a deterministic Doris version
   signal before it can evaluate per-child capability contracts. Doris returns
   release comments such as
   `Doris version doris-3.0.3-rc03-43f06a5e26 (Cloud Mode)`, so a simple
   three-number parser would produce incorrect availability decisions.
   
   ## Impact
   
   This PR adds the version capability foundation only. It does not change the
   current MCP tool list, dispatch behavior, configuration, or public
   documentation.
   
   ## Validation
   
   - `uv run pytest -q -W error` — 1,148 passed, 69 skipped
   - `uv run ruff check .`
   - `uv run mypy doris_mcp_server`
   - `uv lock --check`
   - `uv build`
   - real Doris 4.0.5 RC probe on the project test environment using
     `SELECT @@version_comment;`
   


-- 
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]

Reply via email to