-
Notifications
You must be signed in to change notification settings - Fork 271
fix table schema issue and also adding live tests for missing Kusto calls #579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request fixes a table schema issue and adds comprehensive live tests for missing Kusto calls to improve test coverage.
- Fixes schema retrieval to return complete multi-line schema instead of just the first line
- Adds live tests for table listing, schema retrieval, and querying using direct cluster URIs
- Introduces structured test organization with region markers for better maintainability
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| KustoCommandTests.cs | Adds comprehensive live tests for Kusto operations and introduces test table constant |
| KustoService.cs | Fixes schema retrieval bug to return complete schema instead of first line only |
tools/Azure.Mcp.Tools.Kusto/tests/Azure.Mcp.Tools.Kusto.LiveTests/KustoCommandTests.cs
Show resolved
Hide resolved
|
Please add a CHANGELOG entry in the style of the other entries whenever we fix a bug :) |
…alls (microsoft#579) * fix table schema issue and also adding live tests for missing Kusto calls * fix * updated change log
…alls
What does this PR do?
fix table schema issue and also adding live tests for missing Kusto calls
when table schema tool is running it responses only with headers which is generic info and actual schema of the table is returned to the clients.
GitHub issue number?
[
[Link to the GitHub issue this PR addresses]](#530)Pre-merge Checklist
servers/Azure.Mcp.Server/CHANGELOG.mdand/orservers/Fabric.Mcp.Server/CHANGELOG.mdfor product changes (features, bug fixes, UI/UX, updated dependencies)servers/Azure.Mcp.Server/README.mdand/orservers/Fabric.Mcp.Server/README.mddocumentation/docs/azmcp-commands.mdand/or/docs/fabric-commands.mdToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test prompts/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.)/azp run mcp - pullrequest - liveto run Live Test Pipeline