| 146 | 146 | | #[derive(Clone, Debug, Default, Serialize, Deserialize)] |
| 147 | 147 | | #[serde(rename_all = "camelCase")] |
| 148 | 148 | | pub struct RunnerSettings { |
| 149 | | − | /// Agent runs, checks, reviews and the merge queue run on self-hosted |
| 150 | | − | /// runners with `agent_labels`, instead of g1t's sandboxes. |
| 149 | + | /// g1t's own work (checks, merge checks and the merge queue) runs on |
| 150 | + | /// self-hosted runners with `agent_labels`, instead of g1t's sandboxes. |
| 151 | + | /// The names are kept from when that work included agent runs. |
| 151 | 152 | | pub agents_on_self_hosted: bool, |
| 152 | | − | /// The labels a runner needs to take agent work; `self-hosted` is |
| 153 | + | /// The labels a runner needs to take g1t's own work; `self-hosted` is |
| 153 | 154 | | /// always one. |
| 154 | 155 | | pub agent_labels: Vec<String>, |
| 155 | 156 | | /// Jobs of pull requests from forks may run on self-hosted runners. |
| ⋯ |
| 469 | 470 | | pub cloud_jobs: Vec<CloudJob>, |
| 470 | 471 | | /// Workflow jobs queued for g1t's sandboxes. |
| 471 | 472 | | pub cloud_jobs_queued: u32, |
| 472 | | − | /// Agent work on, or waiting for, the workspace's own runners. |
| 473 | + | /// g1t's own work (checks, merge checks, the merge queue) on, or waiting |
| 474 | + | /// for, the workspace's own runners. |
| 473 | 475 | | pub handed_over: Vec<HandedOverTask>, |
| 474 | 476 | | /// Workflow jobs waiting for one of the workspace's own runners. |
| 475 | 477 | | pub self_hosted_jobs_queued: u32, |