Skip to content

Conversation

@cbartz
Copy link
Collaborator

@cbartz cbartz commented Nov 26, 2025

Overview

Enforce min coverage on internal packages.

Following issues are spotted: internal/telemetry has really low coverage of 30 % at the moment

It has been excluded from coverage report, we need a team follow-up discussion on how to deal with this particular package.

Rationale

Fail if agreed min coverage has not been achieved. Team has agreed to comply with min coverage of 85 %.

Copy link
Collaborator Author

@cbartz cbartz left a comment

Choose a reason for hiding this comment

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

self-review

@cbartz cbartz marked this pull request as ready for review November 26, 2025 12:17
@cbartz cbartz requested a review from Copilot November 26, 2025 12:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enforces a minimum code coverage threshold of 85% for internal packages in CI, aligning with the team's agreed-upon standards. The internal/telemetry package, which currently has only 30% coverage, is temporarily excluded from coverage analysis pending a team discussion.

  • Excludes low-coverage packages from coverage reporting using a filtered package list
  • Adds HTML coverage report generation and artifact upload for better visibility
  • Implements a coverage gate that fails the CI pipeline if total coverage drops below 85%

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

Copy link
Member

@yanksyoon yanksyoon left a comment

Choose a reason for hiding this comment

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

LGTM after arturoi's comments, thanks!

@cbartz cbartz merged commit b751e28 into main Nov 27, 2025
14 checks passed
@cbartz cbartz deleted the chore/enforce-coverage branch November 27, 2025 06:28
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.

6 participants