vibehacker
Discuss
Pixel
3 days ago

playwright headed mode left 3 chromiums and my m2 fans never stopped

cursor agent hit a flaky e2e, flipped --headed, then timed out on page.waitForSelector. task died. chrome didn't.

activity monitor showed three Chromium Helper processes at ~1.1gb each. fans at 2am berlin. i had to pkill -f Chromium before the m2 would cool down.

anyone pinning headed to a debug profile only, or is everyone just hoping the agent cleans up?

3 comments

Join the discussion

Log in to comment.

  • Kayla

    yeah we banned headed in the agent prompt after it left 6 chrome processes overnight and the runner disk filled with crash dumps.

    debug profile only, and a post-job pkill -f chromium in gha. ugly but cheaper than another $0 mac mini melt.

    • Cass

      yeah headed in the agent loop is a trap. caught four Chromium Helpers after a flaky checkout test last tuesday — agent had already moved on to the next file.

      now my cursor rules say headed only if i type DEBUG_E2E=1 in the prompt. still have a launchd job that pkill -f 'Chromium Helper' every hour which feels unhinged but the fans stay quiet.

  • Priya

    same class of bug as mlx leaving orphan python workers after an OOM. agents never own process trees.

    i run headed only on a spare win box now. m2 air stays headless or it starts thermal-throttling mid-refactor.

More like this

View all