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: add exec command support for xlinectl lock #871

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

bhavik-goplani
Copy link
Contributor

Please briefly answer these questions:

  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)
    To solve issue: [Feature]: Add exec command args for xlinectl lock command #823

  • what changes does this pull request make?
    Change the xlinectl lock command

  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

@mergify mergify bot requested a review from a team July 3, 2024 01:00
Copy link

mergify bot commented Jul 9, 2024

@bhavik-goplani Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft July 9, 2024 07:56
@mergify mergify bot added the CI:fail CI has failed label Jul 9, 2024
crates/xlinectl/src/command/lock.rs Show resolved Hide resolved
scripts/validation_test.sh Outdated Show resolved Hide resolved
scripts/validation_test.sh Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jul 11, 2024

Codecov Report

Attention: Patch coverage is 69.09091% with 17 lines in your changes missing coverage. Please review.

Project coverage is 75.99%. Comparing base (e35b35a) to head (573b982).
Report is 150 commits behind head on master.

Files Patch % Lines
crates/xlinectl/src/command/lock.rs 69.09% 17 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #871      +/-   ##
==========================================
+ Coverage   75.55%   75.99%   +0.43%     
==========================================
  Files         180      189       +9     
  Lines       26938    28405    +1467     
  Branches    26938    28405    +1467     
==========================================
+ Hits        20353    21585    +1232     
- Misses       5366     5486     +120     
- Partials     1219     1334     +115     

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

@CrystalAnalyst
Copy link
Contributor

Hi, Bhavik! I really appreciate your passion and resilience. Please add some unit test, and squash your commits into one.

@bhavik-goplani bhavik-goplani force-pushed the dev branch 2 times, most recently from 294f0b0 to f100b95 Compare July 11, 2024 22:16
@bhavik-goplani
Copy link
Contributor Author

@CrystalAnalyst Thanks for your feedback! I have made the final changes and added unit tests.

Signed-off-by: bhavik-goplani <56516858+bhavik-goplani@users.noreply.github.com>
@bhavik-goplani
Copy link
Contributor Author

bhavik-goplani commented Jul 14, 2024

@CrystalAnalyst Do you think I need to add more tests to hit the 75.5 % diff target? I think adding more test cases is redundant here.

@Phoenix500526 Phoenix500526 removed the CI:fail CI has failed label Jul 15, 2024
@CrystalAnalyst CrystalAnalyst merged commit 8d7063c into xline-kv:master Jul 17, 2024
15 of 16 checks passed
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