Skip to content

Commit 994ea7c

Browse files
committed
Update the docs to reflect the new tags limit of 5 (up from 3)
1 parent 09413a6 commit 994ea7c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/v3-openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ components:
15101510
description: |
15111511
Tags to attach to the run. Tags can be used to filter runs in the dashboard and using the SDK.
15121512
1513-
You can set up to 3 tags per run, they must be less than 64 characters each.
1513+
You can set up to 5 tags per run, they must be less than 64 characters each.
15141514
15151515
We recommend prefixing tags with a namespace using an underscore or colon, like `user_1234567` or `org:9876543`. Stripe uses underscores.
15161516
items:
@@ -1719,7 +1719,7 @@ components:
17191719
example: ["user_5df987al13", "org_c6b7dycmxw"]
17201720
items:
17211721
type: string
1722-
description: A tag must be between 1 and 64 characters, a run can have up to 3 tags attached to it.
1722+
description: A tag must be between 1 and 64 characters, a run can have up to 5 tags attached to it.
17231723
costInCents:
17241724
type: number
17251725
example: 0.00292
@@ -1913,7 +1913,7 @@ components:
19131913
example: ["user_5df987al13", "org_c6b7dycmxw"]
19141914
items:
19151915
type: string
1916-
description: A tag must be between 1 and 64 characters, a run can have up to 3 tags attached to it.
1916+
description: A tag must be between 1 and 64 characters, a run can have up to 5 tags attached to it.
19171917
costInCents:
19181918
type: number
19191919
example: 0.00292

docs/v3/tags.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Tags allow you to easily filter runs in the dashboard and when usi
55

66
## What are tags?
77

8-
We support up to 3 tags per run. Each one must be a string between 1 and 64 characters long.
8+
We support up to 5 tags per run. Each one must be a string between 1 and 64 characters long.
99

1010
We recommend prefixing your tags with their type and then an underscore or colon. For example, `user_123456` or `video:123`.
1111

@@ -75,7 +75,7 @@ export const myTask = task({
7575
});
7676
```
7777

78-
Reminder: you can only have up to 3 tags per run. If you call `tags.add()` and the total number of tags will be more than 3 we log an error and ignore the new tags. That includes tags from triggering and from inside the run function.
78+
Reminder: you can only have up to 5 tags per run. If you call `tags.add()` and the total number of tags will be more than 5 we log an error and ignore the new tags. That includes tags from triggering and from inside the run function.
7979

8080
### Propagating tags to child runs
8181

packages/trigger-sdk/src/v3/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export type TaskRunOptions = {
445445
/**
446446
* Tags to attach to the run. Tags can be used to filter runs in the dashboard and using the SDK.
447447
*
448-
* You can set up to 3 tags per run, they must be less than 64 characters each.
448+
* You can set up to 5 tags per run, they must be less than 64 characters each.
449449
*
450450
* We recommend prefixing tags with a namespace using an underscore or colon, like `user_1234567` or `org:9876543`.
451451
*

0 commit comments

Comments
 (0)