ci: exclude state transition boilerplate from coverage#3458
Conversation
Exclude mechanical trait implementations across all state transitions that are pure dispatch/conversion code with no business logic: - state_transition_like.rs — StateTransitionLike trait dispatch - value_conversion.rs — From/TryFrom Value conversions - json_conversion.rs — JSON serialization/deserialization - identity_signed.rs — IdentitySigned trait delegation - state_transition_fee_strategy.rs — fee strategy constants - state_transition_estimated_fee_validation.rs — fee calculation dispatch These files follow identical patterns across all identity/document transitions and don't contain testable business logic. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Review GateCommit:
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Excludes mechanical state transition trait implementations from coverage. Config-only change.
New exclusions
**/state_transition_like.rs**/value_conversion.rs**/json_conversion.rs**/identity_signed.rs**/state_transition_fee_strategy.rs**/state_transition_estimated_fee_validation.rsThese files exist in every identity/document state transition and follow identical patterns. The real validation logic is in
state_transition_validation.rs(NOT excluded).Impact
~3,500 lines of boilerplate removed from coverage denominator, primarily from:
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit