• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kaidokert / rm32 / 25201063715
63%

Build:
DEFAULT BRANCH: main
Ran 01 May 2026 03:38AM UTC
Jobs 1
Files 34
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 May 2026 03:37AM UTC coverage: 60.924% (-0.1%) from 61.057%
25201063715

push

github

web-flow
Extract MotorState sub-trait from SharedComm (#25)

* Extract MotorState sub-trait from SharedComm

First step of SharedComm decomposition: extract the 11 motor mode
methods (motor_mode, set_motor_mode, transition, armed/running/
old_routine/stepper_sine + setters) into a dedicated MotorState trait.

SharedComm now requires MotorState as a super-trait. SharedState and
TestShared implement MotorState separately. Callers using SharedComm
as a trait bound get MotorState methods automatically; callers using
concrete types need MotorState imported.

This is the pilot for the sub-trait pattern described in
SHAREDCOMM_AUDIT.md — validates the approach before extracting
IsrTiming and MainControl.

* Override MotorState convenience setters with atomic CAS on SharedState

The trait default implementations use non-atomic load+store. SharedState
has atomic fetch_update inherent methods for set_armed, set_running,
set_old_routine, set_stepper_sine. Override the trait methods to
delegate to those, preventing race conditions when accessed through
the MotorState trait.

0 of 12 new or added lines in 1 file covered. (0.0%)

2 existing lines in 2 files now uncovered.

3338 of 5479 relevant lines covered (60.92%)

624.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
24.31
-0.63% rm32/src/shared_state.rs

Coverage Regressions

Lines Coverage ∆ File
1
22.94
0.0% rm32/src/shared_comm.rs
1
24.31
-0.63% rm32/src/shared_state.rs
Jobs
ID Job ID Ran Files Coverage
1 25201063715.1 01 May 2026 03:38AM UTC 34
60.92
GitHub Action Run
Source Files on build 25201063715
  • Tree
  • List 34
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25201063715
  • 5c88d7ec on github
  • Prev Build on main (#25197859786)
  • Next Build on main (#25201391585)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc