155 Commits

Author SHA1 Message Date
Vercel Release Bot 073e26a372 Version Packages (beta) (#735) 2026-01-08 19:32:27 +01:00
Peter Wielander dd3db13d54 [world] Remove pause and resume events, actions and states (#751) 2026-01-08 19:29:17 +01:00
Malte Ubl 75630fe1d8 Type check all the docs and READMEs (#715)
* Type check all the docs and READMEs

* mdx

DCO Remediation Commit for Malte Ubl <malte.ubl@gmail.com>

I, Malte Ubl <malte.ubl@gmail.com>, hereby add my Signed-off-by to this commit: f61880c883

Signed-off-by: Malte Ubl <malte.ubl@gmail.com>

* mdx2

DCO Remediation Commit for Malte Ubl <malte.ubl@gmail.com>

I, Malte Ubl <malte.ubl@gmail.com>, hereby add my Signed-off-by to this commit: 98dd484f9c38191e17a086965db02df813ec334c

Signed-off-by: Malte Ubl <malte.ubl@gmail.com>

* remove temp AI scripts and fix one docs issue

* Fix code review issue

* add empty changeset

---------

Signed-off-by: Malte Ubl <malte.ubl@gmail.com>
Co-authored-by: Pranay Prakash <pranay.gp@gmail.com>
2026-01-02 13:28:14 -08:00
Vercel Release Bot 6d7e5035a4 Version Packages (beta) (#711) 2025-12-31 10:17:49 -08:00
Vercel Release Bot b49bb4eb54 Version Packages (beta) (#707) 2025-12-30 11:01:55 +01:00
Vercel Release Bot e6b1bef5bb Version Packages (beta) (#693) 2025-12-27 12:40:09 -08:00
Vercel Release Bot 96a4d3a2fd Version Packages (beta) (#676)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-24 09:51:14 -08:00
Vercel Release Bot 560dda3014 Version Packages (beta) (#660) 2025-12-20 10:58:29 +01:00
Vercel Release Bot b4132d0895 Version Packages (beta) (#635) 2025-12-18 20:07:06 +01:00
Peter Wielander 712f6f86b1 [worlds] [runtime] Change serialized stream ID gen from v4 UUIDs to ULIDs and fix stream list endpoint (#625) 2025-12-17 20:44:34 +01:00
Vercel Release Bot fc6a32d6dc Version Packages (beta) (#607) 2025-12-16 21:05:18 +01:00
Vercel Release Bot 7018f490e6 Version Packages (beta) (#589)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-12 18:11:25 -08:00
Vercel Release Bot 76795b0cd0 Version Packages (beta) (#561) 2025-12-09 09:26:51 -08:00
Peter Wielander c82b46720c [world] Add Streamer.listByRunId method to list all streams for a run (#574) 2025-12-08 16:05:44 -08:00
Vercel Release Bot 6194ded51b Version Packages (beta) (#533) 2025-12-05 15:24:04 -08:00
Peter Wielander 57a2c328ca [world] Add expiredAt attribute to Run (#515) 2025-12-04 12:05:58 -08:00
Vercel Release Bot 9916f2a4a6 Version Packages (beta) (#447)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-02 10:12:48 -08:00
Peter Wielander 8d4562e856 [world-local] Finish renaming embedded world to local world (#441) 2025-12-02 09:12:40 -08:00
Gal Schlezinger ef8e0e52ab world-postgres: poll faster in pg-boss (#463)
---------

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
2025-11-30 09:45:40 -08:00
Vercel Release Bot 87ad24b3b6 Version Packages (beta) (#416) 2025-11-26 19:55:04 -08:00
Vercel Release Bot e5c0380bbd Version Packages (beta) (#396) 2025-11-24 14:25:39 -08:00
Gal Schlezinger 10ce313d56 postgres: fix tests (#394)
* postgres: use non-deprecated drizzle signatures

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

* postgres: store metadata in the hook

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

* core: do not rely on module cache for world config. instead, use a global and a symbol.

this makes sure that streamers can use in-memory event emitters and that it won't be compiled away into the different flow.js and step.js files.

this was figured out when i was adding a hooks tests to world-testing.

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

* add postgres world to all workbench packages

we try to run them with the postgres world but it's not installed

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

* Replace jsonb with cbor because zero byte does not work in jsonb :(

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

* fix error handling: attempts start at 0 now, and not 1 like when we released. so initial attempt in postgres should reflect that.

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

* drain stuff

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

* fallback metadata to metadataJson

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

* Make code more readable

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

* apply Vade fix

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>

---------

Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>
2025-11-23 11:05:20 -08:00
Vercel Release Bot 7a230a9ad1 Version Packages (beta) (#387)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-22 07:32:12 -08:00
Vercel Release Bot 29892a0f93 Version Packages (beta) (#369) 2025-11-19 11:15:09 -08:00
Nathan Rajlich 3d99d6d38d Update @vercel/oidc and @vercel/queue to fix expired OIDC token edge case (#368) 2025-11-19 11:13:15 -08:00
Pranay Prakash 5afc66eaaa Add e2e tests for postgres world (#356)
* Add e2e tests for postgres world

* Add e2e tests for postgres world

- Add new e2e-local-postgres job to test all workbenches against postgres world
- Configure PostgreSQL service container in GitHub Actions
- Update world-postgres build script to chmod +x the setup.js bin
- Use direct path to setup script in CI for reliability
- Tests run in production mode similar to e2e-local-prod tests
2025-11-17 18:28:00 -08:00
Vercel Release Bot f1b734129a Version Packages (beta) (#354) 2025-11-17 14:19:24 -08:00
Peter Wielander 4b70739b50 Core: require specifying runId when writing to stream (#232) 2025-11-17 08:56:42 -08:00
Vercel Release Bot c78bec37b0 Version Packages (beta) (#308)
Signed-off-by: Nathan Rajlich <n@n8.io>
2025-11-16 00:31:36 -08:00
JJ Kasper b97b6bfaba Lock all dependencies in our packages (#318)
* Lock all dependencies in our packages

* fix type

* add savePrefix config

* add changeset
2025-11-12 14:26:01 -08:00
Nathan Rajlich 79480f2e25 Clean up Hook entities after a workflow run has completed (#311) 2025-11-12 10:42:21 -08:00
Adrian 281292cdd8 fix: world-postgres tests (#314)
* fix: world-postgres db:push script

* fix: test truncating wrong table names
2025-11-12 10:05:11 -08:00
Paul-Henri Leobon 5790cb2d5d World postgres drizzle migrator (#312)
* Use drizzle migrator

Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>

* Changeset

Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>

---------

Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>
2025-11-12 09:10:47 -08:00
Paul-Henri Leobon a6f554579f World postgres minor fixes (#306)
* Update migration

Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>

* Use schema + respect params

Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>

* Changeset

Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>

---------

Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>
2025-11-12 08:59:47 -08:00
Pranay Prakash 00b0bb9346 Proper error stack propogating (#280)
* Proper stacktrace propogation in world

Proper stacktrace propogation in world

* Merge Reconciliation

* Standardize the error type in the world spec

* Deduplicate vercel world utils

* fix undefined type issue

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-11-11 15:34:04 -08:00
Vercel Release Bot 70429e499c Version Packages (beta) (#275) 2025-11-11 11:59:23 -08:00
Vercel Release Bot 7bad9d454f Version Packages (beta) (#230) 2025-11-07 16:39:45 -08:00
Vercel Release Bot f368cd34a5 Version Packages (beta) (#206) 2025-11-05 09:40:03 -08:00
Peter Wielander 0ce3197d02 Disable postgres world tests running in win32, fix container setup for ubuntu (#215) 2025-11-04 18:27:08 -08:00
Sree Narayanan 8a82ec5334 fix: postgres world storage edgecases (re-open of PR #135) (#208)
* fixes query failing on undefined runid

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>

* fixes startedAt being undefined on resume

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>

* tests for storage contract

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>

* added changeset

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>

---------

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>
2025-11-04 14:12:36 -08:00
Copilot 4a821fce7c Fix Windows support by normalizing path separators in workflow IDs (#150)
---------

Signed-off-by: Nathan Rajlich <n@n8.io>
Co-authored-by: Nathan Rajlich <n@n8.io>
2025-11-04 12:13:45 -08:00
Vercel Release Bot 79df3799a3 Version Packages (beta) (#193)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-04 11:15:36 -08:00
Pranay Prakash fb4c3f83a3 Revert "World-postgres: allow steps.get in world-postgres to handle undefined…" (#195)
This reverts commit f856031514.
2025-11-03 14:00:53 -08:00
Sree Narayanan f856031514 World-postgres: allow steps.get in world-postgres to handle undefined runId (#135) 2025-11-03 13:57:18 -08:00
Vercel Release Bot 3c111c5ca6 Version Packages (beta) (#174)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-03 12:51:53 -08:00
Pranay Prakash f973954bd3 Switching from MIT to Apache + DCO (#191)
* Switching from MIT to Apache + DCO

* Add DCO github app
2025-11-03 12:42:40 -08:00
Vercel Release Bot 7bf7a3b026 Version Packages (beta) (#141)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-30 17:45:26 -07:00
Nathan Rajlich 20d51f0d7f Add optional retryAfter property to Step interface (#142) 2025-10-30 13:39:00 -07:00
Peter Wielander 8f63385ddd Improve docs for world-postgres and web (#145) 2025-10-30 10:34:11 -07:00
Karthik Kalyanaraman 3dd25deede feat(@workflow/world-postgres): implemented a script for setting up the required tables (#57) 2025-10-30 10:10:50 -07:00