Commit Graph

32 Commits

Author SHA1 Message Date
Eric Allam 710bcc2c47 Handle errors when calling listen and provide some log feedback 2023-02-07 14:40:59 +00:00
Eric Allam 0d2d9a043c Implement runOnce and runOnceLocalOnly functions 2023-02-03 13:50:59 +00:00
Matt Aitken c37edf970d Added workflowId and appOrigin to the @trigger.dev/sdk run metadata 2023-02-02 10:49:54 +00:00
Eric Allam e63d354144 Added isTest to the Trigger.run context param to detect when a trigger runs in from the test page 2023-01-26 09:33:04 +00:00
Eric Allam 2fd9e4fa2f Added retry options to fetch 2023-01-25 10:18:26 +00:00
Eric Allam c69c3705c5 Feature: generic fetch requests 2023-01-21 13:53:04 -08:00
Matt Aitken 92ae9bd894 Added tsconfig paths so we’re not linking to /dist folders anywhere 2023-01-21 13:32:14 -08:00
Eric Allam d3c593cdbf Added ability to timeout triggers so they don’t run too late after the event time 2023-01-20 08:40:00 -08:00
Eric Allam 7f2654884a Added some logging messages to the client, and disabled them by default 2023-01-18 18:25:52 -08:00
Eric Allam 5de2a1aec2 Fixed issue with workflow runs not completing when the run function returned undefined or null 2023-01-18 18:09:05 -08:00
Matt Aitken 30d6d544c1 Revert "Rolling up is working but all the subpackages are in their own folders in dist"
This reverts commit 89d4ce62c0.
2023-01-14 13:24:40 +00:00
Matt Aitken 89d4ce62c0 Rolling up is working but all the subpackages are in their own folders in dist 2023-01-14 12:06:33 +00:00
Matt Aitken b65954214f Moving to node 16 2023-01-12 13:22:06 +00:00
Eric Allam 6328fc3b36 Order steps by a wss supplied timestamp 2023-01-05 18:06:41 +00:00
Eric Allam f5ea64ef4f Renamed the coordinator app to wss (web socket server) 2023-01-05 16:30:02 +00:00
Eric Allam 87c781ca16 Clients can now reconnect if they lose access to the coordinator server 2023-01-05 16:19:03 +00:00
Eric Allam f00e3c8633 The host now publishes the START_WORKFLOW_RUN message so there isn’t a race condition 2023-01-05 10:39:46 +00:00
Eric Allam 48bacb0e60 Make workflow run steps idempotent 2023-01-04 13:39:28 +00:00
Eric Allam d660c581f4 Add support for durable delays (either durations or scheduled times) 2023-01-02 16:17:28 +00:00
Eric Allam 1fcc27b990 Resolve is the better name here again 2023-01-02 14:14:22 +00:00
Eric Allam ae63b49251 Initial work on the delay functionality 2023-01-02 13:41:11 +00:00
Eric Allam d5e695dcfa integration requests respond with just output 2022-12-30 19:03:14 +00:00
Eric Allam 8b7dafcf2d WIP sending/receiving requests 2022-12-29 15:29:49 +00:00
Eric Allam b9bf7033a7 Big overhaul to unify how events works across the different types
Workflow runs are still TODO but are pretty much ready to go
2022-12-23 16:34:42 +00:00
Eric Allam 234f6a00bb Add support for firing custom events in workflow runs 2022-12-20 14:47:37 +00:00
Eric Allam 15e6af4f36 Added support for log messages 2022-12-20 13:44:22 +00:00
Eric Allam d457085f7b Workflow runs, with a workflow step for output 2022-12-20 11:14:03 +00:00
Eric Allam 6bf2ac423c Got a trigger firing end-to-end 2022-12-18 21:58:40 +00:00
Eric Allam d8c22b61ef Workflows are now being registered in the webapp, along with their trigger 2022-12-15 16:41:08 +00:00
Eric Allam c1e7e80bf9 Reworked how the coordinator publishes and subscribes to messages in Pulsar 2022-12-14 14:21:16 +00:00
Eric Allam 49d35a7a34 A couple of things in here
- Improved starting and stopping pulsar locally
- Starting to explore how the connections stuff in workflows (including how the types will work)
- Authorization now returns an organization id (to properly scope the pulsar topics to a unique workflow/org pair)
- Better handling of closing host connections in the coordinator
- Upgrade all zod to 3.20
2022-12-13 14:46:08 +00:00
Eric Allam fbad4d3118 Moving the sdk and coordinator work into the monorepo 2022-12-08 13:53:35 +00:00