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
This commit is contained in:
frankbria 2026-01-08 23:23:14 -07:00
parent 0c0b0b63b1
commit 7db4a63b4f

View file

@ -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: