Repository navigation
Conversation
Two nightly jobs on main ran out of memory on c8a.4xlarge machines (16 vCPU, 30.7 GiB) after the move to RunsOn in #1419: - Bench EQL (Postgres 17), run 45927123386 - Test EQL Shard PG17 1/2, run 45937486282 Both logs carry the RunsOn warning that the kernel killed a process for lack of memory, and Postgres connections dropped mid-test. Both jobs passed every night on Blacksmith's 16 vCPU machines, which have 4 GB per vCPU. ADR 0004 says a job that fails for lack of memory moves to family=m8a, which has 4 GB per vCPU. This changes family=c8a+m8a to family=m8a in the bench job and in the shared runs-on of the Test EQL shard matrix. The rest of each label is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
cipherstash-agent
left a comment
There was a problem hiding this comment.
Review attestation
Reviewed a1ae588 · posted from Claude Code · claude-opus-5-5 · effort medium
Sources: code-review · claude-opus-5-5; mattpocock-skills:code-review (Standards and Spec agents) · claude-opus-5-5; review-cross-check · claude-opus-5-5
Skills: code-review, company-skills:rust-security (not applicable: the diff has no Rust), mattpocock-skills:code-review, company-skills:review-cross-check
The change matches #1975 and ADR 0004's memory rule. Both new labels are in RUNS_ON_LABELS. workflow-runs-on.test.mjs was read but not run here (no node_modules in the review checkout). No changeset or skill update is needed.
Findings (1): 1 minor — 0 inline, 1 below.
.github/workflows/bench-eql.yml:96,.github/workflows/test-eql.yml:428minor These are the only twofamily=m8alabels among about 55 RunsOn labels, and nothing in the YAML says why.RUNS_ON_LABELSalso acceptsfamily=c8a+m8a, so a later sweep that normalises them back passes CI and the nightly jobs run out of memory again. Add a one-line comment above eachruns-on, asrelease.yml:220does for its runner choice, naming ADR 0004 and the out-of-memory run (45927123386 for bench, 45937486282 for test).
Source: mattpocock-skills:code-review (Standards) · claude-opus-5-5, verified by review-cross-check
Generated by Claude Code
These are the only RunsOn jobs on family=m8a. The label guard also accepts family=c8a+m8a, so a later sweep could move them back without a failing check. A comment above each runs-on names ADR 0004's memory rule and the run that ran out of memory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fixed in 6f74d68 (review finding on |
Summary
Two nightly EQL jobs ran out of memory on c8a machines after #1419 moved them to RunsOn. This PR moves those jobs to m8a machines, which have twice the memory per vCPU. That is the rule in ADR 0004: "A job that fails for lack of memory moves to
family=m8a".Both ran on c8a.4xlarge (16 vCPU, 30.7 GiB). Both logs show the RunsOn warning "The kernel killed 1 process(es) during this job because they ran out of memory", and Postgres connections dropped mid-test. Both jobs passed every night on Blacksmith's 16 vCPU machines, which have 4 GB per vCPU. c8a has 2 GB per vCPU and m8a has 4 GB per vCPU.
Changes
In each label,
family=c8a+m8abecomesfamily=m8a. The rest of the label is unchanged..github/workflows/bench-eql.yml: thebenchjob ("Bench EQL (Postgres 17)")..github/workflows/test-eql.yml: thetestjob, which is the sharded SQLx suite. Every shard shares oneruns-on, so this change covers all of them, not only Shard PG17 1/2:main, the merge queue and the nightly run: PG 14 to 17, 2 shards each.Nothing else needed an update:
scripts/__tests__/lib/runs-on.mjsalready accepts the m8a form of each ADR 0004 label..github/CONTEXT.mddo not list which jobs use m8a.Verification
vitest run --config scripts/vitest.config.mjs: 85 of 86 files passed. The one failure ismigration-fixture-client.test.mjs. It cannot import@cipherstash/protect, which that fixture installs separately and which is not installed in my local checkout. The change does not affect it.workflow-runs-on,workflow-docker-hub-login,workflow-mise-cache-image,eql-workflow-filtersandeql-suite-ci.How to confirm the fix on real machines:
m8a.4xlargemachines and passed (run 45943556169). That is the 4-shard shape. The 2-shard shape that failed runs onmainafter merge: this PR changestest-eql.yml, which is in the workflow's push path filter, and the nightly run follows.mainafter merge confirms it. The workflow also hasworkflow_dispatch.Related
Closes #1975
docs/adr/0004-same-size-swap-from-blacksmith-to-runs-on.md.🤖 Generated with Claude Code
Summary by CodeRabbit