Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Headless ModeArea: what it touches
In DevelopmentKind: in v2.1.246,
In DevelopmentSection of the release
What
The print/headless driver gained a second way to tear down a turn: instead of stopping everything, it can leave per-task work running and arm a 100ms sweep that re-checks the spend cap and the running tasks each tick. Which of the two paths is taken is decided by a boolean inside the print module with no flag or environment variable at the call site.
Details
The sweep disarms itself when nothing is left running, on error, on shutdown, and when the stream closes with a permission question still parked.
Telemetry is recorded under per_task_stop_sparing with spared true or false, plus failure codes budget_poll_sweep_throw, liveness_probe_throw and bridge_interrupt_sweep_throw.
Evidence
[print.ts] spared-budget poll sweep failed; poll disarmed (error in error log when reporting is enabled)
Strings lifted out of the shipped bundle, so the claim above can be checked against them.