From df66de629a77a36cf5ffb2e141172058a807eb47 Mon Sep 17 00:00:00 2001 From: Lucas Vieira Date: Tue, 28 Apr 2026 17:28:04 -0300 Subject: [PATCH] ci: strip full debuginfo from test profile to fix linker OOM Add `[profile.test] debug = "line-tables-only"` to the workspace manifest. Default test-profile DWARF was spiking `ld` past the GitHub runner's ~7 GB free RAM during `cargo nextest run` on large E2E test binaries, killing it with `signal 7 [Bus error]`. line-tables-only keeps file:line backtraces but drops type/variable DWARF, cutting the linker's working set enough to land on the default runner. No effect on dev/release profiles. --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index daaffda2..24713efd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -129,3 +129,8 @@ fakecloud-apigatewayv2 = { path = "crates/fakecloud-apigatewayv2", version = "0. fakecloud-bedrock = { path = "crates/fakecloud-bedrock", version = "0.13.2" } fakecloud-sdk = { path = "crates/fakecloud-sdk", version = "0.13.2" } fakecloud-persistence = { path = "crates/fakecloud-persistence", version = "0.13.2" } + +# Drop full DWARF on test binaries to keep `ld` under the GitHub runner's +# ~7 GB RAM budget. Backtraces still show file:line. +[profile.test] +debug = "line-tables-only"