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

BCDA-APS / 3idc-bits / 27653721301
56%

Build:
DEFAULT BRANCH: main
Ran 16 Jun 2026 11:01PM UTC
Jobs 1
Files 27
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

16 Jun 2026 10:58PM UTC coverage: 55.779% (-0.2%) from 55.983%
27653721301

push

github

prjemian
flyscan: suppress post-stop primary events when motor is at rest

Scan 8 (2026-06-16 17:14-17:20) emitted 63 spurious 'primary'
stream events over 2m39s after monitor_loop detected the p_end
crossing and stopped the cam.  Every event reported
array_counter=109 and motor=5.041 -- the same frame and position,
ticking every 2s until cam_stopped_status finally fired.

Reading the code, _emit_pending_frames only emits if
'highest > last_captured'.  Empirically that condition was true
post-stop, meaning the IOC continued to publish num_captured CA
monitor events after the cam was told to stop -- either the cam
finishing its in-flight burst at the time of acquire=0, or the
CA dispatcher re-publishing.  Either way these were not 'new
in-scan frames'; they were noise.

Gate event emission on (NOT acquire_stopped) OR (motor still
moving).  When both are true (post-stop, motor at rest), update
the highest-seen bookkeeping for the loop's exit condition but
suppress bps.create / bps.read / bps.save.

Uses flymotor.motor_done_move (the standard EpicsMotor .DMOV
PV wrapper).  Defaults to True if the attribute is missing or
unreadable, so suppression is conservative on devices that don't
expose .DMOV.

Live test will validate; the nested-closure form of
_emit_pending_frames makes a focused unit test impractical
without a small refactor that I'm deferring.

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

2 existing lines in 1 file now uncovered.

1221 of 2189 relevant lines covered (55.78%)

0.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
17.89
-0.19% src/id3c/plans/flyscan_3idc.py

Coverage Regressions

Lines Coverage ∆ File
2
17.89
-0.19% src/id3c/plans/flyscan_3idc.py
Jobs
ID Job ID Ran Files Coverage
1 3.11 - 27653721301.1 16 Jun 2026 11:01PM UTC 27
55.78
GitHub Action Run
Source Files on build 27653721301
  • Tree
  • List 27
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 28883db5 on github
  • Prev Build on main (#27651423121)
  • 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