Repository navigation
feat(mcp): Support explicit transformed time-series searches - #2017
nsdeschenes wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Expose ordered pipelines for trace, log, and metric searches without an AI provider. Preserve explicit settings through translation and fallback and reconstruct the applied configuration in Explore links. Refs EXP-1408 Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Exclude Seer charts without a matching interval from inferred time-series axes. Reject transformations on unbucketed charts instead of dropping them; explicit caller overrides retain precedence. Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
f300180 to
d138436
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d138436. Configure here.
| ), | ||
| transformations: agentTransformationsSchema, | ||
| }), | ||
| ]) |
There was a problem hiding this comment.
Agent union silently drops extra axes
Medium Severity
The embedded agent still documents timeSeries.yAxis, while the new output schema tries a strict axes object first and then a non-strict legacy object. Zod keeps strict() across extend(), so a payload with both axes and yAxis fails the first branch and the second strips axes. normalizeTimeSeriesConfig then keeps only the legacy single series, dropping extra axes and per-axis transformations.
Reviewed by Cursor Bugbot for commit d138436. Configure here.


Expose ordered per-axis pipelines on trace, log, and metric searches for EXP-1408. Explicit searches run without an AI provider, and explicit settings survive translation and provider fallback. Embedded-agent and Seer routes normalize into the shared model; Explore links reproduce the applied axes, pipelines, and interval.
The three tools use the shared structured result envelope and declare ordered
series[]andrequestedIntervalfields for explicit, transformed, or multi-axis results. Ordinary inferred single-axis results retain the existingtimeSeriesshape. Text output remains equivalent to the structured payload, and legacysearch_eventscontinues to return text.Regression coverage checks SDK dispatch and output schemas, all three datasets, precedence, retries, response validation, URL reconstruction, and Seer outcome reporting after result validation.