Skip to content

ci(coverage): remove || true test-masking + align ci.yml triggers#22

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

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

Conversation

@mastermanas805
Copy link
Copy Markdown
Member

Summary

  • Drop || true from the go test step in .github/workflows/coverage.yml so the coverage workflow conclusion reflects actual test status.
  • Move codecov/codecov-action@v4 upload to if: always() so partial coverage still uploads on test failure (we get the data without the false-green).
  • Align .github/workflows/ci.yml branch triggers from [main] to [master, main] to match every other InstaNode-dev repo (common's default is master, so the prior config wasn't firing on push to default).

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 now reports actual test outcome
  • codecov upload still attempted via if: always()
  • ci.yml fires on PRs targeting master

🤖 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.

(For common only — also brings ci.yml branch trigger in line with
the [master, main] convention used by every other repo.)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mastermanas805 mastermanas805 merged commit dc2f268 into master May 21, 2026
7 checks passed
@mastermanas805 mastermanas805 deleted the ci/remove-coverage-test-masking branch May 21, 2026 19:12
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.

1 participant