Skip to content

feat(ci): set fixed 60% coverage target for frontend in codecov - #1594

Merged
K1NGD4VID merged 15 commits into
LabsCrypt:mainfrom
emarkees:feat/codecov-frontend-target
Oct 27, 2026
Merged

K1NGD4VID merged 15 commits into
LabsCrypt:mainfrom
emarkees:feat/codecov-frontend-target

Conversation

@emarkees

Copy link
Copy Markdown
Contributor

PR Title

feat(ci): set fixed 60% coverage target floor for frontend in Codecov

Closes #1078


PR Description

📝 Summary

Updates .github/codecov.yml to replace the flexible auto coverage target for the frontend status check with a fixed minimum coverage floor of 60%, aligning it with the backend target floor (60%) and patch.default target (60%).

❓ Why this matters

Previously, .github/codecov.yml set frontend.target to auto (don't regress from base commit), while backend was pinned to 60% and contracts to 70%. PRs starting from a low coverage baseline could maintain a low frontend coverage indefinitely since auto never enforced a fixed minimum coverage floor.

🛠 Changes

  • Updated coverage.status.project.frontend.target in .github/codecov.yml from auto to 60%.
  • Added inline documentation comment explaining the fixed 60% minimum floor.

🧪 Verification

  • Validated YAML structure and formatting in .github/codecov.yml.
  • Verified backend (60%), contracts (70%), and patch.default (60%) remain unchanged.

@K1NGD4VID
K1NGD4VID merged commit ecca971 into LabsCrypt:main Oct 27, 2026
13 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.

[Infra] .github/codecov.yml sets frontend target to 'auto' while backend/contracts use fixed percentages, giving frontend no real coverage floor

2 participants