cargo test or npm test.
Set it
Set it in Settings › Project or in the project’s menu, or from a terminal:check or test target, cargo check --all-targets, the typecheck and test scripts in package.json, go test ./... or pytest.
- Use it saves it and checks the turn that prompted the offer.
- Edit… lets you change the command first.
- Don’t ask stops the offer for that project.
When it runs
It runs after each turn that edits files. The transcript shows each run. When it fails, the tail of the output goes back to the agent, up to three times in a row. After that, the failure is left to you. A check still running after 10 minutes is stopped and counts as failed. To run it yourself in the current environment:It does not stall your computer
Checks run one at a time across all sessions, at low priority, with half the cores for builds (CARGO_BUILD_JOBS). Several agents finishing together don’t slow the machine down.
In a sandboxed project the check runs in the agent’s sandbox, or not at all.