You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Audit sleep-polling-loop detector misses the most common form, sleep 30s #522
The sleep-polling-loop audit detector flags long sleep calls (busy-waiting), but its regex
silently drops the explicit-seconds form sleep 30s. The unit alternation omits s, and the
trailing \b then fails on the trailing s (both 0 and s are word characters), so the entire match fails rather than falling back to the bare number.
Run an audit over a transcript containing sleep 30s (or sleep 45s). The detector does not
fire, even though the duration is at/above the 30s threshold.
Activity
Abhi-DevHub commentedon Jul 21, 2026
Taking this — regex fix plus test incoming.