Skip to content

feat(automations): Add safe creator-only edit API - #1980

Merged
dcramer merged 2 commits into
mainfrom
feat/automation-edit-api
Sep 28, 2026
Merged

dcramer merged 2 commits into
mainfrom
feat/automation-edit-api

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Add structured edit reads and partial updates for scheduled and event Automations. Only the creator can use the web edit API. Public visibility still grants read access only.

Web and Slack edits share Schedule compilation, plugin event validation, outcome rules, and creator credential rules. Instruction changes keep stored titles. Omitted fields and unchanged event selectors stay intact, including unavailable match conditions.

Require a revision for web saves and compare it under the storage lock. Concurrent edits fail with a conflict instead of replacing newer values. Scheduled run-now and delete writes also keep newer edits safe. Saving does not dispatch work or restart completed Automations.

This provides the API for the native editor in #1974. No editor or pause lifecycle is included.

Closes #1973. Part of #1970.

via David Cramer.

--

View Junior Session [Sentry]

@vercel

vercel Bot commented Sep 28, 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 28, 2026 8:18pm UTC

Request Review

@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

19 screenshot changes — 11 changed · 8 added · 0 removed

Review screenshots in Frameshift

Conversation Event Details · Desktop
Conversation Event Details · Desktop
Changed
Conversation Event Details · Mobile
Conversation Event Details · Mobile
Changed
Conversation Event Log · Desktop
Conversation Event Log · Desktop
Changed
Conversation Event Log · Mobile
Conversation Event Log · Mobile
Changed
Conversation Image Draft · Desktop
Conversation Image Draft · Desktop
Changed
Conversation Image Draft · Mobile
Conversation Image Draft · Mobile
Changed
Show 5 more changed screenshots
Conversation Outbox Author · Desktop
Conversation Outbox Author · Desktop
Changed
Gallery Foundations · Desktop
Gallery Foundations · Desktop
Changed
Locations · Mobile
Locations · Mobile
Changed
Workspace Detail · Desktop
Workspace Detail · Desktop
Changed
Workspace Detail · Mobile
Workspace Detail · Mobile
Changed

@dcramer
dcramer marked this pull request as ready for review September 28, 2026 20:17
@github-actions github-actions Bot added the risk: high PR risk score: high label Sep 28, 2026
@dcramer
dcramer enabled auto-merge (squash) September 28, 2026 20:20
@dcramer
dcramer merged commit d3730cb into main Sep 28, 2026
64 of 66 checks passed
@dcramer
dcramer deleted the feat/automation-edit-api branch September 28, 2026 20:33

This branch was successfully deployed

1 active deployment
Preview – junior-docs — ae52783f Deployed Sep 28, 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.

Add a safe web API for automation edits

1 participant