PollableJob
Defined in: packages/core/src/adapters/capture-queue.ts:36
A job polled from a queue with transport metadata.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”attempts?
Section titled “attempts?”
optionalattempts?:number
Defined in: packages/core/src/adapters/capture-queue.ts:40
Number of delivery attempts already made (0 = first delivery).
buildId
Section titled “buildId”buildId:
string
Defined in: packages/core/src/adapters/capture-queue.ts:20
Inherited from
Section titled “Inherited from”leaseMs?
Section titled “leaseMs?”
optionalleaseMs?:number
Defined in: packages/core/src/adapters/capture-queue.ts:46
Lease (visibility timeout / ack deadline / lock) in ms granted at poll time. The worker renews at a fraction of this while a capture runs; absent means the transport has no renewable lease.
optionalraw?:unknown
Defined in: packages/core/src/adapters/capture-queue.ts:48
Raw transport message for debugging.
receipt?
Section titled “receipt?”
optionalreceipt?:string
Defined in: packages/core/src/adapters/capture-queue.ts:38
Transport receipt handle (SQS, Redis pop token, etc.).
reqId?
Section titled “reqId?”
optionalreqId?:string
Defined in: packages/core/src/adapters/capture-queue.ts:22
Request id used to correlate the background job with the request that queued it.
Inherited from
Section titled “Inherited from”shard?
Section titled “shard?”
optionalshard?:string
Defined in: packages/core/src/adapters/capture-queue.ts:32
capture_shards row to render. Absent on a build job, which plans the build (and, when it is
big, hands out shard jobs) or captures it whole; every transport carries it through unchanged.
Inherited from
Section titled “Inherited from”traceparent?
Section titled “traceparent?”
optionaltraceparent?:string
Defined in: packages/core/src/adapters/capture-queue.ts:27
W3C traceparent of the enqueueing request. Workers continue this trace
instead of starting a root span; absent means start a new trace.