Commit Graph

5277 Commits

Author SHA1 Message Date
Eric Allam cacd13b1ab build extensions can now install custom packages and run instructions in the image. Also prisma extension now works and also works with multiple schema files 2024-08-22 14:31:32 +01:00
Eric Allam 97fce66253 Support for external deps that need node-gyp to build 2024-08-22 14:31:32 +01:00
Eric Allam ac222106b2 Improve and unify the indexing between dev and deploy 2024-08-22 14:31:32 +01:00
Eric Allam 61d9fd3384 Better warning messages 2024-08-22 14:31:32 +01:00
Eric Allam 4c215973dd Fixed the heartbeating 2024-08-22 14:31:32 +01:00
Eric Allam 5d6488e197 support for waits and better flushing & process cleanup 2024-08-22 14:31:32 +01:00
Eric Allam 36b6f66467 deployed tasks running and executing 🎉 2024-08-22 14:31:32 +01:00
Eric Allam 6cabc8da5f deploy run executions WIP, extracted TaskRunProcess into 1 place 2024-08-22 14:31:32 +01:00
Eric Allam cc8eb34e10 seed tasks with the machine preset if listed in the config 2024-08-22 14:31:32 +01:00
Eric Allam a7fa91f1d8 WIP bun support 2024-08-22 14:31:32 +01:00
Eric Allam 41a046cf1c WIP bun runtime 2024-08-22 14:31:32 +01:00
Eric Allam e1370134e3 improve the syncEnvVars output and adapt resolveEnvVars 2024-08-22 14:31:32 +01:00
Eric Allam 059f1887f7 deployment WIP 2024-08-22 14:31:32 +01:00
Eric Allam 104301a104 Adding package preview release 2024-08-22 14:31:32 +01:00
Eric Allam ffebbb81ae auto-upgrade config to non-deprecated alternatives 2024-08-22 14:31:32 +01:00
Eric Allam de69e72373 worker manifest now has the config path 2024-08-22 14:31:32 +01:00
Eric Allam 8caebdce88 Fixed timeout 2024-08-22 14:31:32 +01:00
Eric Allam d109300492 support for cjs and esm javascript 2024-08-22 14:31:32 +01:00
Eric Allam 6dea6e1c7d provide worker files as part of the worker creation on the server 2024-08-22 14:31:32 +01:00
Eric Allam 2b85d53028 debugging achieved internally 2024-08-22 14:31:32 +01:00
Eric Allam 510ed6b728 Get instrumentation to work with openai 2024-08-22 14:31:32 +01:00
Eric Allam 7130e305fd dev runs working 2024-08-22 14:31:32 +01:00
Eric Allam 6bf65838af Move indexing to it’s own entry point, simplify code 2024-08-22 14:31:32 +01:00
Eric Allam e37d8d4085 centralize dev logging using event emitter 2024-08-22 14:31:32 +01:00
Eric Allam ff9013bf01 getting closer to executing dev runs... 2024-08-22 14:31:32 +01:00
Eric Allam de81f046b2 Indexing of the v3 catalog 2024-08-22 14:31:32 +01:00
Eric Allam 98046c58ae bringing back the background worker stuff 2024-08-22 14:31:32 +01:00
Eric Allam 5bc482e3bc cleaned up some repetition and structure of the entry point stuff 2024-08-22 14:31:32 +01:00
Eric Allam f0898714ae dev command WIP 2024-08-22 14:31:32 +01:00
Eric Allam ab3a642d39 using package-json-from-dist to get package version now in core and cli 2024-08-22 14:31:32 +01:00
Eric Allam a2eb896218 cli now building and loadable 2024-08-22 14:31:32 +01:00
Eric Allam 1125d61bdc Fix up some of the commands 2024-08-22 14:31:32 +01:00
Eric Allam 7caba3a02f move core-apps to core/v3/apps, remove core-apps, start converting cli-v3 2024-08-22 14:31:32 +01:00
Eric Allam 4febab49cd Removed hono 2024-08-22 14:31:32 +01:00
Eric Allam e6c8b459e6 convert @trigger.dev/sdk to tshy 2024-08-22 14:31:32 +01:00
Eric Allam cc7a438c51 move core-backend code into core subpath export 2024-08-22 14:31:32 +01:00
Eric Allam b2852ab283 Fixed core test 2024-08-22 14:31:32 +01:00
Eric Allam d6ca192760 Switch from jest to vitest in @trigger.dev/core 2024-08-22 14:31:32 +01:00
Eric Allam cadf66c746 convert @trigger.dev/core to tshy 2024-08-22 14:31:32 +01:00
Eric Allam 8b9caeea7c use the npm yalt package in the webapp 2024-08-22 14:31:32 +01:00
Eric Allam 835c9cb671 remove more v2 code and run pnpm install 2024-08-22 14:31:32 +01:00
Eric Allam d71925fe27 remove v2 only packages, will be moved to a dedicated repo 2024-08-22 14:31:32 +01:00
Eric Allam 3eb1678710 upgrade @opentelemetry packages to the latest versions 2024-08-22 14:31:32 +01:00
James Ritchie 2cd8658190 If an org has been deleted, show a ☠️ icon on the admin page 2024-08-22 13:15:00 +01:00
James Ritchie e5895424db Added a link to a Next.js example in the docs 2024-08-21 15:58:18 +01:00
Matt Aitken a724a6fa01 Added Task index parentId 2024-08-21 15:54:23 +01:00
Matt Aitken ba7bbdbbdb Dashboard query improvements (#1266)
* Remove run count from JobPresenter

* Remove job/integration counts from org/projects query

* Removed v2 counts from ProjectPresenter query

* JobRun index idx_jobrun_organizationId_createdAt

* JobRun index idx_jobrun_versionId

* BatchTaskRunItem index taskRunAttemptId

* BatchTaskRunItem index taskRunId
2024-08-21 15:49:18 +01:00
Matt Aitken 7746302b51 Run failed alerts (#1262)
* Add new ProjectAlertType ‘TASK_RUN’ and then migrate channels to it

* WIP new alerts for run failures

* Consolidate failed run status into taskStatus.ts

* Added the read replica into BaseService, could be useful

* Send task run alerts code

* Revert "Added the read replica into BaseService, could be useful"

This reverts commit cc2348a40254ea3f9e11c0feaf303ecd8794433a.

* Allow adding task run alerts in the UI

* Use task run alert not attempt alert…

* Use the primary
2024-08-21 14:53:48 +01:00
Matt Aitken 6558e5f8eb Fix for permanently frozen tasks when at max concurrency
Heartbeats now free up concurrency for paused/frozen runs, then they don’t get crashed but get acked by the sharedQueueConsumer
2024-08-21 11:37:02 +01:00
Matt Aitken 9f07df8abc Don’t nack in requeueTaskRun if it’s WAITING_TO_RESUME or PAUSED 2024-08-20 19:00:29 +01:00