Skip to content

Conversation

@MykolaSuperman
Copy link

No description provided.

@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

❌ Patch coverage is 88.09524% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.52%. Comparing base (48e1799) to head (c010565).
⚠️ Report is 6 commits behind head on feature_unification.

Files with missing lines Patch % Lines
src/core/common/spaceallocator/spaceallocator.hpp 71.42% 4 Missing ⚠️
src/core/common/tests/mocks/spaceallocatormock.hpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                   Coverage Diff                   @@
##           feature_unification     #466      +/-   ##
=======================================================
+ Coverage                84.49%   84.52%   +0.02%     
=======================================================
  Files                      293      293              
  Lines                    25025    25066      +41     
  Branches                  3413     3417       +4     
=======================================================
+ Hits                     21146    21186      +40     
- Misses                    3879     3880       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

return err;
}

if (auto err = mPartition->Allocate(newSize); !err.IsNone()) {
Copy link
Member

Choose a reason for hiding this comment

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

if an error occurs, shouldn't SpaceAllocator::Free be called?

Copy link
Author

Choose a reason for hiding this comment

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

Agree. Good catch!

Signed-off-by: Mykola Solianko <mykola_solianko@epam.com>
@MykolaSuperman MykolaSuperman force-pushed the fix_resize_spaceallocator branch from c7a0e1d to c010565 Compare January 13, 2026 07:54
@sonarqubecloud
Copy link

Copy link
Member

@mlohvynenko mlohvynenko left a comment

Choose a reason for hiding this comment

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

Reviewed-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>

Copy link
Contributor

@mykola-kobets-epam mykola-kobets-epam left a comment

Choose a reason for hiding this comment

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

Reviewed-by: Mykola Kobets <mykola_kobets@epam.com>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants