From 06ebdb82109a6da87ddca1a73d334cad8dd1031a Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 25 Jul 2026 13:33:16 +0000 Subject: [PATCH] Remove hatch --lf fallback that could mask test failures Falling back to `hatch run test:nowarn --lf` when the first run fails is wrong: if the first run crashes without recording lastfailed data (e.g. a Python segfault), the --lf rerun silently runs nothing (or the wrong set of tests) and reports success, hiding a real failure. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01EKxMCsBh1T5CoAqNEz243n --- .github/workflows/tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6867250c8..87f5aba3d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -59,8 +59,7 @@ jobs: with: dependency_type: minimum - name: Run the unit tests - run: | - hatch run test:nowarn || hatch -v run test:nowarn --lf + run: hatch run test:nowarn test_lint: name: Test Lint @@ -96,8 +95,7 @@ jobs: with: dependency_type: pre - name: Run the tests - run: | - hatch run test:nowarn || hatch run test:nowarn --lf + run: hatch run test:nowarn make_sdist: name: Make SDist