CI: Make 12 not 10 valgrind tests, and 6 not 12 sanitizer tests.
What changed, and why it matters
This commit only changes how many parallel groups the project's automated CI (Continuous Integration) test suite splits its work into. It increases the number of groups for memory-error-detection (Valgrind) tests from 10 to 12 and decreases the number of groups for sanitizer tests from 12 to 6. There is no change to the actual Core Lightning node code, its configuration, or how it handles user data/network input. It is purely a scheduling/timing adjustment for automated testing.
No security action required. This is a benign CI configuration change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies .github/workflows/ci.yaml. It changes the matrix GROUP list and the corresponding –test-group-count argument for two CI jobs: the Valgrind job (10 -> 12 groups) and the ASan/UBSan job (12 -> 6 groups). No application source code, build scripts, tests themselves, or runtime behavior is altered. The stated intent is to balance CI job durations based on new timings.
Changed components
.github/workflows/ci.yamlInspect captured patch +5 / −5
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 20e1b528..f1d118eb 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -528,7 +528,7 @@ jobs:
fail-fast: false
matrix:
CFG: [compile-gcc-O1]
- GROUP: [1,2,3,4,5,6,7,8,9,10]
+ GROUP: [1,2,3,4,5,6,7,8,9,10,11,12]
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -566,7 +566,7 @@ jobs:
TEST_DEBUG: 1
PYTEST_OPTS: ${{ env.PYTEST_OPTS_BASE }} --test-group-random-seed=42
run: |
- VALGRIND=1 sg wireshark "uv run eatmydata pytest tests/ -n $(($(nproc) + 1)) ${PYTEST_OPTS} --test-group=${{ matrix.GROUP }} --test-group-count=10"
+ VALGRIND=1 sg wireshark "uv run eatmydata pytest tests/ -n $(($(nproc) + 1)) ${PYTEST_OPTS} --test-group=${{ matrix.GROUP }} --test-group-count=12"
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
@@ -576,7 +576,7 @@ jobs:
if-no-files-found: ignore
integration-sanitizers:
- name: ASan/UBSan (${{ matrix.GROUP }}/12)
+ name: ASan/UBSan (${{ matrix.GROUP }}/6)
runs-on: ubuntu-24.04
timeout-minutes: 120
env:
@@ -589,7 +589,7 @@ jobs:
fail-fast: false
matrix:
CFG: [compile-clang-sanitizers]
- GROUP: [1,2,3,4,5,6,7,8,9,10,11,12]
+ GROUP: [1,2,3,4,5,6]
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -624,7 +624,7 @@ jobs:
env:
PYTEST_OPTS: ${{ env.PYTEST_OPTS_BASE }} --test-group-random-seed=42
run: |
- sg wireshark "uv run eatmydata pytest tests/ -n $(($(nproc) + 1)) ${PYTEST_OPTS} --test-group=${{ matrix.GROUP }} --test-group-count=12"
+ sg wireshark "uv run eatmydata pytest tests/ -n $(($(nproc) + 1)) ${PYTEST_OPTS} --test-group=${{ matrix.GROUP }} --test-group-count=6"
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.