Skip to content

feat(seer-slack): Implement Slack Entrypoint for Seer Workflow - #105367

Merged
leeandher merged 8 commits into
masterfrom
leander/eco-1324-add-slack-entrypoint-and-custom-renderers
Jan 8, 2026
Merged

leeandher merged 8 commits into
masterfrom
leander/eco-1324-add-slack-entrypoint-and-custom-renderers

Conversation

@leeandher

@leeandher leeandher commented Dec 20, 2025 •

Copy link
Copy Markdown
Member

Follow up to #105344

Implements the SlackEntrypoint!

There is quite a bit of boilerplate for setting up the custom renderers. If this proves to be too much to review in one PR, I can break it out, but a lot of the line count comes from tests. This PR should be entirely slack specific, so @getsentry/ecosystem may be best to review.

Screenshots of what the rendered elements look like:

Issue Alert
image

Root Cause
image

Proposed Solution
image

Code Changes
image

Pull Request
image

Ephemeral Messages
image

@leeandher
leeandher requested a review from a team as a code owner December 20, 2025 00:09
@leeandher
leeandher requested a review from a team December 20, 2025 00:09
@leeandher
leeandher requested a review from a team as a code owner December 20, 2025 00:09
@linear

linear Bot commented Dec 20, 2025

Copy link
Copy Markdown

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 20, 2025
@codecov

codecov Bot commented Dec 20, 2025 •

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
30784 1 30783 246
View the top 1 failed test(s) by shortest run time
tests.sentry.notifications.platform.test_registry.NotificationTemplateRegistryTest::test_template_source_matches_categories
Stack Traces | 0.122s run time
#x1B[1m#x1B[.../notifications/platform/test_registry.py#x1B[0m:42: in test_template_source_matches_categories
    assert source in template.category.get_sources(), (
#x1B[1m#x1B[31mE   AssertionError: Template <class 'sentry.notifications.platform.templates.seer.SeerAutofixSuccessTemplate'> was registered with an unknown source (seer-autofix-success)#x1B[0m
#x1B[1m#x1B[31mE     Add the 'seer-autofix-success' to NOTIFICATION_SOURCE_MAP on 'seer' to fix this test.#x1B[0m
#x1B[1m#x1B[31mE   assert <NotificationTemplateSource.SEER_AUTOFIX_SUCCESS: 'seer-autofix-success'> in ['seer-autofix-trigger', 'seer-autofix-error', 'seer-context-input', 'seer-context-input-complete']#x1B[0m
#x1B[1m#x1B[31mE    +  where ['seer-autofix-trigger', 'seer-autofix-error', 'seer-context-input', 'seer-context-input-complete'] = <bound method NotificationCategory.get_sources of <NotificationCategory.SEER: 'seer'>>()#x1B[0m
#x1B[1m#x1B[31mE    +    where <bound method NotificationCategory.get_sources of <NotificationCategory.SEER: 'seer'>> = <NotificationCategory.SEER: 'seer'>.get_sources#x1B[0m
#x1B[1m#x1B[31mE    +      where <NotificationCategory.SEER: 'seer'> = <class 'sentry.notifications.platform.templates.seer.SeerAutofixSuccessTemplate'>.category#x1B[0m

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@leeandher
leeandher marked this pull request as draft January 6, 2026 18:17
@leeandher
leeandher force-pushed the leander/eco-1287-route-the-action-to-generalized-integration-handler-for-seer branch from 9bc2402 to fe12a2d Compare January 7, 2026 19:11
@leeandher
leeandher force-pushed the leander/eco-1324-add-slack-entrypoint-and-custom-renderers branch from d6bca5b to b5eaa74 Compare January 7, 2026 19:56
@leeandher
leeandher force-pushed the leander/eco-1324-add-slack-entrypoint-and-custom-renderers branch from b5eaa74 to c9b5d92 Compare January 7, 2026 20:26
Base automatically changed from leander/eco-1287-route-the-action-to-generalized-integration-handler-for-seer to master January 7, 2026 20:50
@leeandher
leeandher force-pushed the leander/eco-1324-add-slack-entrypoint-and-custom-renderers branch from c9b5d92 to fb8c748 Compare January 7, 2026 20:57
@leeandher
leeandher marked this pull request as ready for review January 8, 2026 15:54
@leeandher
leeandher merged commit 1d56253 into master Jan 8, 2026
66 checks passed
@leeandher
leeandher deleted the leander/eco-1324-add-slack-entrypoint-and-custom-renderers branch January 8, 2026 21:17
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 24, 2026

This branch was successfully deployed

1 active deployment
Preview — 0744fe6a Deployed Jan 8, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants