Topics
A topic is a line of work in a project, such as page, api or runners. Every job belongs to one topic.
Why topics exist
- Each topic has its own runner and its own branch, so different topics build at the same time without stepping on each other. Why: one queue in a single line is slow; jobs in different areas rarely touch the same files.
- Within a topic, jobs build one at a time, in list order. Why: jobs in the same area often change the same files, and one at a time means each starts from the last one's finished work.
- Each topic merges on its own, when it's ready and its merge rule allows (see Merging).
Coming later: topics you define
Planned, not yet built: you define the project's topics in settings, each with a name and a one-line description. A new job with no topic is put in the best fit by AI (marked "auto"), or in general if nothing fits. You can change a job's topic until it starts building; after that it's locked, because its work is already on that topic's branch. A topic can be retired only when it has no open jobs.
Source: event sourcing design, section 2.5.