Skip to content

Interface: PoolSelectionContext ​

Defined in: ast/pool-selection-context.ts:7

Contextual metadata passed to a pool selection strategy during candidate resolution.

Carries the active runId, retry attempt counter, wall-clock timestamp, and any sticky candidate identifier previously bound to runId.

Properties ​

PropertyModifierTypeDescriptionDefined in
nowMsreadonlynumberCurrent wall-clock timestamp in milliseconds.ast/pool-selection-context.ts:15
poolIdreadonlystringIdentifier of the capacity pool being queried.ast/pool-selection-context.ts:9
retryAttemptreadonlynumberZero-based retry or loop escalation attempt index.ast/pool-selection-context.ts:13
runIdreadonlystringIdentifier of the active flow run requesting a candidate.ast/pool-selection-context.ts:11
stickyCandidateId?readonlystringPreviously acquired candidate identifier for run-sticky seat affinity, if any.ast/pool-selection-context.ts:17

Released under the MIT License.