github-actions[bot]
d86d7521ba
fix(world-postgres): stream reader lifecycle cleanup and offset cursor ( #4125 ) ( #4136 )
...
Co-authored-by: Peter Wielander <mittgfu@gmail.com >
2026-09-11 17:01:57 -07:00
github-actions[bot]
73465bc457
fix(world-postgres): advance stream cursors for skipped chunks ( #4113 ) ( #4131 )
...
Signed-off-by: Dmitry Petrov <Komly@yandex.ru >
Co-authored-by: Dmitry Petrov <Komly@yandex.ru >
Co-authored-by: Peter Wielander <peter.wielander@vercel.com >
2026-09-11 16:37:14 -07:00
github-actions[bot]
f72c6a63c9
fix(world-postgres): create runs and initial events atomically ( #4111 ) ( #4132 )
...
Co-authored-by: Dmitry Petrov <Komly@yandex.ru >
Co-authored-by: Peter Wielander <peter.wielander@vercel.com >
2026-09-11 16:36:48 -07:00
github-actions[bot]
6914a1cb69
Version Packages ( #3834 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-08 17:07:30 -07:00
github-actions[bot]
9969f9eeea
Version Packages ( #3697 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-25 08:26:29 -07:00
github-actions[bot]
699e01ed16
Fix namespaced active run recovery ( #2888 ) ( #2889 )
...
Co-authored-by: Casey Gowrie <casey.gowrie@vercel.com >
2026-08-24 23:20:42 +00:00
github-actions[bot]
2ced7cc05c
fix(world-postgres): throw EntityConflictError on duplicate run_created ( #2983 ) ( #2992 )
...
Signed-off-by: Joey Hotz <joeyhotz1@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-24 15:38:33 -07:00
github-actions[bot]
e0328a84dd
fix(world-postgres): make step creation atomic ( #3575 ) ( #3746 )
...
Signed-off-by: Shin <128954611+shin4141@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-24 15:31:05 -07:00
Karthik Kalyan
5fa20ea20a
Scope correlation-ID event lookups to a run ( #3762 )
...
* fix: scope correlation event lookups by run
* Update .changeset/quiet-walls-dream.md
Co-authored-by: Peter Wielander <mittgfu@gmail.com >
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com >
---------
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com >
Co-authored-by: Peter Wielander <mittgfu@gmail.com >
2026-08-24 15:01:05 -07:00
github-actions[bot]
c0a0f09ab6
Version Packages ( #3669 )
2026-08-19 16:13:09 -07:00
github-actions[bot]
0f7f498c2f
fix(world-postgres): refuse a hook resume that races the disposal ( #3645 ) ( #3663 )
...
Signed-off-by: Peter Wielander <mittgfu@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-19 13:13:31 -07:00
github-actions[bot]
328653a7a2
Version Packages ( #3223 )
2026-07-31 11:12:10 -07:00
github-actions[bot]
99d1a0ce14
Version Packages ( #3105 )
2026-07-28 17:40:43 -07:00
github-actions[bot]
b090df632b
Version Packages ( #2863 )
2026-07-22 16:22:22 +00:00
github-actions[bot]
0422a0e51b
Backport #2996 : perf(core): cache port discovery for step invocations ( #2997 )
...
Co-authored-by: Joey Hotz <joeyhotz1@gmail.com >
Signed-off-by: Joey Hotz <joeyhotz1@gmail.com >
Co-authored-by: Peter Wielander <peter.wielander@vercel.com >
2026-07-20 11:25:14 -07:00
github-actions[bot]
2213c91731
Backport #2732 : fix(next): respect basePath for workflow routes ( #2791 )
...
* fix(next): respect basePath for workflow routes (#2732 )
* fix(next): respect basePath for workflow routes
* docs(core): note workflow URL resolution gap
* fix(next): expose workflow health route methods
* test(utils): remove workflow route helper tests
* test(builders): remove route handler string test
* fix(next): defer basePath validation to Next.js
* refactor(utils): remove workflow url helper wrappers
* Test Next basePath builder wiring
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
* fix(backport): preserve framework route wrappers
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
---------
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
Co-authored-by: Peter Wielander <mittgfu@gmail.com >
2026-07-09 17:17:23 -07:00
github-actions[bot]
822197c886
Version Packages ( #2426 )
2026-07-06 12:23:48 -07:00
github-actions[bot]
b534da2388
Fix Postgres step lifecycle event ordering ( #2714 ) ( #2756 )
...
* Fix Postgres step start event ordering
* Document Postgres step start transaction
* Increase canary HMR e2e timeouts
* Address Postgres lifecycle review comments
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-02 12:04:14 -07:00
github-actions[bot]
50492d760c
Fix workflow Postgres enum schemas ( #2705 ) ( #2717 )
...
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-30 14:37:49 -07:00
github-actions[bot]
02c8e4d9d4
Upgrade workspace to TypeScript 6 ( #2700 ) ( #2706 )
...
* Upgrade workspace to TypeScript 6
* Restore Nest baseUrl for SWC builds
* Use empty changeset for TS6 upgrade
* Remove TS6 changeset
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
2026-06-30 10:33:13 -07:00
github-actions[bot]
92ddf7a435
fix(world-postgres): defer loopback worker startup ( #2657 ) ( #2664 )
...
Co-authored-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
2026-06-26 19:26:50 +00:00
github-actions[bot]
3eb7e97677
fix(world-postgres): rename setup command ( #2644 ) ( #2651 )
...
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-25 16:54:42 -07:00
github-actions[bot]
9fba14e409
Send occurredAt with workflow events ( #2580 ) ( #2589 )
...
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com >
2026-06-23 12:14:26 -07:00
github-actions[bot]
f9119d4b6a
fix(world-local,world-postgres): make duplicate hook_created idempotent ( #2295 ) ( #2374 )
...
Co-authored-by: Nathan Rajlich <n@n8.io >
Co-authored-by: Peter Wielander <peter.wielander@vercel.com >
Co-authored-by: Peter Wielander <mittgfu@gmail.com >
2026-06-15 15:20:32 +02:00
github-actions[bot]
48a19d948a
Version Packages ( #2352 )
2026-06-15 14:36:43 +02:00
github-actions[bot]
9c667e05c2
feat(core): add optional namespace for queue topic prefix ( #2305 ) ( #2341 )
...
* feat(core): add optional namespace for queue prefix
* fix(world-postgres): job queue prefix validation
* fix: changeset description
* fix: add world-postgres to changeset
* fix: world-postgres handle namespaced job queue names
* fix: resolve namespace via env var in core runtime
* fix: world-postgres job queue name task handler
* fix(world-postgres): honor namespace on consumer side
* Fix namespaced queue routing reliability (#2340 )
* Fix namespaced queue routing reliability
* Inline queue namespace in generated routes
* Avoid loading Vercel functions during runtime import
---------
Signed-off-by: Will Sather <56037657+willsather@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Peter Wielander <mittgfu@gmail.com >
Co-authored-by: JJ Kasper <jj@jjsweb.site >
2026-06-10 21:28:27 -07:00
github-actions[bot]
7f2050641e
Version Packages ( #2221 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-10 17:24:42 -07:00
github-actions[bot]
326d93a4ae
Backport #2012 : Expose conflicting run id on hook conflicts ( #2016 )
...
Co-authored-by: Pranay Prakash <pranay.gp@gmail.com >
Co-authored-by: Nathan Rajlich <n@n8.io >
Co-authored-by: Peter Wielander <mittgfu@gmail.com >
Co-authored-by: Peter Wielander <peter.wielander@vercel.com >
2026-06-10 17:06:26 +02:00
Pranay Prakash
b93a071796
Patch vulnerable package dependencies ( #2302 )
...
* chore: patch package dependency vulnerabilities
Signed-off-by: Pranay Prakash <pranay.gp@gmail.com >
* Prefer direct dependency upgrades for security fixes
---------
Signed-off-by: Pranay Prakash <pranay.gp@gmail.com >
2026-06-08 16:29:13 -07:00
github-actions[bot]
a5cf3d7d37
Version Packages ( #2203 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-01 18:43:37 -07:00
github-actions[bot]
8e08d823fd
Version Packages ( #2131 )
2026-05-31 11:52:52 +02:00
github-actions[bot]
b93e7c3b59
Version Packages ( #1921 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-22 13:34:26 -07:00
Pranay Prakash
096adbfd8e
Enforce per-(run, correlation) uniqueness for entity-creating events in world-postgres ( #1878 ) ( #2069 )
...
Adds a unique partial index on workflow_events(run_id, correlation_id, type)
filtered to step_created/hook_created/wait_created, and translates the
resulting unique-violation (pg code 23505, surfaced via DrizzleQueryError.cause)
into EntityConflictError. The steps table already deduped via
onConflictDoNothing, but the event row still inserted, leaving duplicate
events in the log. Now both rows are kept consistent and the runtime's
existing dedup catch path handles concurrent writers cleanly.
(cherry picked from commit 7c45e9e213 )
Co-authored-by: Nathan Rajlich <n@n8.io >
2026-05-21 16:47:25 -07:00
github-actions[bot]
be506ccbd0
[world-postgres] Bootstrap graphile-worker schema in setup CLI ( #2019 ) ( #2027 )
...
* fix(world-postgres): bootstrap graphile-worker schema in setup CLI
`workflow-postgres-setup` now installs the `graphile_worker` schema in
addition to the drizzle migrations so that by the time any consumer
calls `world.start()`, both schemas already exist. This eliminates the
inter-process race on graphile-worker's `installSchema` where
concurrent `CREATE SCHEMA IF NOT EXISTS` calls could both pass the
MVCC-snapshotted existence check and one would fail with
`duplicate key value violates unique constraint "pg_namespace_nspname_index"`.
Reproduced locally against a fresh postgres:18-alpine with 8 parallel
`makeWorkerUtils().migrate()` calls — 7/8 fail without the pre-bootstrap,
0/8 fail after running `workflow-postgres-setup` first.
* Apply suggestions from code review
---------
Signed-off-by: Peter Wielander <mittgfu@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
Co-authored-by: Nathan Rajlich <n@n8.io >
2026-05-19 22:34:06 -07:00
Pranay Prakash
a434184858
[codex] Fix stale wait replay race ( #2029 )
...
* Add sleep race replay repro tests
* Trigger CI for sleep race repro tests
* Fix stale wait replay race
* Fetch event deltas after wait completion
* Address wait replay review comments
* Address wait replay review nits
2026-05-19 22:17:07 -07:00
workflow-devkit-release-bot[bot]
2a7ead058a
Version Packages ( #1726 )
...
Co-authored-by: workflow-devkit-release-bot[bot] <workflow-devkit-release-bot[bot]@users.noreply.github.com>
2026-04-16 22:41:58 +00:00
Peter Wielander
2ece7ba25f
[core] [world] Fix community world E2E tests broken by specVersion bump ( #1658 )
...
Signed-off-by: Peter Wielander <mittgfu@gmail.com >
2026-04-16 22:15:34 +00:00
workflow-devkit-release-bot[bot]
4e435e0332
Version Packages ( #1621 )
2026-04-07 16:53:33 -07:00
Peter Wielander
c81bbc9564
[core] [world] Gate CBOR queue transport on specVersion ( #1627 )
2026-04-07 11:18:42 -07:00
Peter Wielander
7e70d1823a
[core] Add configurable stream flush interval per world ( #1533 )
2026-04-06 12:38:01 -07:00
Peter Wielander
c8dce52606
[core] [world] Lazy run creation on start ( #1537 )
2026-04-06 12:25:23 -07:00
workflow-devkit-release-bot[bot]
29fe9ded57
Version Packages (beta) ( #1600 )
2026-04-03 17:05:54 -07:00
workflow-devkit-release-bot[bot]
45fd831b1d
Version Packages (beta) ( #1593 )
2026-04-02 21:25:14 +00:00
Peter Wielander
ef2218ab22
[world] Use zod/v4 in queue files to match @workflow/world schemas ( #1588 )
2026-04-02 12:38:13 -07:00
workflow-devkit-release-bot[bot]
8462c5df89
Version Packages (beta) ( #1563 )
2026-04-01 16:08:49 -07:00
Peter Wielander
a98f8de53f
[core] Combine initial run fetch, event fetch, and run_started event creation ( #1569 )
2026-04-01 14:23:29 -07:00
Peter Wielander
329cdb3e1b
[world] Re-enqueue active runs on world restart ( #1534 )
2026-03-30 13:48:09 -07:00
workflow-devkit-release-bot[bot]
91ba457764
Version Packages (beta) ( #1550 )
2026-03-30 13:42:22 -07:00
workflow-devkit-release-bot[bot]
e11eebf1e5
Version Packages (beta) ( #1514 )
2026-03-27 11:17:22 -07:00
Nathan Colosimo
e045b59dc4
[world-postgres] Add maxPoolSize config for graphile ( #1527 )
...
Co-authored-by: Peter Wielander <mittgfu@gmail.com >
2026-03-26 16:09:08 -07:00