Skip to content

Comments

refactor(metadata): improve the stm update method#2757

Merged
numinnex merged 3 commits intomasterfrom
improve_state_machine_apply
Feb 17, 2026
Merged

refactor(metadata): improve the stm update method#2757
numinnex merged 3 commits intomasterfrom
improve_state_machine_apply

Conversation

@numinnex
Copy link
Contributor

Adds the ability for fn apply() method from State and StateMachine to return an error.

@codecov
Copy link

codecov bot commented Feb 17, 2026

Codecov Report

❌ Patch coverage is 60.00000% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.30%. Comparing base (78ef2b9) to head (6d2c3b2).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
core/metadata/src/stm/mod.rs 45.45% 5 Missing and 1 partial ⚠️
core/metadata/src/stm/mux.rs 77.77% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2757      +/-   ##
============================================
- Coverage     68.32%   68.30%   -0.03%     
  Complexity      656      656              
============================================
  Files           741      741              
  Lines         62158    62162       +4     
  Branches      58571    58575       +4     
============================================
- Hits          42472    42459      -13     
- Misses        17577    17592      +15     
- Partials       2109     2111       +2     
Flag Coverage Δ
rust 69.36% <60.00%> (-0.03%) ⬇️

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

Files with missing lines Coverage Δ
core/metadata/src/stm/mux.rs 91.35% <77.77%> (-1.05%) ⬇️
core/metadata/src/stm/mod.rs 48.00% <45.45%> (+1.42%) ⬆️

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@numinnex numinnex merged commit 2dca380 into master Feb 17, 2026
109 of 112 checks passed
@numinnex numinnex deleted the improve_state_machine_apply branch February 17, 2026 21:30
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