Skip to content

khepri_cluster: Fix guard of do_wait_for_leader/3#370

Merged
dumbbell merged 1 commit into
v0.17.xfrom
fix-guard-of-do_wait_for_leader
Mar 12, 2026
Merged

khepri_cluster: Fix guard of do_wait_for_leader/3#370
dumbbell merged 1 commit into
v0.17.xfrom
fix-guard-of-do_wait_for_leader

Conversation

@dumbbell
Copy link
Copy Markdown
Collaborator

Why

It was using a generic is_atom() instead of the dedicated ?IS_KHEPRI_STORE_ID() macro.

[Why]
It was using a generic `is_atom()` instead of the dedicated
`?IS_KHEPRI_STORE_ID()` macro.
@dumbbell dumbbell added this to the v0.17.6 milestone Mar 12, 2026
@dumbbell dumbbell self-assigned this Mar 12, 2026
@dumbbell dumbbell added the bug Something isn't working label Mar 12, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.07%. Comparing base (e3f5c79) to head (f81c789).
⚠️ Report is 2 commits behind head on v0.17.x.

Additional details and impacted files
@@             Coverage Diff             @@
##           v0.17.x     #370      +/-   ##
===========================================
+ Coverage    90.04%   90.07%   +0.02%     
===========================================
  Files           22       22              
  Lines         3525     3525              
===========================================
+ Hits          3174     3175       +1     
+ Misses         351      350       -1     
Flag Coverage Δ
erlang-26 89.87% <ø> (-0.15%) ⬇️
erlang-27 90.01% <ø> (+0.17%) ⬆️
erlang-28 90.01% <ø> (+0.17%) ⬆️
os-ubuntu-latest 90.07% <ø> (+0.19%) ⬆️
os-windows-latest 90.04% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@dumbbell dumbbell marked this pull request as ready for review March 12, 2026 15:30
@dumbbell dumbbell merged commit 082ddbe into v0.17.x Mar 12, 2026
26 checks passed
@dumbbell dumbbell deleted the fix-guard-of-do_wait_for_leader branch March 12, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant