Skip to content

Make codecov patch stats informational on the main branch#1673

Merged
stevedlawrence merged 1 commit into
apache:mainfrom
stevedlawrence:daffodil-3081-codecov-main-informational
Jun 4, 2026
Merged

Make codecov patch stats informational on the main branch#1673
stevedlawrence merged 1 commit into
apache:mainfrom
stevedlawrence:daffodil-3081-codecov-main-informational

Conversation

@stevedlawrence
Copy link
Copy Markdown
Member

Sometimes we merge PRs that do not meet the codecov patch threshold, usually because it is not possible or requires too much effort to meet. This leads to a CI failure on the main branch when these PRs are merged.

But by merging a PR we are tacitly agreeing to accept whatever coverage it has and so we don't need to report CI failures that might hide actual failures.

This changes the codecov patch configuration for the main branch so it is informational only. CI will still run coverage and report the stats, but it should not cause CI to indicate coverage failures even if the patch threshold is not met.

DAFFODIL-3081

Sometimes we merge PRs that do not meet the codecov patch threshold,
usually because it is not possible or requires too much effort to meet.
This leads to a CI failure on the main branch when these PRs are merged.

But by merging a PR we are tacitly agreeing to accept whatever coverage
it has and so we don't need to report CI failures that might hide actual
failures.

This changes the codecov patch configuration for the main branch so it
is informational only. CI will still run coverage and report the stats,
but it should not cause CI to indicate coverage failures even if the
patch threshold is not met.

DAFFODIL-3081
Copy link
Copy Markdown
Contributor

@jadams-tresys jadams-tresys left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Copy Markdown
Contributor

@olabusayoT olabusayoT left a comment

Choose a reason for hiding this comment

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

+1

@stevedlawrence stevedlawrence merged commit ec72d23 into apache:main Jun 4, 2026
11 checks passed
@stevedlawrence stevedlawrence deleted the daffodil-3081-codecov-main-informational branch June 4, 2026 11:08
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