github-actions[bot]
bb1f0a711a
Release 4.0.0-v4-beta.21 ( #2149 )
...
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 4s
🚀 Publish Trigger.dev Docker / publish-webapp (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-worker (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-worker-v4 (push) Has been skipped
🚀 Publish Trigger.dev Docker / units (push) Failing after 3s
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.21
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-06-06 10:50:28 +01:00
Eric Allam
2b3ea692fe
v4: dequeue performance improvements (split concurrency from dequeue) ( #2127 )
...
* WIP
* Run queue now works with the worker queue / master queue split
* Acking should also cause the master queue to be processed
* Convert run engine tests and run engine to use runQueue changes
* Include the util files in the test tsconfig
* coordinator target should be es2020 as well
* providers target 2020
* Fix the triggerTask tests in the webapp
* v4 now working with the new worker queues, and added the legacy master queue migration stuff
* report worker queue lengths via opentelemetry metrics
* Adding lock metrics
* Release concurrency bucket metrics
* • Updated RunQueue.removeEnvironmentQueuesFromMasterQueue() method signature to take runtimeEnvironmentId instead of masterQueue parameter
• Added automatic master queue shard calculation using this.keys.masterQueueKeyForEnvironment(runtimeEnvironmentId, this.shardCount)
• Updated RunEngine wrapper method to use new runtimeEnvironmentId parameter
• Updated DeleteProjectService to call the method once per environment instead of once per master queue
• Simplified API by encapsulating master queue sharding logic within RunQueue class
* metrics now working, configure the run queue settings, additional metrics for run engine and redis-worker
* Fix CodeRabbit suggestions
* return undefined from dequeueFromWorkerQueue, not null
* Remove message from worker queue in certain circumstances when acking
* Update log
* Ensure master queue consumers cannot stop from a processing error, and make the consumer interval configurable via an env var
* Change how the run queue master queue consumers are disabled internally
* Fixed tests
* process the queue on nack
* Fix more tests
* Fix priority tests
* Fixed dequeueing test
2025-06-04 17:18:46 +01:00
github-actions[bot]
a2a5204ac5
chore: Update version for release (v4-beta) ( #2144 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.20
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Aitken <matt@mattaitken.com >
2025-06-03 13:40:04 +01:00
github-actions[bot]
01e7ef3d04
chore: Update version for release (v4-beta) ( #2110 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-02 15:21:16 +01:00
nicktrn
7c791dd519
Improve unit test workflow performance ( #2096 )
...
* shard unit tests
* temp enable for all pushes
* fix test workflow
* update to latest vitest and only add to root package.json
* additionally use default reporter
* gather reports before uploading
* split up slow replication tests
* split up unit tests workflow
* move workflows to parent dir
* use new paths in parent workflow
* prevent artifact clashes
* we always need to create the reports dir
* speed up merge reports
* gather reports even when tests fail
* fix artifact patterns
* increase shards
* disable push trigger again
* improve dequeue snapshot test reliability
2025-05-23 12:22:14 +01:00
github-actions[bot]
cf3735976e
Release 4.0.0-v4-beta.18 ( #2095 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.18
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-05-22 21:59:11 +01:00
github-actions[bot]
0f928e224b
Release 4.0.0-v4-beta.17 ( #2071 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.17
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-05-22 19:51:18 +01:00
github-actions[bot]
2ae0e22d81
Release 4.0.0-v4-beta.16 ( #2053 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.16
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-05-14 16:26:28 +01:00
github-actions[bot]
0661ee5fdd
Release 4.0.0-v4-beta.15 ( #2040 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.15
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-05-14 12:33:37 +01:00
github-actions[bot]
6736cb5ae9
Release 4.0.0-v4-beta.14 ( #2029 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.14
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Aitken <matt@mattaitken.com >
2025-05-08 11:12:25 +01:00
github-actions[bot]
8da3043111
Release 4.0.0-v4-beta.13 ( #2027 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.13
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-05-07 15:10:50 +01:00
github-actions[bot]
7b509849e9
chore: Update version for release (v4-beta) ( #1996 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.12
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eric Allam <eallam@icloud.com >
2025-05-03 21:26:12 +01:00
github-actions[bot]
525285da7f
chore: Update version for release (v4-beta) ( #1994 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.11
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Aitken <matt@mattaitken.com >
2025-04-29 16:48:57 +01:00
github-actions[bot]
5691480dac
Release 4.0.0-v4-beta.10 ( #1984 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.10
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-04-28 13:34:34 +01:00
github-actions[bot]
60fcf5fdac
Release 4.0.0-v4-beta.9 ( #1980 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.9
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-04-25 12:43:32 +01:00
Matt Aitken
672a6b8be7
RedisWorker clean up orphaned items when dequeuing ( #1975 )
...
* Remove setting the invisibility timeout because it’s already done in the dequeue Lua script
* Remove orphaned queue items when dequeuing
* Added an ack to the visibility timeout test
2025-04-24 11:15:42 +01:00
github-actions[bot]
56ec0523b5
Release 4.0.0-v4-beta.8 ( #1972 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.8
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-04-23 19:30:49 +01:00
github-actions[bot]
cfb77159d7
Release 4.0.0-v4-beta.7 ( #1954 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.7
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-04-23 13:34:26 +01:00
Matt Aitken
e379fc15be
Fix redis worker debounce ( #1966 )
...
* Added some Redis worker debounce tests (one failing that reproduces a bug)
* Added some tests for acking
* Added a deduplicationKey to prevent acking when items are queued
* The worker passes the deduplicationKey back in for acking
* Improved logs and removed events from test
2025-04-22 15:24:39 +01:00
github-actions[bot]
64ca9dc9a8
Release 4.0.0-v4-beta.6 ( #1951 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.6
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-04-18 16:50:22 +01:00
github-actions[bot]
4a8303212c
Release 4.0.0-v4-beta.5 ( #1943 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.5
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Aitken <matt@mattaitken.com >
2025-04-17 17:25:07 +01:00
github-actions[bot]
59eea654ac
Release 4.0.0-v4-beta.4 ( #1939 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.4
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Aitken <matt@mattaitken.com >
2025-04-17 17:05:52 +01:00
github-actions[bot]
543540581d
Release 4.0.0-v4-beta.3 ( #1932 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.3
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-04-16 19:57:42 +01:00
github-actions[bot]
bcef9696e8
Release 4.0.0-v4-beta.2 ( #1928 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.2
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-04-15 16:19:04 +01:00
github-actions[bot]
1d920d5b3f
Release 4.0.0-v4-beta.1 ( #1916 )
...
* chore: Update version for release (v4-beta)
* Release 4.0.0-v4-beta.1
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2025-04-11 20:19:03 +01:00
github-actions[bot]
b949b5d257
chore: Update version for release (v4-beta) ( #1755 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-09 16:07:14 +01:00
nicktrn
8c3542cfd6
Small package release tweaks ( #1821 )
...
* set core version for redis-worker
* add empty changelog
2025-03-26 10:39:11 +00:00
nicktrn
49a3f72e13
Publish redis-worker and add graceful shutdown manager ( #1810 )
...
* add shutdown manager
* update ai test instructions
* add shutdown timeout to redis-worker
* move redis worker to packages
* add unregister method
* prep for publishing package
* fix types
* update ai files
* fix cursor terminal links
* prevent overly friendly ids
* use structured logger
* use unique shutdown handler names
* rework suspend completion
* add trycatch util
* rework suspend restore
* add http server metrics
* add missing prom-client to core
* add prom metrics to redis worker
* bundle redis-worker
* fix esm/cjs interop
* remove proxy from changeset ignore and add supervisor
* add pause to prerelease script for any manual edits
* unregister the correct handler and add early detection
* small change to http handler return
* fix worker tests
* fix shutdown manager tests
2025-03-21 14:53:27 +00:00