Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/popular-mails-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@trigger.dev/sdk": patch
---

Fixed the missing icons in trigger spans
8 changes: 8 additions & 0 deletions packages/trigger-sdk/src/v3/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,9 @@ export async function batchTriggerByIdAndWait<TTask extends AnyTask>(
},
{
kind: SpanKind.PRODUCER,
attributes: {
[SemanticInternalAttributes.STYLE_ICON]: "trigger",
},
}
);
}
Expand Down Expand Up @@ -1146,6 +1149,9 @@ export async function batchTriggerAndWaitTasks<TTasks extends readonly AnyTask[]
},
{
kind: SpanKind.PRODUCER,
attributes: {
[SemanticInternalAttributes.STYLE_ICON]: "trigger",
},
}
);
}
Expand Down Expand Up @@ -1351,6 +1357,7 @@ async function triggerAndWait_internal<TIdentifier extends string, TPayload, TOu
{
kind: SpanKind.PRODUCER,
attributes: {
[SemanticInternalAttributes.STYLE_ICON]: "trigger",
...accessoryAttributes({
items: [
{
Expand Down Expand Up @@ -1445,6 +1452,7 @@ async function batchTriggerAndWait_internal<TIdentifier extends string, TPayload
{
kind: SpanKind.PRODUCER,
attributes: {
[SemanticInternalAttributes.STYLE_ICON]: "trigger",
...accessoryAttributes({
items: [
{
Expand Down
Loading