Repository navigation
fix(ci): run the heavy suites serially on push instead of dropping them - #195
Merged
Merged
Conversation
#190 excluded the heavy suites from Debug pushes because they killed the hosted runner. That was the wrong axis. Release then died the same way, at test ~1510/2257: ##[error]Process completed with exit code 143 ##[error]The runner has received a shutdown signal. Build config was never the variable -- CONCURRENCY is. These suites allocate large trees and meshes, plain --parallel starts one ctest job per core, and several of them at once exceed the 16 GB on ubuntu-latest. Debug just made each allocation bigger, so Debug hit the ceiling a bit earlier. They all pass individually, which is why a run gets ~1500 tests deep before dying, and why the runner reports a shutdown rather than any test failing. A push now runs two ctest invocations: 1. everything EXCEPT the heavy suites, --parallel (unchanged behaviour) 2. only the heavy suites, --parallel 1 (one allocation at a time) That restores the coverage #190 dropped from Debug pushes rather than extending the exclusion to Release. PRs are untouched and still skip the set entirely. Verified: both blocks pass `bash -n` with the GH expressions substituted, and the -E/-R split partitions correctly -- StateLinkBenchmark.* and AlgorithmTest.*Performance* go serial, StateExecParserTest.* and SchedulerTest.* stay parallel.
transfix
added a commit
that referenced
this pull request
Aug 18, 2026
#195 patched two ctest sites with a line-based script that assumed both had the same five-line body. The macOS site is written more compactly, so the patch consumed the `else` line and the first line of its ctest call, and left the remainder dangling: -R "${STRESS_REGEX}" --output-on-failure --parallel --repeat until-pass:3 ... \ -E "${STRESS_REGEX}" fi Two consequences, and the quiet one is worse: * On push, the shell reached the orphaned line and tried to run it: .../5b22a0c1.sh: line 33: --output-on-failure: command not found ##[error]Process completed with exit code 127 which is how package-macos / libcvc-release failed. * On pull_request the `else` branch no longer existed, so the condition was false and NOTHING ran. macOS PR jobs would have reported success having executed zero tests. The else branch is restored, so both sites are now identical in behaviour. Verified by evaluating each block with the GitHub expressions substituted and ctest stubbed, counting invocations per path: push/Release 2 (light --parallel, then heavy --parallel 1) push/Debug 1 (light only; heavy excluded) pull_request/* 1 (light only) for BOTH blocks. No path runs zero -- which is the check that would have caught this, and the one #195 did not make. `bash -n` alone passed on the broken file, because dangling arguments are valid syntax.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #190, which fixed the wrong axis.
#190 excluded the heavy suites from Debug pushes because they were killing
the hosted runner. Master then went red on
package-linux / libcvc-releasewith the identical failure, at test ~1510/2257:
Build config was never the variable — concurrency is
These suites allocate large trees and meshes. Plain
--parallelstarts onectest job per core, and several of them at once exceed the 16 GB on
ubuntu-latest. Debug simply made each allocation bigger, so Debug hit theceiling first and made config look like the culprit.
They all pass individually — which is exactly why a run gets ~1500 tests deep
before dying, and why the runner reports a shutdown instead of any test failing.
Change
A push now runs two ctest invocations instead of one:
--parallel— unchanged behaviour--parallel 1— one heavy allocation live at a timeThis restores the coverage #190 dropped from Debug pushes, rather than
extending the exclusion to Release as well. PRs are untouched and still skip the
set entirely.
Verification
bash -nwith the GitHub expressions substituted.-E/-Rsplit partitions cleanly —StateLinkBenchmark.*andAlgorithmTest.*Performance*go serial;StateExecParserTest.*andSchedulerTest.*stay parallel.