Skip to content

Fix sre agent issues - #3826

Merged
Vinay Gera (g2vinay) merged 2 commits into
microsoft:mainfrom
g2vinay:fix-sre-agent-issues
Oct 2, 2026
Merged

Vinay Gera (g2vinay) merged 2 commits into
microsoft:mainfrom
g2vinay:fix-sre-agent-issues

Conversation

@g2vinay

Copy link
Copy Markdown
Contributor

No description provided.

…icrosoft#3558)

In Namespace/All mode the model picked sreagent_threads_get over sreagent_threads_investigate for 'investigate this issue' prompts. Lead the investigate command, get command, and the top-level sreagent namespace descriptions with intent verbs (investigate/troubleshoot/root-cause) and mark get as read-only so the two no longer overlap. Verified with ToolDescriptionEvaluator: threads_investigate now ranks microsoft#1 (0.72) for the issue prompt.
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The linked issue remains unresolved, error messaging is contradictory, and required validation and changelog artifacts are missing.

Review effort: Balanced
Findings: 2 Medium severity · 2 Low severity

Open (4)
What changed in this PR

Improves SRE Agent error reporting and tool selection guidance.

Changes:

  • Preserves upstream HTTP status codes.
  • Adds data-plane error tests.
  • Clarifies thread command descriptions.
File Description
SreAgentServiceDataPlaneErrorTests.cs Tests data-plane status propagation.
SreAgentSetup.cs Expands SRE Agent group description.
SreAgentService.cs Preserves data-plane and ARM error statuses.
ThreadsInvestigateCommand.cs Clarifies investigation use cases.
ThreadsGetCommand.cs Distinguishes retrieval from investigation.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@g2vinay
Vinay Gera (g2vinay) merged commit f825e6e into microsoft:main Oct 2, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants