From 3ba9e33b8ffcab5d6d690825069a4546fe7bcf97 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Thu, 29 Oct 2026 10:35:52 +0100 Subject: [PATCH] ci: two cargo jobs and line-tables-only debug info on the runners The OVH runners give each job --cpus=2 --memory=3g, but cargo saw the host's 8 cores and started up to 8 rustc with full debug info; the dashboard build was OOM-killed (signal 9) on both runners (#575, #577). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4 --- .gitea/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5a1f683..a0bb9c3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -16,6 +16,12 @@ env: COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }} CARGO_TERM_COLOR: always RUSTFLAGS: "-D warnings" + # Job containers on the OVH runners get --cpus=2 --memory=3g, but cargo sees + # the host's 8 cores and ran up to 8 rustc with full debug info: the dashboard + # build was OOM-killed (signal 9). Two jobs to match the CPUs, and line tables + # only (backtraces keep file:line, no full variable info). + CARGO_BUILD_JOBS: "2" + CARGO_PROFILE_DEV_DEBUG: line-tables-only # Compile cache: sccache -> Hetzner S3 (breakpilot-sccache), runner-independent # and persistent across CI runs (own key prefix). Reuses the shared cluster S3 # creds (same bucket as werkpilot). Requires repo secrets HETZNER_S3_ACCESS_KEY