MirrerZu commented on PR #250: URL: https://github.com/apache/doris-mcp-server/pull/250#issuecomment-7366846657
Thanks for this fix. We hit the same problem on a 4.1.5 cluster: every `doris_query` and `doris_catalog` child reported `DORIS_VERSION_UNKNOWN`. While patching it locally we found two related cases that this PR does not cover yet: 1. **Hotfix builds.** `gensrc/script/gen_build_version.sh` appends `.<hotfix>` to the version when `DORIS_BUILD_VERSION_HOTFIX` is greater than 0, so 4.1.4.1 reports `doris-4.1.4.1-rc02-<hash>`. The pattern requires the three-part core to be followed by `-`, whitespace, `(`, `,` or the end, so these comments still fail closed. 2. **Certification evidence.** `_certification_comment_matches` in `doris_feature_matrix.py` has its own copy of the suffix grammar. Evidence recorded on a `-release` build is rejected with "every certified FE and BE must report the Doris core version …". A smaller point: with this change `prerelease` becomes `"release"` for an official build. It does not affect any capability decision, but leaving `prerelease` empty for `release` might be less surprising. Our local patch moves the suffix grammar into one pattern that both the parser and the evidence matcher use. It accepts an optional `.<hotfix>` component (kept in a separate `hotfix` field; comparisons still use the three-part core) and the `release` label. Tests cover the parser, comparisons, evidence validation and an end-to-end detector run with FE and BE rows in the `-release` format. I am happy to open it as a follow-up PR after this one is merged, or you can fold it in here, whichever the maintainers prefer. -- 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]
