ci: build the dashboard tests one rustc at a time
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m6s
CI / Check (pull_request) Successful in 21m50s
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m6s
CI / Check (pull_request) Successful in 21m50s
`cargo test -p compliance-dashboard` compiles the dashboard crate as the library and as its test harness at the same time. Each rustc takes about 1.65 GB, so with CARGO_BUILD_JOBS=2 the two exceed the job container's 3 GiB and the kernel kills one (sccache: signal 9); five PR runs failed that way today. The two dashboard test steps build with one job; every other step keeps two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9f2e78c6c4
commit
7cdcf18244
1 file changed
+7
@@ -151,9 +151,16 @@ jobs:
|
||||
# compliance-core's integration tests need no services.
|
||||
- name: Tests (core integration)
|
||||
run: cargo test -p compliance-core --tests
|
||||
# The dashboard crate compiles as the library and as its test harness at
|
||||
# once, each rustc at about 1.65 GB: two of them exceed the job's 3 GiB
|
||||
# and get OOM-killed (signal 9). One at a time for these two steps.
|
||||
- name: Tests (dashboard server)
|
||||
env:
|
||||
CARGO_BUILD_JOBS: "1"
|
||||
run: cargo test -p compliance-dashboard --features server --no-default-features
|
||||
- name: Tests (dashboard web)
|
||||
env:
|
||||
CARGO_BUILD_JOBS: "1"
|
||||
run: cargo test -p compliance-dashboard --features web --no-default-features
|
||||
|
||||
- name: Show sccache stats
|
||||
|
||||
Reference in new issue
Block a user