forge
Explore
Log in

Don't you dare go Hollow

Incremental is off again, since the forge-web test build was OOM-killed with it on after topcoat 0.12 (runs 156, 158) 🐛 fix: a failed run whose job was OOM-killed points its failure box at the runner's out-of-memory line instead of saying "No error line"

Browse files at this commit

810de8325998fc75c6151cb1abca4542cb446b0eAhmet Kaan GümüşParent: 6934e8d
Some checks failed
Show checks
  • ci
    • incremental is off again, since the forge-web test build was OOM-killed with it on after topcoat 0.12 (runs 156, 158) 🐛 fix: a failed run whose job was OOM-killed points its failure box at the runner's out-of-memory line instead of saying "No error line"
Show full message
💚 ci: incremental is off again, since the forge-web test build was OOM-killed with it on after topcoat 0.12 (runs 156, 158) 🐛 fix: a failed run whose job was OOM-killed points its failure box at the runner's out-of-memory line instead of saying "No error line"
.forge/ci.tomlmodified+2 -4
@@ -20,10 +20,8 @@ image = "docker.io/library/rust:1"
20 # CARGO_HOME in the workspace puts the downloaded crates in the cache, so a run downloads only new ones.20 # CARGO_HOME in the workspace puts the downloaded crates in the cache, so a run downloads only new ones.
21 # That places turso_core's source inside this repo, and its build.rs then watches our .git/HEAD, which21 # That places turso_core's source inside this repo, and its build.rs then watches our .git/HEAD, which
22 # is new in every job, so it would rebuild on every run. With SOURCE_DATE_EPOCH set it skips git.22 # is new in every job, so it would rebuild on every run. With SOURCE_DATE_EPOCH set it skips git.
23-# Incremental stays on for the test builds, which `target` in the cache lets them reuse. It is on23+# Incremental is off: since topcoat 0.12 the forge-web test build was OOM-killed with it on (runs 156, 158).
24-# trial: it was turned off in 4c4575a to avoid OOM kills, so set CARGO_INCREMENTAL = "0" if they return.24+env = { CARGO_INCREMENTAL = "0", CARGO_PROFILE_DEV_DEBUG = "0", CARGO_PROFILE_TEST_DEBUG = "0", CARGO_HOME = "/workspace/.cargo-home", SOURCE_DATE_EPOCH = "0" }
25-# The dist profile has incremental off.
26-env = { CARGO_PROFILE_DEV_DEBUG = "0", CARGO_PROFILE_TEST_DEBUG = "0", CARGO_HOME = "/workspace/.cargo-home", SOURCE_DATE_EPOCH = "0" }
27 # Unit tests run first, so a failure shows before the release build. The e2e tests then run against25 # Unit tests run first, so a failure shows before the release build. The e2e tests then run against
28 # the binary this job ships, so forge is not compiled a third time just for them.26 # the binary this job ships, so forge is not compiled a third time just for them.
29 # The groups are the job's steps on the run page, and `exec 2>&1` keeps a marker in order with cargo's27 # The groups are the job's steps on the run page, and `exec 2>&1` keeps a marker in order with cargo's
crates/forge-web/src/pages/ci_fail.rsmodified+2 -1
@@ -19,13 +19,14 @@ use crate::state::AppState;
19 const WINDOW: usize = 30;19 const WINDOW: usize = 30;
20 /// Patterns that mark an error line. Matching is case-sensitive, which keeps prose such as "error20 /// Patterns that mark an error line. Matching is case-sensitive, which keeps prose such as "error
21 /// handling" out. `FAILED` also covers `test result: FAILED`.21 /// handling" out. `FAILED` also covers `test result: FAILED`.
22-const PATTERNS: [&str; 6] = [22+const PATTERNS: [&str; 7] = [
23 "error:",23 "error:",
24 "error[E",24 "error[E",
25 "FAILED",25 "FAILED",
26 "panicked at",26 "panicked at",
27 "npm ERR!",27 "npm ERR!",
28 "fatal:",28 "fatal:",
29+ "out of memory killer killed",
29 ];30 ];
30 31
31 /// The index of the first line that matches an error pattern.32 /// The index of the first line that matches an error pattern.