Out-of-process script soft deadline includes pipe round trip and worker scheduling delay #827
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during #811. The worker's soft deadline (= seam run budget) starts at submit, so a starved worker process under load reports "script timed out" for trivial scripts; in Shadow mode that appears as a script mismatch and skews the census used to decide the OutOfProcess flip (#780). The in-process guard excludes thread-pool starvation. Decide whether to start the clock when the worker begins the evaluation (and report queue/transport delay separately). Also audit the other ScriptWorker tests for tight deadlines under load.
Fixed (merge of fix/827-worker-deadline). Pushed to master in
d1b6cad2. The soft deadline is the worker's clock from run start (negotiated in Hello/Ready); late soft notices cancel and count the timeout; host transport deadline T+G and progress ceilingkilled_unresponsive= 3×max(T+G) + silence limit; timeouts metric taggedanswer=stalled|retrigger. Windows suspend path untested: #842.