Skip to content

Backport #3575: fix(world-postgres): make step creation atomic - #3746

Open
github-actions[bot] wants to merge 1 commit into
stablefrom
backport/pr-3575-to-stable
Open

Backport #3575: fix(world-postgres): make step creation atomic#3746
github-actions[bot] wants to merge 1 commit into
stablefrom
backport/pr-3575-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #3575 to stable (backport job run).

AI recommendation: This is a data-integrity bug fix: it closes a partial-write window where the workflow_steps row committed without its step_created event, wedging replay (issue #3081), by putting both writes in one transaction. The affected non-transactional code path exists verbatim on stable (packages/world-postgres/src/storage.ts), the change is a patch with no new API surface, and it ships a regression test.

Merge conflicts were resolved by AI (opencode with anthropic/claude-opus-5). Please review the conflict resolution carefully before merging.

Signed-off-by: Shin <128954611+shin4141@users.noreply.github.com>
@changeset-bot

changeset-bot Bot commented Aug 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 04421b4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@workflow/world-postgres Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, v0 Aug 22, 2026 2:28am
example-nextjs-workflow-webpack Ready Ready Preview, v0 Aug 22, 2026 2:28am
example-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-astro-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-express-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-fastify-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-hono-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-nestjs-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-nitro-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-nuxt-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-python-workflow Error Error v0 Aug 22, 2026 2:28am
workbench-sveltekit-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-tanstack-start-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workbench-vite-workflow Ready Ready Preview, v0 Aug 22, 2026 2:28am
workflow-docs Ready Ready Preview, v0 Aug 22, 2026 2:28am
workflow-swc-playground Ready Ready Preview, v0 Aug 22, 2026 2:28am
workflow-tarballs Ready Ready Preview, v0 Aug 22, 2026 2:28am
workflow-web Ready Ready Preview, v0 Aug 22, 2026 2:28am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants