Skip to content

fix: classify Doris permission probe failures - #195

Merged
FreeOnePlus merged 1 commit into
masterfrom
agent/fix-probe-permission-classification
Aug 1, 2026
Merged

fix: classify Doris permission probe failures#195
FreeOnePlus merged 1 commit into
masterfrom
agent/fix-probe-permission-classification

Conversation

@FreeOnePlus

Copy link
Copy Markdown
Member

Summary

  • classify Doris permission-denied messages as permission probe failures
  • cover Doris 1105 authorization errors without treating every 1105 as an authorization failure
  • update the changelog

Root cause

Doris may return generic error code 1105 with an explicit Permission denied message. The detector only recognized dedicated MySQL authorization codes, so capability manifests exposed RUNTIME_PROBE_FAILED instead of an actionable permission result.

Validation

  • pytest --no-cov -q test/tools/test_capability_detector.py test/tools/test_capability_runtime_integration.py test/tools/test_capability_registry.py test/tools/test_doris_feature_matrix.py test/tools/test_domain_manifest.py
  • pytest -q (1773 passed, 83 skipped)
  • ruff check doris_mcp_server/ test/
  • git diff --check

@FreeOnePlus
FreeOnePlus force-pushed the agent/fix-probe-permission-classification branch from 6c8e243 to 02ff368 Compare August 1, 2026 05:08
@FreeOnePlus FreeOnePlus changed the title Fix Doris permission probe classification fix: classify Doris permission probe failures Aug 1, 2026
@FreeOnePlus
FreeOnePlus marked this pull request as ready for review August 1, 2026 05:09
@FreeOnePlus
FreeOnePlus merged commit 9e7c1a7 into master Aug 1, 2026
4 checks passed
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