Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions docs/adr/0004-same-size-swap-from-blacksmith-to-runs-on.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
status: accepted
supersedes: ADR-0002
supersedes: ADR-0005

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor Bare ADR-0005 already means stack-encrypt's credential-guest record in mise.toml:118, mise.toml:366, languages/golang/auth/mount.go:19, languages/golang/internal/guest/clientkey.go:10, packages/stack-guest-abi/src/lib.rs:35 and packages/stack-guest-abi/src/status.rs:78. With this rename, a reader who follows docs/agents/domain.md (system-wide ADRs live in docs/adr/) opens the CI runners record instead. Qualify those mentions as stack-encrypt ADR-0005 or give the path.

Source: code-review · claude-opus-5-5


Generated by Claude Code

---

# Swap Blacksmith for RunsOn machines of the same size
Expand All @@ -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.

Expand Down Expand Up @@ -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.**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
status: superseded by ADR-0004

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor Open drafts #1420 to #1426 (base ci/test-eql-selector-job, never rebased) still add docs/adr/0002-light-ci-jobs-…md with status: accepted. Today merging them gives an add/add conflict on that file. After this rename the same merge silently brings back the 0002 copy next to 0005. Drop commit 49052a2b from that stack when it is next rebased, or close the stack.

Source: code-review · claude-opus-5-5


Generated by Claude Code

renumbered: was ADR-0002 until 2026-11-29; the one-value-model record keeps that number

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor renumbered: is a front-matter key no other ADR uses, and it points to "the one-value-model record", which is not on main: here docs/adr/ has a gap at 0002 and nothing names that record. Say the record is on next and name its file (docs/adr/0002-one-value-model-three-encodings-and-eql-v4-by-producer.md), or put the note in the body beside the superseded notice.

Source: mattpocock-skills:code-review (standards) · claude-opus-5-5


Generated by Claude Code

---

# Move CI from Blacksmith to GitHub-hosted runners and RunsOn
Expand Down
Loading