RunJob
@forge/monorepo / backend/src / RunJob
Type Alias: RunJob
RunJob =
object
Defined in: backend/src/worker/main.ts:23
A unit of work off the queue. Mirrors the dispatcher's enqueueRun input.
The trace fields (#143) are optional and unused by the runtime itself — instrumentConsumer reads them. They
live on this type rather than on a parallel one so the consumer seam stays a single shape; a second type would
mean an adapter deciding which to produce.
Properties
enqueuedAt?
readonlyoptionalenqueuedAt?:string
Defined in: backend/src/worker/main.ts:27
runId
readonlyrunId:RunId
Defined in: backend/src/worker/main.ts:25
tenantId
readonlytenantId:TenantId
Defined in: backend/src/worker/main.ts:24
traceparent?
readonlyoptionaltraceparent?:string
Defined in: backend/src/worker/main.ts:26