fix(ci): run client coverage even when server coverage fails #564

Merged
marcel merged 1 commits from fix/test-coverage-client-skipped-on-server-failure into main 2026-05-14 11:07:35 +02:00
Owner

Summary

  • Replaces && with ; in the test:coverage npm script so the client vitest run is never short-circuited by a server run failure (test failure or threshold violation)
  • Without this fix, the CI upload-artifact step only ever sees coverage/server when the server run exits non-zero
  • Updates the stale frontend/CLAUDE.md comment that described test:coverage as "server project only"

Test plan

  • CI unit-tests job passes: both coverage/server and coverage/client appear in the uploaded artifact
  • Verify that a deliberate server threshold failure no longer prevents coverage/client from being generated

🤖 Generated with Claude Code

## Summary - Replaces `&&` with `;` in the `test:coverage` npm script so the client vitest run is never short-circuited by a server run failure (test failure or threshold violation) - Without this fix, the CI upload-artifact step only ever sees `coverage/server` when the server run exits non-zero - Updates the stale `frontend/CLAUDE.md` comment that described `test:coverage` as "server project only" ## Test plan - [ ] CI `unit-tests` job passes: both `coverage/server` and `coverage/client` appear in the uploaded artifact - [ ] Verify that a deliberate server threshold failure no longer prevents `coverage/client` from being generated 🤖 Generated with [Claude Code](https://claude.com/claude-code)
marcel added 1 commit 2026-05-14 11:05:54 +02:00
fix(ci): run client coverage even when server coverage fails
Some checks failed
CI / Unit & Component Tests (push) Has been cancelled
CI / OCR Service Tests (push) Has been cancelled
CI / Backend Unit Tests (push) Has been cancelled
CI / fail2ban Regex (push) Has been cancelled
CI / Compose Bucket Idempotency (push) Has been cancelled
CI / Unit & Component Tests (pull_request) Has been cancelled
CI / OCR Service Tests (pull_request) Has been cancelled
CI / Backend Unit Tests (pull_request) Has been cancelled
CI / fail2ban Regex (pull_request) Has been cancelled
CI / Compose Bucket Idempotency (pull_request) Has been cancelled
16b500ae3d
Replace && with ; in test:coverage so the client vitest run is not
short-circuited when the server run exits non-zero (e.g. threshold
violation or test failure). Without this the upload-artifact step
only ever sees coverage/server.

Also updates the stale CLAUDE.md comment that said server-only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
marcel merged commit f727429699 into main 2026-05-14 11:07:35 +02:00
marcel deleted branch fix/test-coverage-client-skipped-on-server-failure 2026-05-14 11:07:35 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marcel/familienarchiv#564