From b8520c272d84ef3ee4de4a42b4fc2c71eb42d5af Mon Sep 17 00:00:00 2001 From: John Travers Date: Sat, 14 Nov 2026 14:06:25 +0000 Subject: [PATCH 1/2] ci: print the free disk space before making the swap file A runner that has too little disk for the swap file now shows how much it had in the step's log. Closes #442 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01XGENPwwkUUG9KSAwneHjgH --- .github/workflows/ci.yml | 1 + .github/workflows/wheels.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1161dbec..eb3c2e1a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -430,6 +430,7 @@ jobs: # which kills the job with its log. - name: Add swap run: | + df -h / sudo fallocate -l 4G /swap.extra sudo chmod 600 /swap.extra sudo mkswap /swap.extra diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index aadbd9e83..5c89d578e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -174,6 +174,7 @@ jobs: - name: Add swap if: runner.os == 'Linux' run: | + df -h / sudo fallocate -l 4G /swap.extra sudo chmod 600 /swap.extra sudo mkswap /swap.extra @@ -265,6 +266,7 @@ jobs: # which kills the job with its log. - name: Add swap run: | + df -h / sudo fallocate -l 4G /swap.extra sudo chmod 600 /swap.extra sudo mkswap /swap.extra From 643f24d5113959d316014a4fecbd24a50d7d21ca Mon Sep 17 00:00:00 2001 From: John Travers Date: Sat, 14 Nov 2026 14:11:13 +0000 Subject: [PATCH 2/2] test: quote the measured departure in the off-band finish xfail The reason and docstring said 1.1e-8; with --runxfail the test reports a normwise departure of 2.186e-8 against its bound of 3.183e-12 on Linux x86-64. State that number and what it is relative to. The xfail and its bound are unchanged. Closes #616 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01XGENPwwkUUG9KSAwneHjgH --- tests/backends/test_native_planar_statistics.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/backends/test_native_planar_statistics.py b/tests/backends/test_native_planar_statistics.py index f9cee1bb5..a5d09158c 100644 --- a/tests/backends/test_native_planar_statistics.py +++ b/tests/backends/test_native_planar_statistics.py @@ -227,7 +227,8 @@ def test_the_finish_on_the_band_is_the_reference_s(): reason=( "SEP 43 inventory 35: native's split-step finish masks only after the temporal " "absorber; the reference also masks before it, so content off the band leaks " - "onto it (1.1e-8 against 3.2e-12). No march hands it such rows" + "onto it (normwise departure 2.2e-8 against a bound of 3.2e-12). No march " + "hands it such rows" ), ) def test_a_finish_with_content_off_the_band_is_the_reference_s_on_it(): @@ -235,7 +236,8 @@ def test_a_finish_with_content_off_the_band_is_the_reference_s_on_it(): Reached only by handing the finish such rows, ``adopt`` directly: a load masks, the source's prefactor and the in-stage term are zero there, and the flow is the - identity there. Measured 1.1e-8 at unit content off the band, 4.4e6 V/m at the peak. + identity there. Measured on Linux x86-64 at unit content off the band: a departure + of 2.186e-8 relative to the norm of the reference finish, whose peak is 4.4e6 V/m. """ problem, _, expected, actual = _split_step_finish(1.0 + 1.0j) assert_within(actual, expected, finish_bound(problem), what="the finish")