[Bug]: t3 code drains battery on mac in idle when Cursor provider is on
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
Not sure if I did something. I'm on version 0.0.24 now.
I installed the thing a while ago but never used it. I have Codex, Cursor, and OpenCode enabled. I also have another Codex instance added with a different shadow home, but it is not authorized.
I did add one local directory as a project, but have no threads.
The last thing I did was connect to my PC's T3 code instance over HTTP. It was yesterday evening, and I left my macbook overnight on the charger. I woke up, and my macbook is charged but warm; that is unusual. And Activity monitor shows it drained like a lot of battery.
It did try to do the same thing the last time I authorized providers and left the thing idle, but I closed it quickly, and didn't bother with report.
Now, I'm not sure if there is somewhere to search for logs or something, or is there something more I can provide.
My macbook cooled down significantly after I closed t3 code just while I was finishing the issue.
Expected behavior
Normal resource usage
Actual behavior
My macbook is fucking hot while app is sitting idle
Impact
Major degradation or frequent failure
Version or commit
0.0.24
Environment
MacOS 26.3, desktop app, codex-cli 0.132.0, opencode 1.15.6, cursor agent cli 2026.05.01-eea359f
Logs or stack traces
Screenshots, recordings, or supporting files
CleanShot 2026-05-21 at 10.31.03.png
Workaround
Disabling Cursor provider helps, as people mentioned in the replies.
@bielarusajed I also had this issue. I (temporarily) solved it by simply disabling Cursor in Settings > Providers. Reference where someone pointed out the clue to this: https://github.com/pingdotgg/t3code/issues/2646#issuecomment-4434495589
yeah disabling cursor works. the issue is still present when cursor is enabled.
i'm on m2 pro, macos tahoe 26.4.1
Same issue, many times in idle I see 3-4 cursor's agent command running and coming up with at least 300% CPU usage in htop. Disabling Cursor integration fixes the issue.
MacBook Pro M4, macOS Tahoe 26.3.1 (a)
Disabled Cursor provider on mine too, helped a lot. Thanks, @jhack0x!
Same issue. Had codex monitor the app processes and figured out what caused it:
"T3 Code idle threads repeatedly spawn cursor-agent processes from cwd
~/; each runsrg --files --follow --max-depth 16, causing periodic multi-core CPU spikes."
Looks like even if no threads are active, T3 code for some reason is running the process. Worst part is, with the app open, even if the macbook is sleeping/locked it'll still run these several processes every few minutes and it gets stuck indexing basically the whole filesystem inside the home directory.
Fixed by #2428 (shipped in v0.0.25): the per-model background capability probes that kept respawning cursor-agent processes (the rg --files scans from ~/ you tracked down) were replaced with a single cursor/list_available_models call. The sibling report #2646 was closed when it merged — closing this one too. If idle drain persists on ≥0.0.25, comment and we'll reopen.