diff --git a/.github/CONTEXT.md b/.github/CONTEXT.md index ce05aeb4e..4169da5c2 100644 --- a/.github/CONTEXT.md +++ b/.github/CONTEXT.md @@ -74,14 +74,14 @@ _Avoid_: lint, selector guard, path-filter lint **Light job**: A job that runs acceptably on a GitHub-hosted standard runner. -ADR 0002 planned to run light jobs on GitHub-hosted standard runners. +ADR 0005 planned to run light jobs on GitHub-hosted standard runners. Because ADR 0004 superseded that plan, being light no longer decides where a job runs. Being light does not decide when a job runs: a light job can be a gate check. _Avoid_: small job, cheap job **Heavy job**: A job that needs a larger machine than a GitHub-hosted standard runner. -ADR 0002 planned to run heavy jobs on a self-provisioned cloud runner instead. +ADR 0005 planned to run heavy jobs on a self-provisioned cloud runner instead. Because ADR 0004 superseded that plan, being heavy no longer decides where a job runs. Being heavy does not decide when a job runs: a heavy job can be a push check. _Avoid_: big job, 16-core job @@ -99,8 +99,8 @@ _Avoid_: like-for-like replacement, migration The trigger paths of a check decide whether the check runs at all. Being a push check or a gate check decides when the check runs. - Being a light job or a heavy job is a third, separate property. - Under ADR 0002, that property decided where a check runs. - ADR 0004 superseded the plan in ADR 0002. + Under ADR 0005, that property decided where a check runs. + ADR 0004 superseded the plan in ADR 0005. - For example, the fuzz regression replay is a light job and a gate check. - Mutation testing is expensive but important. So mutation testing only runs after the design and implementation of a change are settled. diff --git a/docs/adr/0003-expensive-ci-checks-run-in-merge-queues-on-main-and-next.md b/docs/adr/0003-expensive-ci-checks-run-in-merge-queues-on-main-and-next.md index 06477abba..b51eb16c8 100644 --- a/docs/adr/0003-expensive-ci-checks-run-in-merge-queues-on-main-and-next.md +++ b/docs/adr/0003-expensive-ci-checks-run-in-merge-queues-on-main-and-next.md @@ -18,8 +18,8 @@ From 1 to 20 October 2026, 89% of this repository's CI spending came from runs f Each push to a pull request ran the expensive checks again. This decision runs the expensive checks less often. -ADR 0002 planned to move jobs to cheaper machines. -ADR 0004 has since superseded ADR 0002. +ADR 0005 planned to move jobs to cheaper machines. +ADR 0004 has since superseded ADR 0005. The glossary in `.github/CONTEXT.md` defines the terms used here. The diagram shows each step for one pull request, from a push to the merge. diff --git a/docs/adr/0004-same-size-swap-from-blacksmith-to-runs-on.md b/docs/adr/0004-same-size-swap-from-blacksmith-to-runs-on.md index 7971297a3..65486d0be 100644 --- a/docs/adr/0004-same-size-swap-from-blacksmith-to-runs-on.md +++ b/docs/adr/0004-same-size-swap-from-blacksmith-to-runs-on.md @@ -1,6 +1,6 @@ --- status: accepted -supersedes: ADR-0002 +supersedes: ADR-0005 --- # Swap Blacksmith for RunsOn machines of the same size @@ -17,7 +17,7 @@ On RunsOn machines of the same size, we estimate $1,140 to $1,350 a month for th RunsOn's own AWS resources add $40 to $60 a month. The estimate applies the cost ratios from the runner trial in pull request #1297 to Blacksmith's November bill. -This architecture decision record (ADR) supersedes [ADR 0002](0002-light-ci-jobs-on-github-hosted-runners-heavy-jobs-on-runs-on.md). +This architecture decision record (ADR) supersedes [ADR 0005](0005-light-ci-jobs-on-github-hosted-runners-heavy-jobs-on-runs-on.md). The $1,000 monthly budget in the CI budget entry of `.github/CONTEXT.md` is not this decision's measure of success. Work on ADR 0003 is paused until the swap is in place. @@ -116,7 +116,7 @@ We rejected each of these options: - **Match Blacksmith's disk sizes.** A 750 GB disk adds about a fifth to the spot price of a 16 vCPU machine. In the pull requests open at the time, 16 vCPU jobs ran on 80 GB disks, and every check passed. -- **Keep ADR 0002's plan.** +- **Keep ADR 0005's plan.** Light jobs on GitHub-hosted runners and heavy jobs on 8 vCPU machines cost less than the same-size swap. That plan gives its full saving only after more changes and ADR 0003's merge queues. - **Switch in stages, starting with Test EQL.** diff --git a/docs/adr/0002-light-ci-jobs-on-github-hosted-runners-heavy-jobs-on-runs-on.md b/docs/adr/0005-light-ci-jobs-on-github-hosted-runners-heavy-jobs-on-runs-on.md similarity index 98% rename from docs/adr/0002-light-ci-jobs-on-github-hosted-runners-heavy-jobs-on-runs-on.md rename to docs/adr/0005-light-ci-jobs-on-github-hosted-runners-heavy-jobs-on-runs-on.md index e08812e48..67486eeba 100644 --- a/docs/adr/0002-light-ci-jobs-on-github-hosted-runners-heavy-jobs-on-runs-on.md +++ b/docs/adr/0005-light-ci-jobs-on-github-hosted-runners-heavy-jobs-on-runs-on.md @@ -1,5 +1,6 @@ --- status: superseded by ADR-0004 +renumbered: was ADR-0002 until 2026-11-29; the one-value-model record keeps that number --- # Move CI from Blacksmith to GitHub-hosted runners and RunsOn