Skip to content

Conversation

@Chrisbattarbee
Copy link
Contributor

Summary

  • Add potentialIssueEventUuid parameter to create_investigation and update_investigation tools
  • This enables notification threading for autonomous investigations triggered by potential issue detection
  • Investigation notifications will now thread under the original anomaly detection notification in Slack

Changes

  • model/model.go: Added PotentialIssueEventUUID field to CreateInvestigationRequest and UpdateInvestigationRequest
  • tools/create_investigation.go: Added parameter and pass-through to API
  • tools/update_investigation.go: Added parameter and pass-through to API

Test plan

  • Deploy MCP server with these changes
  • Trigger an autonomous investigation via 5XX anomaly detection
  • Verify the investigation created notification threads under the anomaly notification in Slack

Add potentialIssueEventUuid parameter to create_investigation and
update_investigation tools to support notification threading for
autonomous investigations triggered by potential issue detection.

This enables investigation notifications to thread under the original
anomaly detection notification in Slack.
Copilot AI review requested due to automatic review settings December 5, 2025 14:36
Copy link

Copilot AI left a 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 PR adds support for threading investigation notifications under potential issue detection notifications in Slack by introducing a PotentialIssueEventUUID parameter to investigation creation and update operations.

Key Changes:

  • Added PotentialIssueEventUUID field to investigation request structs for notification threading
  • Updated both create and update investigation tools to accept and pass through the new parameter

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
model/model.go Added PotentialIssueEventUUID field to CreateInvestigationRequest and UpdateInvestigationRequest structs
tools/create_investigation.go Added PotentialIssueEventUUID parameter to handler args and passed it through to API request
tools/update_investigation.go Added PotentialIssueEventUUID parameter to handler args and passed it through to API request

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Chrisbattarbee Chrisbattarbee merged commit 1690bc8 into main Dec 5, 2025
1 check passed
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.

2 participants