Commit Graph

45 Commits

Author SHA1 Message Date
Eric Allam 51f9bc9d72 Added handy links to the SDK when logging information about the workflows 2023-02-24 13:15:49 +00:00
Matt Aitken 3cd4f2fb9f Merge remote-tracking branch 'origin/dev' into features/new-integrations
# Conflicts:
#	apps/webapp/app/env.server.ts
#	apps/webapp/app/models/integrations.server.ts
#	apps/webapp/app/models/organizationTemplatePresenter.server.ts
#	apps/webapp/app/models/templateListPresenter.server.ts
#	apps/webapp/app/models/templatePresenter.server.ts
#	apps/webapp/app/models/workflowListPresenter.server.ts
#	apps/webapp/app/models/workflowStartPresenter.server.ts
#	apps/webapp/app/models/workflowsPresenter.server.ts
#	apps/webapp/app/routes/__app/orgs/$organizationSlug/__org/index.tsx
#	apps/webapp/app/routes/__app/orgs/$organizationSlug/__org/workflows.new.tsx
#	pnpm-lock.yaml
2023-02-20 12:10:50 +00:00
Matt Aitken caac573a64 Added version and made response schema optional for SDK requests 2023-02-14 12:35:24 +00:00
Eric Allam 030844d905 Live update created org templates using SSE and useRevalidator. Updated remix to v1.10.1 2023-02-13 14:12:17 +00:00
Eric Allam 0d2d9a043c Implement runOnce and runOnceLocalOnly functions 2023-02-03 13:50:59 +00:00
Eric Allam 0e4ec8d8e6 Added views and view submission support to Slack integration 2023-02-02 16:18:32 +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
Matt Aitken 9c313e8aef Changeset version: Bundling common-schemas into @trigger.dev/sdk 2023-01-20 17:28:13 -08:00
Matt Aitken b124747ba1 Create version @trigger.dev/common-schemas@0.1.0 2023-01-20 14:48:31 -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 6966ad0f55 Increase ioThreads and messageListenerThreads (and turned off batching) to pulsar clients 2023-01-18 19:04:31 -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
Eric Allam a6b17753e1 internal-pulsar now only exports topics 2023-01-13 10:51:52 +00:00
Eric Allam 099b5a011d Add more logging to wss and no longer close a socket with more than 123 bytes 2023-01-12 17:11:11 +00:00
Matt Aitken b65954214f Moving to node 16 2023-01-12 13:22:06 +00:00
Matt Aitken 8dc3ace6c1 Add node-fetch 2023-01-12 12:15:08 +00:00
Eric Allam 0ce546d023 Improved initializing pulsar clients in the webapp 2023-01-10 09:59:54 +00:00
Eric Allam a9292342a4 Fixed issue with workflow disconnections now working 2023-01-09 10:11:26 +00:00
Eric Allam e77f259fb1 Improvements to pulsar topics and structure
- Centralized the pulsar client creation and topics to internal-pulsar
- Cleaned up the pulsar message catalogs and split triggers and run command responses
- Improved the naming of the task queue
- Figured out how to use the pulsar client with the hosted version of Pulsar
2023-01-06 19:36:38 +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 03f6c32051 Fixed some issues with disconnected runs and started the renaming process 2023-01-05 11:07:45 +00:00
Eric Allam 17683d2377 Workflow runs can now be interrupted and retried 2023-01-04 15:26:15 +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 8967d5e216 “Resolve” is a better word for that message, and postMessage response schema is always success 2023-01-02 11:50:15 +00:00
Eric Allam d5e695dcfa integration requests respond with just output 2022-12-30 19:03:14 +00:00
Eric Allam 8908d44206 Getting slack/chat.postMessage to work
- Added ability for integrations to cache values
- Integrations now determine if a request is retryable
- Retried requests are now scheduled with a delay
2022-12-30 15:58:43 +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 67612a8e0c Registering webhooks with existing connections (and github only) 2022-12-21 16:56:32 +00:00
Eric Allam 234f6a00bb Add support for firing custom events in workflow runs 2022-12-20 14:47:37 +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 a0bb1a235c Moves pulsar back into the docker compose file
Pulsar now starts/stops when running docker:db
2022-12-16 16:21:20 +00:00
Eric Allam 36090aea80 Triggering workflows from custom events 2022-12-16 14:28:49 +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 afc35caea6 Restructured internal-messages into internal-platform, to be used in the webapp 2022-12-14 15:58:42 +00:00