Skip to content

Backport #2983: fix(world-postgres): throw EntityConflictError on duplicate run_created#2992

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

Backport #2983: fix(world-postgres): throw EntityConflictError on duplicate run_created#2992
github-actions[bot] wants to merge 1 commit into
stablefrom
backport/pr-2983-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

AI recommendation: This is a self-contained bug fix to @workflow/world-postgres, whose storage.ts and storage.test.ts both exist on stable and contain the same buggy onConflictDoNothing() + if (runValue) pattern being patched. The fix does not depend on any main-only API and addresses a race that affects the stable code identically, so it should be backported.

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

…ed (#2983)

Signed-off-by: Joey Hotz <joeyhotz1@gmail.com>
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: bef7a72

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 Jul 17, 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, Comment Jul 17, 2026 9:58pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Jul 17, 2026 9:58pm
example-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workbench-astro-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workbench-express-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workbench-fastify-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workbench-hono-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workbench-nitro-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workbench-nuxt-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workbench-tanstack-start-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workbench-vite-workflow Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Jul 17, 2026 9:58pm
workflow-swc-playground Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workflow-tarballs Ready Ready Preview, Comment Jul 17, 2026 9:58pm
workflow-web Ready Ready Preview, Comment Jul 17, 2026 9:58pm

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