Skip to content

Add Codecov coverage status gates#638

Merged
Shfdis merged 1 commit into
mainfrom
codecov-coverage-status
Jul 9, 2026
Merged

Add Codecov coverage status gates#638
Shfdis merged 1 commit into
mainfrom
codecov-coverage-status

Conversation

@vgvoleg

@vgvoleg vgvoleg commented Jul 7, 2026

Copy link
Copy Markdown
Member

Adds a coverage.status block to codecov.yml so Codecov posts blocking PR checks: the project status fails when overall coverage drops by more than 1% versus the base branch (target: auto, threshold: 1%), and the patch status requires the PR diff to be at least 80% covered.

Mirrors the gates already used in ydb-python-sdk, keeping coverage enforcement uniform across the native SDKs. Additive — the existing ignore/component_management config is untouched.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Codecov coverage status gates to ensure PRs are held to consistent coverage standards (overall project coverage regression tolerance and minimum diff/patch coverage), aligning this repo with the enforcement used in other YDB SDKs.

Changes:

  • Configure coverage.status.project to fail if overall coverage drops by more than 1% vs base (target: auto, threshold: 1%).
  • Configure coverage.status.patch to require at least 80% coverage on changed lines in a PR (target: 80%).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Shfdis Shfdis merged commit cdf631d into main Jul 9, 2026
23 of 24 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.

3 participants