Skip to content

ref(seer): Drop automation trigger bindings and the SEER_WORKFLOW action - #131733

Draft
trevor-e wants to merge 2 commits into
claude/project-thread-gmvsx8-triggersfrom
claude/project-thread-gmvsx8
Draft

trevor-e wants to merge 2 commits into
claude/project-thread-gmvsx8-triggersfrom
claude/project-thread-gmvsx8

Conversation

@trevor-e

Copy link
Copy Markdown
Member

Every automation now fires through its backing workflow's SEER_INVESTIGATION action, so this removes the legacy binding handler, Action.Type.SEER_WORKFLOW and SeerWorkflowTriggerBinding. The table moves to pending deletion, and a follow-up drops it. An automation whose backing workflow was deleted now reads as disabled instead of raising.

Merge only after seer 0047 has run in production, since it converts the remaining seer_workflow actions.


Generated by Claude Code

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR has a migration; here is the generated SQL for src/sentry/seer/migrations/0048_remove_seer_workflow_trigger_binding.py

for 0048_remove_seer_workflow_trigger_binding in seer

--
-- Alter field workflow_config on seerworkflowtriggerbinding
--
SET CONSTRAINTS "seer_workflowtrigger_workflow_config_id_bfb7f2fa_fk_seer_work" IMMEDIATE; ALTER TABLE "seer_workflowtriggerbinding" DROP CONSTRAINT "seer_workflowtrigger_workflow_config_id_bfb7f2fa_fk_seer_work";
--
-- Alter field trigger_action on seerworkflowtriggerbinding
--
SET CONSTRAINTS "seer_workflowtrigger_trigger_action_id_5b93ada4_fk_workflow_" IMMEDIATE; ALTER TABLE "seer_workflowtriggerbinding" DROP CONSTRAINT "seer_workflowtrigger_trigger_action_id_5b93ada4_fk_workflow_";
--
-- Moved model SeerWorkflowTriggerBinding to pending deletion state
--
-- (no-op)

@trevor-e
trevor-e force-pushed the claude/project-thread-gmvsx8-triggers branch from 591a235 to bd73d6a Compare November 19, 2026 00:16
Every automation now fires through its backing workflow's SEER_INVESTIGATION
action, and seer 0047 converted the remaining SEER_WORKFLOW actions. Remove the
legacy binding handler, the action type and the SeerWorkflowTriggerBinding model,
and move the table to pending deletion. An automation whose backing workflow was
deleted now reads as disabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trevor-e
trevor-e force-pushed the claude/project-thread-gmvsx8 branch from 8ce1573 to 451b144 Compare November 19, 2026 00:16
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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