Skip to content

feat(workflow_engine): Support group-less action invocation - #131090

Open
shashjar wants to merge 12 commits into
masterfrom
shashjar/feat/iswf-3705-group-less-actions
Open

shashjar wants to merge 12 commits into
masterfrom
shashjar/feat/iswf-3705-group-less-actions

Conversation

@shashjar

@shashjar shashjar commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Refs https://linear.app/getsentry/issue/ISWF-3705/support-group-less-action-invocation-and-inbox-frequency-semantics.

Supports action invocation without an issue group using a required detector from the event's organization, including an organization-scoped detector without a project. Issue notification handlers require a group and a project-scoped detector; Seer requires only a group.

Handlers validate event requirements before dispatch. For currently supported task messages, Action.trigger() repeats event validation, checks detector ownership, and invokes the handler's detector-context validation before execution.

https://app.notion.com/p/sentry/Investigation-Events-Workflow-Engine-40c8b10e4b5d80d18c4ed6c802d55d64

@linear-code

linear-code Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

ISWF-3705

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 13, 2026
@shashjar
shashjar added this pull request to stack #131096 November 13, 2026 18:30
@shashjar
shashjar force-pushed the shashjar/feat/iswf-3705-group-less-actions branch 3 times, most recently from c194918 to ea1da2e Compare November 20, 2026 00:13
@shashjar
shashjar removed this pull request from stack #131096 November 20, 2026 00:15
@shashjar
shashjar changed the base branch from shashjar/ref/iswf-3705-explicit-action-detector to master November 20, 2026 00:15
@shashjar
shashjar added this pull request to stack #131948 November 20, 2026 00:15
Keep real detector and organization context while requiring handlers to opt in to group-less execution.

Refs ISWF-3705
@shashjar
shashjar force-pushed the shashjar/feat/iswf-3705-group-less-actions branch from ea1da2e to e42eca5 Compare November 20, 2026 00:16
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
@shashjar
shashjar marked this pull request as ready for review November 21, 2026 17:41
@shashjar
shashjar requested review from a team as code owners November 21, 2026 17:42
@shashjar
shashjar requested review from a team as code owners November 21, 2026 17:42
@shashjar
shashjar requested review from a team and removed request for a team November 21, 2026 17:42

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