Repository navigation
fix(shard): keep the pipeline head when the metadata walk stalls - #4429
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (22.22%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #4429 +/- ##
=============================================
- Coverage 90.72% 82.07% -8.65%
+ Complexity 2612 2610 -2
=============================================
Files 1405 1399 -6
Lines 327848 239686 -88162
Branches 279618 192098 -87520
=============================================
- Hits 297437 196726 -100711
- Misses 24152 37044 +12892
+ Partials 6259 5916 -343
🚀 New features to boost your workflow:
|
|
/skill team-review-slim |
There was a problem hiding this comment.
Summary: The change makes commit_journal report why it stopped and narrows the tick_metadata truncation trigger to BodyMissing stops. The reported findings are three comment-accuracy nits and one unobservable reset branch, and a failed WAL read still lands in the same BodyMissing classification that can truncate the suffix, a pre-existing path this change does not widen.
Counts: critical 0, warning 0, nit 3, simplification 1
Findings without an anchor on a changed line:
core/shard/src/lib.rs:10592simplification:metadata_walk_stuck_oponly ever recordscommit_min + 1, so clearing it here cannot change any later read. Delete theelsearm and update the field doc to match. Saves about 3 lines.
This review was generated by Claude Code 2.1.284 on deepseek-flash[1m]. Review the output before you act on it.
Closes #4294