Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix broken code coverage job #380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 30, 2025

Conversation

jeltz
Copy link
Collaborator

@jeltz jeltz commented May 30, 2025

Adding the sanitizers broke it but since we did not use set -e it was not noticed by our CI.

An extra space had snuck into the script.
@jeltz jeltz requested review from dutow and dAdAbird as code owners May 30, 2025 17:05
it is unclear why it seemed to work but when adding "set -e" we got an
error from the script.
@jeltz jeltz force-pushed the tde/broken-coverage branch from fd72d08 to 3ed4bd9 Compare May 30, 2025 17:09
@codecov-commenter
Copy link

codecov-commenter commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.42%. Comparing base (1fdddb9) to head (f6f2c98).
Report is 32 commits behind head on TDE_REL_17_STABLE.

❌ Your project status has failed because the head coverage (85.42%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           TDE_REL_17_STABLE     #380      +/-   ##
=====================================================
+ Coverage              84.91%   85.42%   +0.51%     
=====================================================
  Files                     22       22              
  Lines                   2611     2608       -3     
  Branches                 397      396       -1     
=====================================================
+ Hits                    2217     2228      +11     
+ Misses                   314      305       -9     
+ Partials                  80       75       -5     
Components Coverage Δ
access 84.20% <95.71%> (+1.24%) ⬆️
catalog 88.27% <71.64%> (+0.26%) ⬆️
common 91.80% <100.00%> (ø)
encryption 73.45% <84.61%> (-2.03%) ⬇️
keyring 72.00% <ø> (ø)
src 91.40% <ø> (ø)
smgr 97.43% <98.64%> (+0.13%) ⬆️
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dAdAbird
Copy link
Member

Looks like sanitizers is the new code coverage - randomly fails on the CI

jeltz added 2 commits May 30, 2025 21:06
The upstream code has been incorrectly indented since PostgreSQL 17.4
but the lack of set -e in the script hid that from us.
It recently hid a bug in the code coverage job.
@jeltz jeltz force-pushed the tde/broken-coverage branch from 3ed4bd9 to f6f2c98 Compare May 30, 2025 19:06
@jeltz jeltz merged commit 61e53af into percona:TDE_REL_17_STABLE May 30, 2025
16 checks passed
@jeltz jeltz deleted the tde/broken-coverage branch June 4, 2025 10:22
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