Repository navigation
feat(automations): store explicit outcomes - #1788
Merged
Merged
Conversation
Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This comment has been minimized.
This comment has been minimized.
dcramer
marked this pull request as ready for review
September 7, 2026 19:45
Co-Authored-By: David Cramer <[email protected]>
Co-Authored-By: David Cramer <[email protected]>
dcramer
approved these changes
Sep 7, 2026
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reworks the first Automation slice around an ordered
outcomeslist instead ofsuccessOutput: "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
outcomeskeep 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]