The second group on Settings → This Mac → General is While the room works. It covers what happens on this Mac while a run is going, and after a command a seat started in the background finishes.
Keep this Mac awake while the room works
Holds off system sleep for the length of a run, so a forty-minute build does not stop halfway because you walked away.
Where to find it. Mac only: Settings → This Mac → General → While the room works. Default: on.
How to use it.
- Tick or clear Keep this Mac awake while the room works.
- Nothing else to do. The hold starts when a run starts and ends when it ends.
When to use it. Long builds, test suites and unattended list runs.
When not to use it. On battery, if you would rather the Mac slept than finished.
What changes. On: the Mac stays awake during runs. The screen may still sleep, and closing the lid still suspends the Mac; that is macOS's decision, not the app's. Off: the Mac sleeps on its usual schedule and a run pauses with it.
Quitting the app while a run is going asks first: Keep running leaves the app open and the run going, Stop and quit ends the run and then quits.
Background Tasks
A seat can start a command that keeps running, such as a dev server or a long test job, and the lead can hand work to helpers. Both are listed under Background Tasks (Tools ▾ in the workbench): Running first, then Finished, which folds away and stays folded. Each helper is a card with its clock, Stop, its model, tokens and cost, and a count of its steps; open the count to see each step with its own clock, the finished ones folded. A step opens to its command and output. A finished helper opens to its report and its pull request. A command is one line. The trash icon clears what finished.
| Setting | Default | What it does | Change it when |
|---|---|---|---|
| Background task results in the discussion | One line | When background work finishes, the discussion carries on with its result. One line keeps what came back folded under its line, a click away. The whole message opens it in the transcript. | You want to read every result in place without clicking. |
| Keep finished background tasks | Last 50 | How many finished commands, with their last lines, stay after the app quits. Choices: Until the app quits, Last 20, Last 50, Last 100, Last 200. | You want a longer trail, or none kept between launches. |
| Show finished jobs for | 7 days | How long finished helpers and commands stay under Finished, here and in what the web and your phone are sent. Choices: 1, 3, 7 or 30 days. | The Finished list is too long, or too short. |

The web app shows the same panel in Inspect → Activity, and the iPhone under ⋯ → Background Tasks, as this Mac last reported it, with the last steps of each job. Stop there asks this Mac, which stops the job as its own Stop does. Each keeps its own Show finished jobs for.
When a helper, a command or a watcher finishes after the lead's turn has ended, the discussion is picked up; see When background work finishes.
Delegated tasks
The lead can also hand a part of the job to a discussion of its own and carry on; see Delegated tasks.
Further reading. Pro Git, Chacon and Straub, 2014, if the background job is a build or test you started from a branch.