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
bug(critical): Multiple Trail background processes causing excessive CPU usage #833
changed the title [-]Multiple Trail background processes causing excessive CPU usage[/-][+]bug: Multiple Trail background processes causing excessive CPU usage[/+]on Nov 16, 2026
changed the title [-]bug: Multiple Trail background processes causing excessive CPU usage[/-][+]bug(critical): Multiple Trail background processes causing excessive CPU usage[/+]on Nov 16, 2026
Picked this up. On current main, the #346 guards already stop sequential recursion; what still storms is the concurrent case — N sessions starting in the same millisecond all read the stale check-window, all write, all pass the re-read, all spawn. Draft fix: an exclusive claim file (wx + a 10-minute stale takeover) taken before the spawn, in #859. Happy to adjust if you would rather see a different mechanism (OS lock, or serializing through the existing context lock).
Activity
[-]Multiple Trail background processes causing excessive CPU usage[/-][+]bug: Multiple Trail background processes causing excessive CPU usage[/+][-]bug: Multiple Trail background processes causing excessive CPU usage[/-][+]bug(critical): Multiple Trail background processes causing excessive CPU usage[/+]hr1juldey commentedon Nov 18, 2026
Picked this up. On current main, the #346 guards already stop sequential recursion; what still storms is the concurrent case — N sessions starting in the same millisecond all read the stale check-window, all write, all pass the re-read, all spawn. Draft fix: an exclusive claim file (wx + a 10-minute stale takeover) taken before the spawn, in #859. Happy to adjust if you would rather see a different mechanism (OS lock, or serializing through the existing context lock).
fix(upkeep): one background helper per window, not one per process (t…
fix(upkeep): one background helper per window, not one per process (t…