diff --git a/.forge/ci.toml b/.forge/ci.toml index 8f397dd..9334077 100644 --- a/.forge/ci.toml +++ b/.forge/ci.toml @@ -20,10 +20,8 @@ image = "docker.io/library/rust:1" # CARGO_HOME in the workspace puts the downloaded crates in the cache, so a run downloads only new ones. # That places turso_core's source inside this repo, and its build.rs then watches our .git/HEAD, which # is new in every job, so it would rebuild on every run. With SOURCE_DATE_EPOCH set it skips git. -# Incremental stays on for the test builds, which `target` in the cache lets them reuse. It is on -# trial: it was turned off in 4c4575a to avoid OOM kills, so set CARGO_INCREMENTAL = "0" if they return. -# The dist profile has incremental off. -env = { CARGO_PROFILE_DEV_DEBUG = "0", CARGO_PROFILE_TEST_DEBUG = "0", CARGO_HOME = "/workspace/.cargo-home", SOURCE_DATE_EPOCH = "0" } +# Incremental is off: since topcoat 0.12 the forge-web test build was OOM-killed with it on (runs 156, 158). +env = { CARGO_INCREMENTAL = "0", CARGO_PROFILE_DEV_DEBUG = "0", CARGO_PROFILE_TEST_DEBUG = "0", CARGO_HOME = "/workspace/.cargo-home", SOURCE_DATE_EPOCH = "0" } # Unit tests run first, so a failure shows before the release build. The e2e tests then run against # the binary this job ships, so forge is not compiled a third time just for them. # The groups are the job's steps on the run page, and `exec 2>&1` keeps a marker in order with cargo's diff --git a/crates/forge-web/src/pages/ci_fail.rs b/crates/forge-web/src/pages/ci_fail.rs index 3f7f9b9..a9cb766 100644 --- a/crates/forge-web/src/pages/ci_fail.rs +++ b/crates/forge-web/src/pages/ci_fail.rs @@ -19,13 +19,14 @@ use crate::state::AppState; const WINDOW: usize = 30; /// Patterns that mark an error line. Matching is case-sensitive, which keeps prose such as "error /// handling" out. `FAILED` also covers `test result: FAILED`. -const PATTERNS: [&str; 6] = [ +const PATTERNS: [&str; 7] = [ "error:", "error[E", "FAILED", "panicked at", "npm ERR!", "fatal:", + "out of memory killer killed", ]; /// The index of the first line that matches an error pattern.