From d136d195f9ec002af235614485f0a5acfdfaec12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Thu, 29 Oct 2026 19:32:05 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20ci:=20the=20test=20job=20builds?= =?UTF-8?q?=20the=20forge=20binary=20alone=20before=20the=20full=20test=20?= =?UTF-8?q?run,=20so=20the=20binary=20and=20its=20unit-test=20harness=20(t?= =?UTF-8?q?he=20whole=20forge-web=20crate=20each,=20~3.4=20GB=20of=20rustc?= =?UTF-8?q?)=20no=20longer=20compile=20at=20once=20and=20hit=20the=20runne?= =?UTF-8?q?r's=206.5=20GiB=20box,=20which=20OOM-killed=20the=20job=20now?= =?UTF-8?q?=20and=20then?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .forge/ci.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.forge/ci.toml b/.forge/ci.toml index 0b0d860..de74939 100644 --- a/.forge/ci.toml +++ b/.forge/ci.toml @@ -19,7 +19,12 @@ tags = ["v*"] image = "docker.io/library/rust:1" # Build parallelism comes from the runner (CARGO_BUILD_JOBS follows its CPU limit). Drops debuginfo. env = { CARGO_PROFILE_DEV_DEBUG = "0", CARGO_PROFILE_TEST_DEBUG = "0", CARGO_INCREMENTAL = "0" } +# main.rs holds the whole forge-web crate, so `cargo test` compiles it twice: the `forge` binary +# (the e2e tests run it) and its unit-test harness, ~3.4 GB of rustc each. Built in parallel they +# hit the runner's box cap and got OOM-killed now and then. The e2e build makes the binary first, +# alone; the full run reuses it and compiles only the harness. run = """ +cargo test --workspace --no-run --test e2e cargo test --workspace """ cache = ["target"]