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
saadi
7d65aa9299
Describe the MCP server feature in the readme
2025-03-11 19:17:46 +01:00
saadi
603c903fbe
Add MCP tool to list all available tasks and enable fuzzy task matching
...
This enables LLMs to figure out which task you are referring to, without needing to specify the full task ID
2025-03-11 18:34:17 +01:00
saadi
2e2632d5cc
Add new MCP tool to list the logs for a run
...
This enables some basic level of debugging capabilities in combinatio with the other MCP tools
2025-03-11 16:20:56 +01:00
saadi
b6b25b05f5
Add MCP tool to cancel task runs
2025-03-11 15:11:54 +01:00
saadi
9cd6d40acc
Shut down the MCP server when the dev session stops
2025-03-11 14:53:55 +01:00
saadi
2e7b1a7b1c
Make the MCP server port configurable via a flag in the dev command
2025-03-11 14:47:11 +01:00
saadi
af3af9ca17
Add MCP tool to get a single run
...
This can be used in combination with the trigger-task tool from LLMs to show details about the run after triggering the task.
2025-03-11 14:33:51 +01:00
saadi
1d7224d2ee
Add MCP tool to list runs
2025-03-11 14:22:42 +01:00
saadi
ce3e49b4e3
Enable passing custom payload in the trigger-task MCP tool
2025-03-11 14:05:07 +01:00
saadi
e00afc1332
Use the v2 run engine by default in the SDK API client
...
V2 is the way to go for the future.
2025-03-11 12:58:11 +01:00