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

feat: first iteration of C client library #636

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

letFunny
Copy link

No description provided.

Copy link

codecov bot commented Apr 16, 2024

Codecov Report

Attention: Patch coverage is 93.23077% with 22 lines in your changes are missing coverage. Please review.

Project coverage is 81.38%. Comparing base (2b3d6cf) to head (05398d5).
Report is 6 commits behind head on master.

Files Patch % Lines
src/client.c 76.40% 8 Missing and 13 partials ⚠️
test/unit/test_client.c 99.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #636      +/-   ##
==========================================
+ Coverage   81.21%   81.38%   +0.16%     
==========================================
  Files         192      195       +3     
  Lines       27061    26198     -863     
  Branches     4943     4660     -283     
==========================================
- Hits        21978    21320     -658     
+ Misses       3445     3281     -164     
+ Partials     1638     1597      -41     

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

@cole-miller cole-miller self-requested a review April 16, 2024 15:51
Copy link
Contributor

@cole-miller cole-miller left a comment

Choose a reason for hiding this comment

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

Just some style comments for the first pass

src/client.c Outdated Show resolved Hide resolved
src/client.c Outdated Show resolved Hide resolved
src/client.c Outdated Show resolved Hide resolved
src/client.c Outdated Show resolved Hide resolved
static char *bools[] = {"0", "1", NULL};

static MunitParameterEnum client_params[] = {
{"disk_mode", bools},
Copy link
Contributor

Choose a reason for hiding this comment

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

I would just ditch the disk mode param since the old disk mode is going away

Copy link
Author

Choose a reason for hiding this comment

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

This file is copied from existing tests, just renamed to better reflect what it is still testing. Should I remove the param before the old disk mode goes away?

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.

None yet

2 participants