Skip to content

Commit 0ebd79e

Browse files
committed
Removed the inline-code accessory from the logs when calling trigger or batchTrigger from a run
1 parent d74783c commit 0ebd79e

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

.changeset/three-olives-love.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
Removed the inline-code accessory from the logs when calling trigger or batchTrigger from a run

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -805,15 +805,6 @@ async function trigger_internal<TPayload, TOutput>(
805805
[SEMATTRS_MESSAGING_OPERATION]: "publish",
806806
["messaging.client_id"]: taskContext.worker?.id,
807807
[SEMATTRS_MESSAGING_SYSTEM]: "trigger.dev",
808-
...accessoryAttributes({
809-
items: [
810-
{
811-
text: id,
812-
variant: "normal",
813-
},
814-
],
815-
style: "codepath",
816-
}),
817808
},
818809
onResponseBody: (body, span) => {
819810
body &&
@@ -877,15 +868,6 @@ async function batchTrigger_internal<TPayload, TOutput>(
877868
[SEMATTRS_MESSAGING_OPERATION]: "publish",
878869
["messaging.client_id"]: taskContext.worker?.id,
879870
[SEMATTRS_MESSAGING_SYSTEM]: "trigger.dev",
880-
...accessoryAttributes({
881-
items: [
882-
{
883-
text: id,
884-
variant: "normal",
885-
},
886-
],
887-
style: "codepath",
888-
}),
889871
},
890872
...requestOptions,
891873
}

0 commit comments

Comments
 (0)