Skip to content

Conversation

@aruntyagiTutu
Copy link
Contributor

What does this PR do?

@W-20566789@ - Implement query_code_analyzer_results with Selector-Based Filtering

What issues does this PR fix or reference?

Introduces a new MCP tool to query code analyzer results using selectors, with refactored filtering/sorting logic, selector parsing utilities, telemetry emission, updated tool descriptions, and comprehensive unit tests.

@aruntyagiTutu aruntyagiTutu requested a review from a team as a code owner December 15, 2025 05:07
@aruntyagiTutu aruntyagiTutu requested a review from a team as a code owner December 15, 2025 09:13
Comment on lines +130 to +137
// Emit failure telemetry on unexpected errors
if (this.telemetryService) {
this.telemetryService.sendEvent(Constants.TelemetryEventName, {
source: Constants.TelemetrySource,
sfcaEvent: Constants.McpTelemetryEvents.RESULTS_QUERY,
outcome: 'failure',
error: errMsg
});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should let MCP team know that they need to provide a way to log the exception stack trace. It will make it easier to debug the issues.

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.

4 participants