From 4261c903f5a5f5c5b285b5342b4da7cd6be4ed80 Mon Sep 17 00:00:00 2001 From: humuhumu33 Date: Fri, 13 Nov 2026 09:27:30 +0000 Subject: [PATCH] ci: regenerate.yml measures stack bounds with no core handler Each probe of the stack-bound bisection that runs out of stack aborts, and the runner pipes every core to apport or systemd-coredump, which copies the whole probe process; for BS-69 and BS-70 dozens of them exhausted the runner's memory (24 GB of swap) and killed the job. The measuring step now sends cores to a plain file under a zero limit, so no core is written and no handler runs. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/regenerate.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/regenerate.yml b/.github/workflows/regenerate.yml index 38b324f054..f34b981a93 100755 --- a/.github/workflows/regenerate.yml +++ b/.github/workflows/regenerate.yml @@ -220,6 +220,12 @@ jobs: LEXLEAN_VERIFY_MEMORY_KIB: "12582912" run: | set -euo pipefail + # Each probe that runs out of stack aborts. The runner pipes a core + # to a handler (apport, systemd-coredump) that copies the whole + # probe process, and dozens of them exhaust the runner's memory, so + # cores go to a plain file under a zero limit: none is written. + sudo sysctl -w kernel.core_pattern=core + ulimit -c 0 # Rows for packages no longer in the exports are dropped; for each # recursive package without a row, the case whose source names its # root runs whole and measures it (`LEXLEAN_MEASURE_STACK=all`).