How to tell a slow test suite from a stuck coding agent
When the agent goes quiet, check the test process’s own output. The last test line, its timestamp, and the exit status tell you where to look.
Your agent starts the browser tests after loading the test environment. The transcript freezes. A few minutes later the job says the command stalled. Before you rerun the suite or edit the test, find a second source of evidence. Did the test process go quiet too, or did its output stop reaching the agent?
Look at the test output first
- The last completed test keeps changing. The suite is progressing. Check how the shell tool forwards output before increasing the job timeout.
- The same test is the last line. Check that test’s setup, teardown, and any service it is waiting for. Try the single test with output visible before spending another run on the full suite.
- The process has exited. Use its exit code and the final output. Those can tell you whether the suite passed, failed, or was stopped.
For Playwright, the list reporter gives you a separate line for each test. For a diagnostic run, use your repository’s usual Playwright command with --reporter=list. Playwright’s reporter guide
When a run simply says it stalled, save the last test output and when it appeared. That gives you something specific to investigate.
How Autop recovered the progress signal
An Autop review-fix job was stopped at its five-minute inactivity cutoff. The runner’s wrapper kept writing progress to disk while the agent’s shell tool waited. The watchdog recognized a single wrapped command, but this shell invocation had a setup step before the test command. The check was still making progress when the watchdog stopped it.
Autop’s fix lets the watchdog follow the wrapper’s progress marker when a supported shell setup sequence ends with the test command. The inactivity limit still applies when it sees no usable progress.