We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
These calls don't actually update the metadata of the root run. The same calls work not inside a class.
metadata
import { metadata } from '@trigger.dev/sdk/v3'; export class DummyClass { async doSomethingAsync() { metadata.root.set('dummy1-async', 'foo'); metadata.root.set('dummy2-async', 'bar'); metadata.root.set('dummy3-async', 123); } doSomethingSync() { metadata.root.set('dummy4-sync', 'baz'); metadata.root.set('dummy5-sync', 456); } }
There's a reproduction repo here: https://github.com/Yoshify/trigger-repro-app/blob/main/src/trigger/example.ts
Thanks to @Yoshify for this repro
TRI-5140
These calls don't actually update the
metadataof the root run. The same calls work not inside a class.There's a reproduction repo here: https://github.com/Yoshify/trigger-repro-app/blob/main/src/trigger/example.ts
Thanks to @Yoshify for this repro
TRI-5140