Skip to content

ci(coverage): remove || true test-masking#22

Merged
mastermanas805 merged 1 commit into
masterfrom
ci/remove-coverage-test-masking
May 21, 2026
Merged

ci(coverage): remove || true test-masking#22
mastermanas805 merged 1 commit into
masterfrom
ci/remove-coverage-test-masking

Conversation

@mastermanas805
Copy link
Copy Markdown
Member

Summary

  • Drop || true from the npm test -- --coverage step in .github/workflows/coverage.yml so the workflow conclusion reflects actual test status.
  • Move codecov upload to if: always() so coverage still uploads on test failure (data without the false-green).

Per audit at /tmp/ci-audit-2026-05-22.md and CLAUDE.md rule 12: shipped != verified.

Test plan

  • coverage workflow runs on this PR and reports actual test outcome
  • codecov upload still happens via if: always()

🤖 Generated with Claude Code

Per the audit at /tmp/ci-audit-2026-05-22.md, the coverage workflow's
test step was suppressing failures with `|| true` while still uploading
whatever partial coverage data accumulated. This made the workflow
report green even when tests failed silently — exactly the bug class
CLAUDE.md rule 12 calls out (shipped != verified).

Fix: drop `|| true`. Move codecov upload to `if: always()` so coverage
still uploads on test failures but the workflow conclusion now
reflects actual test status.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mastermanas805 mastermanas805 merged commit cd79795 into master May 21, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants