Coding agents burned 10% of time on sleep-polling; this team rebuilt the harness to fix it

RishabJainK · x · 2026-11-25

Rishab Jain's team found that over 11 days, 10% of their coding agents' time went to sleep 30 polling—each poll costing a shell command plus a model turn. Their fix, built into the harness: PR checks run in the background on a commit snapshot so the agent keeps working, and agents register a wait and get notified on completion instead of polling, resuming exactly once to read results. Before/after diagrams show sleep loops eating 10% of shell time drop to zero polling turns.

Original post →

More from coding & agent

coding & agent channel →