Skip to content
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

enhance: enable assert method to format arguments (#28812) #28907

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

yah01
Copy link
Member

@yah01 yah01 commented Dec 1, 2023

for now the assert method in segcore could accept a string information, too many codes don't print the value they assert.

make it happy
related #28811
pr: #28812

for now the assert method in segcore could accept a string information,
too many codes don't print the value they assert.

make it happy
related milvus-io#28811

---------

Signed-off-by: yah01 <[email protected]>
@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Dec 1, 2023
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Dec 1, 2023
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

Merging #28907 (bdcb097) into 2.3 (9bf33eb) will increase coverage by 0.01%.
Report is 6 commits behind head on 2.3.
The diff coverage is 77.77%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.3   #28907      +/-   ##
==========================================
+ Coverage   81.98%   82.00%   +0.01%     
==========================================
  Files         829      820       -9     
  Lines      118659   118631      -28     
==========================================
- Hits        97283    97282       -1     
+ Misses      18157    18138      -19     
+ Partials     3219     3211       -8     
Files Coverage Δ
internal/core/src/common/Array.h 83.73% <100.00%> (-7.24%) ⬇️
internal/core/src/common/BitsetView.h 88.23% <100.00%> (+2.52%) ⬆️
internal/core/src/common/EasyAssert.h 47.36% <ø> (ø)
internal/core/src/common/FieldMeta.h 66.14% <100.00%> (+2.50%) ⬆️
internal/core/src/common/File.h 100.00% <ø> (ø)
internal/core/src/common/Json.h 85.10% <ø> (-0.32%) ⬇️
internal/core/src/common/QueryResult.h 100.00% <ø> (ø)
internal/core/src/common/protobuf_utils.h 100.00% <100.00%> (ø)
internal/core/src/mmap/Column.h 96.73% <66.66%> (-1.87%) ⬇️
internal/core/src/segcore/SegmentSealedImpl.cpp 78.74% <0.00%> (-0.20%) ⬇️

... and 154 files with indirect coverage changes

@czs007
Copy link
Collaborator

czs007 commented Dec 5, 2023

/approve
/lgtm

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: czs007, yah01

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit 1ab538b into milvus-io:2.3 Dec 5, 2023
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants