mikebridge opened a new pull request, #45531: URL: https://github.com/apache/superset/pull/45531
### SUMMARY Use consistent messages when semantic view structure, runtime schemas or compatibility metadata cannot be loaded. Detailed diagnostics remain in server logs. Existing response shapes, status codes, access checks and error categories are unchanged. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Not applicable: API and MCP error handling only. ### TESTING INSTRUCTIONS - Run `pytest tests/unit_tests/semantic_layers tests/unit_tests/mcp_service/semantic_layer/tool/test_get_compatible_metrics.py tests/unit_tests/mcp_service/semantic_layer/tool/test_get_compatible_dimensions.py tests/unit_tests/mcp_service/semantic_layer/tool/test_compatibility_errors.py`. - Verify failed metadata requests return consistent operation-specific messages, while successful requests and known validation/access-denied responses retain their existing behavior. - Local result: 1,802 tests passed; changed-file hooks passed. ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [x] Required feature flags: `SEMANTIC_LAYERS` for external semantic views - [ ] Changes UI - [ ] Includes DB Migration - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- 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]
