Skip to content

feat(workflow_engine): Carry the selected detector into action execution - #132444

Draft
shashjar wants to merge 14 commits into
masterfrom
shashjar/feat/iswf-3714-action-detector
Draft

shashjar wants to merge 14 commits into
masterfrom
shashjar/feat/iswf-3714-action-detector

Conversation

@shashjar

Copy link
Copy Markdown
Member

An action task can now carry the detector selected during workflow evaluation. The worker loads it once and passes it through the existing organization check to the handler. Existing task messages still use preferred-detector lookup.

This builds on #131090. The activity-routing change will supply the ID when an issue has no preferred detector.

Refs https://linear.app/getsentry/issue/ISWF-3714.

Keep real detector and organization context while requiring handlers to opt in to group-less execution.

Refs ISWF-3705
Restore the processor organization lookup while retaining cached ownership validation for actions.
Enabling evaluation emission for unannotated preprod, processing-errors, and legacy uptime
detectors is separate work.

Refs ISWF-3705
Remove the unused annotation fast path and keep task tracking in the PR description.

Refs ISWF-3705
Replace the group-less capability flag with handler-owned validation before dispatch and execution. Notification handlers require a group and detector project; Seer requires only a group. Keep organization ownership validation in the action model.

Refs ISWF-3705
Reuse the invocation test for group-less execution and mock Seer at its execution boundary.

Refs ISWF-3705
Name the shared base for its issue-group and project-scoped detector requirements.

Refs ISWF-3705
@linear-code

linear-code Bot commented Nov 24, 2026

Copy link
Copy Markdown

ISWF-3714

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 24, 2026
@shashjar
shashjar force-pushed the shashjar/feat/iswf-3705-group-less-actions branch 2 times, most recently from 0d88a80 to b365838 Compare November 25, 2026 16:58
Base automatically changed from shashjar/feat/iswf-3705-group-less-actions to master November 30, 2026 18:32

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.

1 participant