You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
automations: delete fails with 'Tx.conversation() cannot read tables after the first table write' #497
Deleting an automation whose script has a watcher fails with:
Tx.conversation() cannot read tables after the first table write
Cause (extensions/automations/server.ts, around lines 438-442): for delete, scripts.drop(tx, …) writes first, then conversations.concludedIn(tx) reads, which the durable layer refuses after a write in the same transaction.
Suggested fix: read concludedIn(tx) (and decide whether to conclude the watcher) before scripts.drop.
Workaround today: pause the automation; it cannot be deleted. Seen 2026-12-01 on build 91c3346bd3cd.
Activity