What a batch does
1
One commit for all of them
The batch reads which commit the branch is at, once. Every task starts from that commit.
2
Each task, alone
Each task is a run with its own page, cost and verdict. Four work at a time unless you say otherwise, and the rest wait their turn.
3
All of them, together
One more run applies the verified changes, in the order of the tasks, onto the commit they started from, and runs the tests on the result. It calls no model, so it costs computer time only.
4
Pull requests
Each pull request says how its change did alone and with the rest.
Start a batch
- Dashboard
- Terminal
- Definition
- Python
- Chat
Open Runs, click New run and pick A task. Write one task on each line. With a repository connected, several lines are several tasks, and the form asks for the repository, the branch, the pull requests, how many work at once and what each task and all of them may cost. Start says how many tasks it starts.When the lines are one task’s detail, click Make it one task.The dashboard takes up to 100 tasks.
Tasks given when it is started
A saved batch does not have to list its tasks. It can name the input field that holds them, and take a new list on every run:this-week.yaml holds changes: and the list. The field is one field of the batch’s own input, and it is a list. A list given this way is read like a written one: 1 to 200 entries, each text, each up to 4,000 characters. A run with an empty list, or with an entry that is not text, is not started.
A batch as a step
A batch can be one step of a run with steps: one step lists the changes, the batch makes them and checks them together, and a later step reads the pull requests. The step passes the list through the batch’s input, as above. From the tracker to pull requests is a whole definition that does this on a schedule.Options
When the total is reached, the tasks still working are stopped and none is started. What verified is kept, checked together and delivered.
Pull requests
A batch opens its own pull requests, on branches of its own. In the API,
policy.branch and policy.pr are refused for a batch.
What “together” finds
When the tests fail on the merged result, the batch looks for the change that breaks it, leaves that change out and tests the rest again. It runs the tests up to 8 times for this. If it does not find the change in that many, it says the changes merge and that the reason the tests fail was not found.

A batch’s status
In the Runs list a batch is one row, with how many of its tasks verified. Its page lists every task with its verdict alone, how it fits with the rest, its cost and its pull request. Click a task to open its own run.

Check again
After you merge some of the pull requests, or the branch moves, the rest may no longer fit. Check again on the batch’s page runs the together step once more, on the changes that are not merged yet, against the branch as it is now. Changes that are already in the branch are left out.b.check_again(). In chat, batch_check. A batch started with together off cannot be checked again.
Limits
A batch counts as one run towards the runs an account may have queued or running, whatever its tasks.
A batch cannot list
tools, use a browser or have steps inside it. Each task is a change to the repository. A batch can be a step of another run; see A batch as a step.
A batch that was a step can be checked again once the run it is a step of has finished.