From 9c44abd341656ac440619e79fb1f36e1c4090b25 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Feb 2026 03:57:57 +0000 Subject: [PATCH] fix(ci): switch tarpaulin to LLVM engine to fix coverage failures Tarpaulin's default ptrace engine causes spurious "Test failed during run" / segfault errors despite all tests passing. Switch to --engine llvm which uses LLVM source-based coverage instrumentation and is more reliable. https://claude.ai/code/session_011FySEMjapdhpDe8yGLMRZz --- .github/workflows/coverage.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index cfcc881d..97d6e13e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -19,6 +19,8 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable + with: + components: llvm-tools-preview - uses: Swatinem/rust-cache@v2 @@ -37,7 +39,8 @@ jobs: --exclude-files "crates/bashkit-cli/*" \ --exclude-files "crates/bashkit-python/*" \ --timeout 300 \ - --skip-clean + --skip-clean \ + --engine llvm - name: Upload coverage to Codecov uses: codecov/codecov-action@v5