agent-native icon indicating copy to clipboard operation
agent-native copied to clipboard

Add Sentry Error Intelligence dashboard with Slack search

Open liamdebeasi opened this issue 6 months ago • 6 comments

Summary

Adds a new "Sentry Error Intelligence" dashboard that surfaces top errors, escalating issues, and related error groups. Enhances the Slack integration with thread enrichment, fuzzy search, and user token support, and extends the Sentry data source to require an org slug.

Problem

There was no dedicated app for analyzing Sentry errors beyond what the official Sentry UI provides. Additionally, the Sentry data source lacked an org slug configuration field, and the Slack search integration only supported a bot token (which cannot use the search.messages API) and did not surface thread context or clickable message links.

Key Changes

  • New sentry-errors dashboard registered in the adhoc dashboard registry (ErrorGroupsPanel.tsx and related components) with top-10 error analysis, escalation detection, related error grouping, and project filtering
  • Sentry SENTRY_ORG_SLUG data source field added to the walkthrough steps so users can configure their org slug via the UI
  • getCodeMappings added to the Sentry server lib and exposed as a new code-mappings mode in the Sentry action
  • github-blame action added to fetch Git blame for a file path via GitHub's GraphQL API
  • Slack SLACK_USER_TOKEN data source field added as an optional walkthrough step (with an "Add" button replacing the static "Optional" label in the connected view)
  • Slack searchMessages overhauled: prefers a user token (xoxp-) for search.messages; falls back to bot-token channel history scanning with fuzzy matching (URL normalization, numeric suffix matching, prefix matching)
  • Thread enrichment (enrichWithThreads) fetches full reply threads for matched Slack messages so conversation context is surfaced alongside search results
  • Slack search limit passed through from the action call; results capped and sorted by recency
  • User resolution fallback removed fake placeholder entries so resolveUsername can fall back to the username field populated by the search API

Edit in Builder  Preview


To clone this PR locally use the Github CLI with command gh pr checkout 1035

You can tag me at @builderio for anything you want me to fix or change

liamdebeasi avatar Jun 02 '26 21:06 liamdebeasi

Deploy Preview for agent-native-images ready!

Name Link
Latest commit 6ab24c281483ed2b410de2663e2768b0475d0287
Latest deploy log https://app.netlify.com/projects/agent-native-images/deploys/6a1f4829b726250008f1a07e
Deploy Preview https://deploy-preview-1035--agent-native-images.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 02 '26 21:06 netlify

Deploy Preview for agent-native-voice ready!

Name Link
Latest commit 6ab24c281483ed2b410de2663e2768b0475d0287
Latest deploy log https://app.netlify.com/projects/agent-native-voice/deploys/6a1f4829a8096e00086cf89b
Deploy Preview https://deploy-preview-1035--agent-native-voice.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 02 '26 21:06 netlify

Deploy Preview for agent-native-scheduling ready!

Name Link
Latest commit 6ab24c281483ed2b410de2663e2768b0475d0287
Latest deploy log https://app.netlify.com/projects/agent-native-scheduling/deploys/6a1f4829a308ce00084e811e
Deploy Preview https://deploy-preview-1035--agent-native-scheduling.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 02 '26 21:06 netlify

Deploy Preview for agent-native-brain ready!

Name Link
Latest commit 6ab24c281483ed2b410de2663e2768b0475d0287
Latest deploy log https://app.netlify.com/projects/agent-native-brain/deploys/6a1f48299825920008173440
Deploy Preview https://deploy-preview-1035--agent-native-brain.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 02 '26 21:06 netlify

Deploy Preview for agent-native-meeting-notes ready!

Name Link
Latest commit 6ab24c281483ed2b410de2663e2768b0475d0287
Latest deploy log https://app.netlify.com/projects/agent-native-meeting-notes/deploys/6a1f482940285e0008916aca
Deploy Preview https://deploy-preview-1035--agent-native-meeting-notes.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 02 '26 21:06 netlify

Deploy Preview for agent-native-design ready!

Name Link
Latest commit 6ab24c281483ed2b410de2663e2768b0475d0287
Latest deploy log https://app.netlify.com/projects/agent-native-design/deploys/6a1f482940285e0008916ace
Deploy Preview https://deploy-preview-1035--agent-native-design.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 02 '26 21:06 netlify