Commit Graph

  • 5f48b9c7f9 Fix worker deployment engine version (#1820) nicktrn 2025-03-26 10:22:13 +00:00
  • 82251e21f2 Merge pull request #1817 from triggerdotdev/revamped-lifecycle-hooks Eric Allam 2025-03-25 16:46:34 +00:00
  • 6d5d10a45a Support other init file names Eric Allam 2025-03-25 16:33:12 +00:00
  • 1def8d06c2 Use allSettled so onWait/onResume errors don't break anything Eric Allam 2025-03-25 16:32:17 +00:00
  • e745fcb663 Remove console.log Eric Allam 2025-03-25 15:58:50 +00:00
  • 887c5cac5c Add changeset Eric Allam 2025-03-25 15:56:55 +00:00
  • 268c9f6898 implement onWait/onResume Eric Allam 2025-03-25 14:24:16 +00:00
  • 3ca5985277 Hooks now all use the new types, and adding some spans Eric Allam 2025-03-25 13:53:53 +00:00
  • df9cad6667 Get it all working Eric Allam 2025-03-25 12:52:54 +00:00
  • ba520fcdd8 Make sure and register all the config hooks Eric Allam 2025-03-25 11:55:54 +00:00
  • 23ae77afff handle max duration timeout errors better Eric Allam 2025-03-25 11:49:21 +00:00
  • 30705fd59b implement cleanup Eric Allam 2025-03-25 11:30:10 +00:00
  • d0a5c16c63 Add cleanup hook Eric Allam 2025-03-25 11:22:11 +00:00
  • 6ba2b0476b more tests Eric Allam 2025-03-25 11:18:27 +00:00
  • 5edbb77dfe use tryCatch in TaskExecutor Eric Allam 2025-03-25 11:05:45 +00:00
  • 7f804f381c middleware working and tests passing Eric Allam 2025-03-25 10:58:16 +00:00
  • 6ab74c47d6 implement and test handleError (now catchError) Eric Allam 2025-03-24 22:44:43 +00:00
  • f84ddcd6ea test oncomplete Eric Allam 2025-03-24 22:09:11 +00:00
  • 87824a8ce3 dry up some stuff Eric Allam 2025-03-24 22:06:48 +00:00
  • 91225da813 test on failure Eric Allam 2025-03-24 22:00:33 +00:00
  • 2262a42632 more tests and fixes Eric Allam 2025-03-24 21:56:57 +00:00
  • ef871b0434 starting test executor Eric Allam 2025-03-24 18:11:07 +00:00
  • 4a8d6932c8 a couple tweaks Eric Allam 2025-03-24 17:49:00 +00:00
  • 307309f4f7 implement onComplete Eric Allam 2025-03-24 17:46:53 +00:00
  • b974d8297d use new onFailure Eric Allam 2025-03-24 17:43:21 +00:00
  • 116788912b use new onStart Eric Allam 2025-03-24 17:42:24 +00:00
  • 2e6d0d8783 share the hook registration code Eric Allam 2025-03-24 17:04:08 +00:00
  • 2d16d664ef Add middleware hooks Eric Allam 2025-03-24 16:59:54 +00:00
  • 6001dfa7de Add middleware types Eric Allam 2025-03-24 16:01:19 +00:00
  • dc6e659e94 new locals API Eric Allam 2025-03-24 15:55:00 +00:00
  • e34e520057 more hooks Eric Allam 2025-03-23 07:12:01 +00:00
  • 597b7baaaa adding imports Eric Allam 2025-03-22 15:51:22 +00:00
  • e77e8d48d6 handleError Eric Allam 2025-03-22 15:50:59 +00:00
  • aaf2ed8a20 onWait and onResume Eric Allam 2025-03-22 15:47:59 +00:00
  • e816ba4382 onComplete Eric Allam 2025-03-22 08:12:17 +00:00
  • 06f6a04056 onStart Eric Allam 2025-03-22 08:08:31 +00:00
  • be676fdb33 onFailure Eric Allam 2025-03-22 08:05:59 +00:00
  • 1777ff4cfb move onStart to the new lifecycle hook system Eric Allam 2025-03-21 21:59:47 +00:00
  • 17e162310d Improve init lifecycle hook types and fix tabler icons on spans Eric Allam 2025-03-21 21:30:55 +00:00
  • 2c44e59d07 init.ts at the root of the trigger dir is now automatically loaded Eric Allam 2025-03-21 20:47:01 +00:00
  • 0215a8cfa8 vibes Eric Allam 2025-03-21 20:35:02 +00:00
  • f59bad9227 Revamping the lifecycle hooks, starting with init Eric Allam 2025-03-21 17:46:15 +00:00
  • 2ef60ce51f Side menu: style fixes, small improvements and better Info Panel component props (#1816) James Ritchie 2025-03-24 14:44:08 +00:00
  • c4e1364cf9 Merge pull request #1808 from triggerdotdev/re2-queue-indexing Eric Allam 2025-03-21 16:09:15 +00:00
  • 8bcc549c50 skip unit tests when using build tag build-re2.rc0 nicktrn 2025-03-21 15:55:22 +00:00
  • f1d5886c11 Another attempt at getting CI to pass tests Eric Allam 2025-03-21 15:50:51 +00:00
  • b72b7c2c52 Fixed typechecks Eric Allam 2025-03-21 15:22:53 +00:00
  • f46a409f0e Fixed typescript error Eric Allam 2025-03-21 15:03:54 +00:00
  • 5a725675d3 Fix the unit tests CI action Eric Allam 2025-03-21 14:46:44 +00:00
  • 671ff26d50 Removing more exportName stuff Eric Allam 2025-03-21 14:40:56 +00:00
  • 109bfaca00 Remove exportName from the trigger span names Eric Allam 2025-03-21 14:18:52 +00:00
  • b65f2256e0 Tasks are indexed even if you don't export them 🤩 Eric Allam 2025-03-21 14:16:52 +00:00
  • c87ff2c634 Various fixes for no longer having the exportName Eric Allam 2025-03-21 14:12:35 +00:00
  • 233a22d59e Move runs sidebar menu item below tasks and alerts into the manage section Eric Allam 2025-03-21 14:06:08 +00:00
  • e53eed1753 Fixed the types on pauseQueue service Eric Allam 2025-03-21 13:50:07 +00:00
  • ad08756001 Run tests sequentially in CI, and pass "--run" to vitest to disable watch mode Eric Allam 2025-03-21 13:42:17 +00:00
  • 8d514b902d Use orderableName on the TaskQueue and add the releaseConcurrencyOnWaitpoint to the SDK and the dashboard Eric Allam 2025-03-21 13:34:38 +00:00
  • f58dee1aa1 Fix the task run status reason UI Eric Allam 2025-03-21 13:20:01 +00:00
  • de5e0c8e8b try to fix flaky tests Eric Allam 2025-03-21 13:06:01 +00:00
  • bee5e75931 Fixed cli e2e tests Eric Allam 2025-03-21 12:44:35 +00:00
  • f4a1eb1914 Fixed changesets and added one Eric Allam 2025-03-21 12:26:13 +00:00
  • 02eeefd647 Increase maxRetriesPerRequest in CI Eric Allam 2025-03-21 12:23:33 +00:00
  • cbe651e7e4 Fix useTaskTrigger queue option params and remove exportName from e2e tests Eric Allam 2025-03-21 12:20:44 +00:00
  • 941e03b3eb Using the new PENDING_VERSION status now in the UI Eric Allam 2025-03-20 22:56:59 +00:00
  • 1bec4e1432 Getting the queues indexing to work by passing them to the create background worker request bodies Eric Allam 2025-03-20 16:59:47 +00:00
  • 7e411ac162 New PENDING_VERSION system which now requires queues to exist at dequeue time Eric Allam 2025-03-20 15:07:19 +00:00
  • 7a58439728 WIP queue indexing Eric Allam 2025-03-20 10:59:25 +00:00
  • 49a3f72e13 Publish redis-worker and add graceful shutdown manager (#1810) nicktrn 2025-03-21 14:53:27 +00:00
  • adca1997af Added turborepo and prisma docs (#1807) Dan 2025-03-20 17:29:06 +00:00
  • 1eb3fb34e1 Enhance RunTag parsing with robust key-value tag splitting (#1782) Niels 2025-03-20 14:19:26 +01:00
  • a8b3c7003f Merge pull request #1804 from triggerdotdev/re2-reserve-concurrency Eric Allam 2025-03-19 18:01:01 +00:00
  • 38e1887495 Fixed failing redis worker tests Eric Allam 2025-03-19 17:36:03 +00:00
  • e5ea9cb2d7 move the release concurrency queue into the release concurrency system, make it disabled by default, configure the run engine in the webapp with env vars Eric Allam 2025-03-19 16:51:04 +00:00
  • 28b3ed0496 Implement release concurrency system Eric Allam 2025-03-19 16:29:09 +00:00
  • 7eaf81abbe Use releaserId in case we don't end up using run IDs Eric Allam 2025-03-18 21:53:24 +00:00
  • f9c7e95981 Added updated execution states chart and updated readme Eric Allam 2025-03-18 17:28:26 +00:00
  • b170a62671 fixed the create checkpoint valid snapshot logic Eric Allam 2025-03-18 17:26:13 +00:00
  • e7c8f94447 implement the QUEUED_EXECUTING dequeuing, and creating a checkpoint while the run is in QUEUED_EXECUTING state by saving the EXECUTING_WITH_WAITPOINTS snapshotId as the previousSnapshotId on the QUEUED_EXECUTING snapshot Eric Allam 2025-03-18 16:58:15 +00:00
  • 29371e950b Implement checkpoint tests, handle dequeuing QUEUED_EXECUTING runs Eric Allam 2025-03-18 15:59:36 +00:00
  • 42fb5d05ff Fix more tests Eric Allam 2025-03-17 22:25:57 +00:00
  • 67d74f066c More tests passing, fixed the heartbeat issue Eric Allam 2025-03-17 22:23:26 +00:00
  • 7866e95636 waiting for worker system Eric Allam 2025-03-17 17:41:42 +00:00
  • a4581f1597 ttl system Eric Allam 2025-03-17 17:36:51 +00:00
  • 363f0668b5 Delayed run system Eric Allam 2025-03-17 17:31:08 +00:00
  • 63b43ff357 more system work Eric Allam 2025-03-17 17:22:33 +00:00
  • 717cec879b move startRunAttempt to RunAttemptSystem Eric Allam 2025-03-17 16:08:19 +00:00
  • 1b61b95c57 WIP run engine systems Eric Allam 2025-03-17 15:59:20 +00:00
  • 7d11e827d9 Remove reserve concurrency system from run engine Eric Allam 2025-03-17 14:15:23 +00:00
  • 8c66ec3189 Remove reserve concurrency system from run queue Eric Allam 2025-03-17 13:40:06 +00:00
  • 063651c7b8 Upgrade vitest in the run-engine package Eric Allam 2025-03-17 13:12:26 +00:00
  • 2048b72288 go to QUEUE_EXECUTING state if reacquiring concurrency doesn't work Eric Allam 2025-03-15 09:05:05 +00:00
  • 61c0834aae Implement reserve concurrency clearing when the child run is acked Eric Allam 2025-03-14 16:45:15 +00:00
  • fd9b0bf676 WIP new reacquire concurrency system Eric Allam 2025-03-14 16:13:09 +00:00
  • cf3b23862e remove project and task current concurrency tracking Eric Allam 2025-03-14 13:30:08 +00:00
  • de9e296551 Add configuration for the release concurrency queue Eric Allam 2025-03-14 10:37:47 +00:00
  • cce402dfe7 If max tokens is 0, then don't do releasings Eric Allam 2025-03-14 09:29:30 +00:00
  • b7ddf20d62 Correctly use the new release concurrency queue in the run engine Eric Allam 2025-03-13 22:45:58 +00:00
  • bf41703dfd improve the consumer of the concurrency queue Eric Allam 2025-03-13 22:27:42 +00:00
  • c8b99728b9 Get all the release concurrency queue tests passing Eric Allam 2025-03-13 22:16:54 +00:00
  • d11d491215 WIP release concurrency queue Eric Allam 2025-03-13 22:04:22 +00:00