Skip to content

feat(automations): store explicit outcomes - #1788

Merged
dcramer merged 5 commits into
mainfrom
feat/automation-success-output
Sep 7, 2026
Merged

dcramer merged 5 commits into
mainfrom
feat/automation-success-output

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Reworks the first Automation slice around an ordered outcomes list instead of successOutput: "reply" | "silent".

Each message outcome has action: "send_message" and an explicit Slack Destination. An empty list means successful work has no post-run effect. Multiple outcomes run in order. This supports cases such as creating an Automation in a channel and sending its result by DM.

The stored task Destination remains the management and execution context. It does not select result delivery. Legacy tasks with no outcomes keep their current behavior by sending to their stored task Destination.

This draft will carry outcomes through scheduled and Event task storage, durable dispatch and resume, tools, API data, dashboard details, fixtures, and tests.

Part of #1717 and #1766.

Requested by David Cramer.

--

View Junior Session [Sentry]

@vercel

vercel Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Sep 7, 2026 9:34pm UTC

Request Review

@blacksmith-sh

This comment has been minimized.

@dcramer
dcramer marked this pull request as ready for review September 7, 2026 19:45
@github-actions github-actions Bot added the risk: high PR risk score: high label Sep 7, 2026
@sentry-junior sentry-junior Bot changed the title feat(automations): store successful output behavior feat(automations): store explicit outcomes Sep 7, 2026
@dcramer
dcramer merged commit e8a880a into main Sep 7, 2026
40 checks passed
@dcramer
dcramer deleted the feat/automation-success-output branch September 7, 2026 21:55
dcramer added a commit that referenced this pull request Oct 9, 2026
Rename runGetsDelivery to deliversFinalText. Add a TODO for the fallback
that lets a dispatch record without outcomes send to its Destination.
Automations have stored outcomes since #1788, and older dispatch records
have passed the 7-day state TTL.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 79f02ec5 Deployed Sep 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant