You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adds new features table to top of v4 upgrade guide
* Adds wait idempotency to wait-until, wait-for, and wait-for-token pages
* Adds new priority docs page and updates the v4 upgrade guide
* Adds new task lifecycle hooks
* Removes the message about requiring tasks to be exported
* Adds new global lifecycle hooks section
* Moves sections from upgrade guide into the table
* Adds hidden task page
* Improves the global lifecycle hooks section
* Updates middleware and locals section
* Adds new useWaitToken page to the react hooks section
* Adds a new ai.tool section
* Moves Docker (legacy) page into self-hosting section
* Removes known issues from v4 upgrade guide
* Replace “toolTask” with “ai.tool” in the Streams page example
* Renames guide to “Migrating from v3” and adds redirect
* Remove references to v4
* Removes changelog from migration guide
* The installation guide now references `@latest update`
* Changes all references from `/sdk/v3` to `/sdk`
* Updates @v4-beta to @latest
* Fixed broken link
* Fixes broken link
* Adds an upgrade to v4 using AI section
* Fixes 2 broken links
* Adds an entry for targetting preview branches
* Updates the run statuses
* Adds boolean helpers section to the runs and realtime pages
* Updates the concurrency page
* Updates the test page to include the new options
* Adds SDK and curl options for the preview branch targeting
* Updates new bulk actions page
* Remove the releasing concurrency section
* Got rid of some more @v4-beta mentions
* Improved rate limit docs
* Improved migrating docs
* Removed commented sections of the docs
* useWaitToken hook
* Fixed the description
* Fix for missing test image
---------
Co-authored-by: Matt Aitken <[email protected]>
Co-authored-by: Dan <[email protected]>
Copy file name to clipboardExpand all lines: docs/bulk-actions.mdx
+25-16Lines changed: 25 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,10 @@ title: "Bulk actions"
3
3
description: "Perform actions like replay and cancel on multiple runs at once."
4
4
---
5
5
6
-
Bulk actions allow you to perform operations like replaying or canceling on multiple runs at once. This is especially useful when you need to retry a batch of failed runs with a new version of your code, or when you need to cancel multiple in-progress runs.
7
-
8
-
## Bulk replaying
9
-
10
-
You can replay multiple runs at once by selecting them from the table on the Runs page using the checkbox on the left hand side of the row. Then click the "Replay runs" button from the bulk action bar that appears at the bottom of the screen.
11
-
12
-
This is especially useful if you have lots of failed runs and want to run them all again. To do this, first filter the runs by the status you want, then select all the runs you want to replay and click the "Replay runs" button from the bulk action bar at the bottom of the page.
6
+
Bulk actions allow you to perform replaying and canceling on multiple runs at once. This is especially useful when you need to retry a batch of failed runs with a new version of your code, or when you need to cancel multiple in-progress runs.
<Iconicon="circle-2"iconType="solid"color="#FF2D6B"size="20" /> Filter the runs table to show the runs you want to bulk action
27
+
28
+
<Iconicon="circle-3"iconType="solid"color="#FF2D6B"size="20" /> Alternatively, you can select individual runs
29
+
30
+
<Iconicon="circle-4"iconType="solid"color="#FF2D6B"size="20" /> Choose the runs you want to bulk action
31
+
32
+
<Iconicon="circle-5"iconType="solid"color="#FF2D6B"size="20" /> Name your bulk action (optional)
33
+
34
+
<Iconicon="circle-6"iconType="solid"color="#FF2D6B"size="20" /> Choose the action you want to perform, replay or cancel
35
+
36
+
<Iconicon="circle-7"iconType="solid"color="#FF2D6B"size="20" /> Click the "Replay" or "Cancel" button and confirm in the dialog
26
37
27
-
Similar to replaying multiple runs, you can cancel multiple runs at once. This is particularly useful when you have a batch of runs that you want to stop, perhaps because they were triggered with incorrect parameters or are no longer needed.
<Iconicon="circle-8"iconType="solid"color="#FF2D6B"size="20" /> You'll now view the bulk action processing from the bulk action page
30
41
31
-
1. Filter the runs table to show the runs you want to cancel (e.g., all runs with status "QUEUED" or "EXECUTING")
32
-
2. Use the checkboxes on the left side of the runs table to select the runs you want to cancel
33
-
3. Click the "Cancel runs" button in the bulk action bar that appears at the bottom of the screen
42
+
<Iconicon="circle-9"iconType="solid"color="#FF2D6B"size="20" /> You can replay or view the runs from this page
34
43
35
-
After confirming, all selected runs that can be canceled (those in appropriate states like QUEUED or EXECUTING) will be canceled. The status of these runs will change to "CANCELED" and they will not be resumed.
Copy file name to clipboardExpand all lines: docs/config/config-file.mdx
+16-21Lines changed: 16 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ import NodeVersions from "/snippets/node-versions.mdx";
11
11
The `trigger.config.ts` file is used to configure your Trigger.dev project. It is a TypeScript file at the root of your project that exports a default configuration object. Here's an example:
@@ -66,7 +66,7 @@ If you omit the `dirs` option, we will automatically detect directories that are
66
66
We will search for TypeScript and JavaScript files in the specified directories and include them in the build process. We automatically exclude files that have `.test` or `.spec` in the name, but you can customize this by specifying glob patterns in the `ignorePatterns` option:
Make sure to set the `AXIOM_API_TOKEN` and `AXIOM_DATASET` environment variables in your project.
190
190
191
-
<Note>
192
-
The `logExporters` option is available in the v4 beta SDK. See our [v4 upgrade
193
-
guide](/upgrade-to-v4) for more information.
194
-
</Note>
195
-
196
191
It's important to note that you cannot configure exporters using `OTEL_*` environment variables, as they would conflict with our internal telemetry. Instead you should configure the exporters via passing in arguments to the `OTLPTraceExporter` and `OTLPLogExporter` constructors. For example, here is how you can configure exporting to Honeycomb:
We currently only officially support the `node` runtime, but you can try our experimental `bun` runtime by setting the `runtime` option in your config file:
@@ -342,7 +337,7 @@ When a package is excluded from the bundle, it will be added to a dynamically ge
342
337
Each entry in the external should be a package name, not necessarily the import path. For example, if you want to exclude the `ai` package, but you are importing `ai/rsc`, you should just include `ai` in the `external` array:
This allows you to include additional packages in the build that are not automatically included via imports. This is useful if you want to install a package that includes a CLI tool that you want to invoke in your tasks via `exec`. We will try to automatically resolve the version of the package but you can specify the version by using the `@` symbol:
0 commit comments