Eric Allam
7f804f381c
middleware working and tests passing
2025-03-25 15:55:42 +00:00
Eric Allam
6ab74c47d6
implement and test handleError (now catchError)
2025-03-25 15:55:42 +00:00
Eric Allam
f84ddcd6ea
test oncomplete
2025-03-25 15:55:42 +00:00
Eric Allam
87824a8ce3
dry up some stuff
2025-03-25 15:55:42 +00:00
Eric Allam
91225da813
test on failure
2025-03-25 15:55:42 +00:00
Eric Allam
2262a42632
more tests and fixes
2025-03-25 15:55:42 +00:00
Eric Allam
ef871b0434
starting test executor
2025-03-25 15:55:42 +00:00
Eric Allam
4a8d6932c8
a couple tweaks
2025-03-25 15:55:42 +00:00
Eric Allam
307309f4f7
implement onComplete
2025-03-25 15:55:42 +00:00
Eric Allam
b974d8297d
use new onFailure
2025-03-25 15:55:42 +00:00
Eric Allam
116788912b
use new onStart
2025-03-25 15:55:42 +00:00
Eric Allam
2e6d0d8783
share the hook registration code
2025-03-25 15:55:42 +00:00
Eric Allam
2d16d664ef
Add middleware hooks
2025-03-25 15:55:42 +00:00
Eric Allam
6001dfa7de
Add middleware types
2025-03-25 15:55:42 +00:00
Eric Allam
dc6e659e94
new locals API
2025-03-25 15:55:42 +00:00
Eric Allam
e34e520057
more hooks
2025-03-25 15:55:42 +00:00
Eric Allam
597b7baaaa
adding imports
2025-03-25 15:55:42 +00:00
Eric Allam
e77e8d48d6
handleError
2025-03-25 15:55:42 +00:00
Eric Allam
aaf2ed8a20
onWait and onResume
2025-03-25 15:55:42 +00:00
Eric Allam
e816ba4382
onComplete
2025-03-25 15:55:42 +00:00
Eric Allam
06f6a04056
onStart
2025-03-25 15:55:42 +00:00
Eric Allam
be676fdb33
onFailure
2025-03-25 15:55:42 +00:00
Eric Allam
1777ff4cfb
move onStart to the new lifecycle hook system
2025-03-25 15:55:42 +00:00
Eric Allam
17e162310d
Improve init lifecycle hook types and fix tabler icons on spans
2025-03-25 15:55:42 +00:00
Eric Allam
2c44e59d07
init.ts at the root of the trigger dir is now automatically loaded
2025-03-25 15:55:42 +00:00
Eric Allam
0215a8cfa8
vibes
2025-03-25 15:55:42 +00:00
Eric Allam
f59bad9227
Revamping the lifecycle hooks, starting with init
2025-03-25 15:55:42 +00:00
Eric Allam
f46a409f0e
Fixed typescript error
2025-03-21 15:06:55 +00:00
Eric Allam
671ff26d50
Removing more exportName stuff
2025-03-21 15:06:55 +00:00
Eric Allam
109bfaca00
Remove exportName from the trigger span names
2025-03-21 15:06:55 +00:00
Eric Allam
8d514b902d
Use orderableName on the TaskQueue and add the releaseConcurrencyOnWaitpoint to the SDK and the dashboard
2025-03-21 15:06:55 +00:00
Eric Allam
bee5e75931
Fixed cli e2e tests
2025-03-21 15:06:55 +00:00
Eric Allam
cbe651e7e4
Fix useTaskTrigger queue option params and remove exportName from e2e tests
2025-03-21 15:06:24 +00:00
Eric Allam
941e03b3eb
Using the new PENDING_VERSION status now in the UI
2025-03-21 15:06:24 +00:00
Eric Allam
1bec4e1432
Getting the queues indexing to work by passing them to the create background worker request bodies
2025-03-21 15:06:24 +00:00
Eric Allam
7e411ac162
New PENDING_VERSION system which now requires queues to exist at dequeue time
2025-03-21 15:06:24 +00:00
Eric Allam
7a58439728
WIP queue indexing
2025-03-21 15:06:24 +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
Eric Allam
28b3ed0496
Implement release concurrency system
2025-03-19 17:55:29 +00:00
Eric Allam
fd9b0bf676
WIP new reacquire concurrency system
2025-03-19 17:54:47 +00:00
Matt Aitken
46eed03743
Added pause/resume functions to the SDK
2025-03-19 14:59:37 +00:00
Matt Aitken
42089a4691
Pausing individual queues working
2025-03-19 14:36:53 +00:00
Matt Aitken
c2038b51a8
Retrieving a queue is working well
2025-03-19 11:18:19 +00:00
Matt Aitken
e2da1810b8
WIP on retrieving a queue using the SDK/API
2025-03-19 11:09:16 +00:00
Matt Aitken
4ee85cbe8c
Git ignore the react hooks src/package.json
2025-03-19 11:08:56 +00:00
Matt Aitken
2b8c77d8bf
Added some JSDocs
2025-03-18 19:53:56 +00:00
Matt Aitken
714e4ecb39
Added queues.list() SDK function
2025-03-18 19:50:15 +00:00
Matt Aitken
df53715ee5
Added app version to the org setting menu
2025-03-18 13:31:20 +00:00
Erin Allison
2a51ae86a2
Suppress external instrumentations for fetch calls from ApiClient ( #1788 )
...
Signed-off-by: Erin Allison <erin@eallison.us >
Co-authored-by: Matt Aitken <matt@mattaitken.com >
2025-03-16 16:45:48 +00:00
nicktrn
7842e9dff0
Warm start and restore improvements ( #1793 )
...
* handle warm start service failure on supervisor side
* export zodfetch wrapper
* add warm start client
* rename to keepalive
* add missing warm start header
* make heartbeat and snapshot poll interval configurable
* create warm start client in constructor
* add warm start run debug log
* re-enable checkpoints and improve error messages
* reduce run pod container name cardinality
* move runner id generator into core
* fix runner id import
* log when no checkpoint client and we try to restore
* move run controller constructor to the top
* fix import
* support env overrides after restore
2025-03-14 18:37:53 +00:00