Runner · Request context & routing
Deadline handling
Carry one named deadline across admission and bounded work, then report expiry as a distinct outcome.
Workflow
- Declare time limitThe caller supplies a supported positive limit with the request.
- Validate deadlineThe Runner validates units and boundary before submission.
- Check remaining timeThe operation checks the deadline around blocking or streamed work.
- Return deadline outcomeExpiry is distinct from cancellation, unavailable and failed work; partial artifacts remain named.
- Return completed resultOnly work that reaches its normal completion boundary before expiry is complete.
Failure boundaries
- Negative timeoutValidation refusal: Correct request
- Work continues after expiryEnforcement gap: Stop claiming bound
- Expiry shown as cancelOutcome mapping error: Preserve distinction
runner.route.deadline