From 7db4a63b4f593bcc148f4af8de64bf987aa791f1 Mon Sep 17 00:00:00 2001 From: frankbria Date: Thu, 8 Jan 2026 23:23:14 -0700 Subject: [PATCH] fix(ci): disable coverage threshold due to kcov subprocess limitation kcov cannot trace subprocess executions due to LD_PRELOAD limitations. When bats runs tests, it spawns new bash processes that kcov cannot instrument. This is a known, unsolved issue in bats-core (issue #15). Changes: - Set COVERAGE_THRESHOLD to 0 (disabled enforcement) - Added detailed comment explaining the limitation - Coverage job remains for informational purposes - Test pass rate (100%) serves as the quality gate References: - https://github.com/bats-core/bats-core/issues/15 --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59165bb..15753c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,12 @@ on: env: # Coverage threshold - configurable, not hardcoded # Set to 0 to disable threshold enforcement - COVERAGE_THRESHOLD: 70 + # + # NOTE: kcov cannot trace subprocess executions due to LD_PRELOAD limitations. + # When bats runs tests, it spawns new bash processes that kcov cannot instrument. + # This is a known limitation (see: https://github.com/bats-core/bats-core/issues/15) + # Coverage is kept as informational-only; test pass rate is the quality gate. + COVERAGE_THRESHOLD: 0 KCOV_VERSION: "42" jobs: