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

jacob-meacham / rotary-voip / 26386918502
59%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 06:34AM UTC
Jobs 1
Files 46
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

25 May 2026 06:32AM UTC coverage: 59.429% (+0.2%) from 59.257%
26386918502

push

github

jacob-meacham
fix(dial): add dial-start settle window to catch off-normal close glitch

The level-poll alone leaves a small race at dial-start: GPIO22 takes
a few µs to settle LOW once the user starts pulling the dial, and
if a contact-close glitch fires on GPIO27 during those µs, the level
check sees LOW (transition already happened by the time we poll) and
the glitch gets counted as a real pulse.

Add an explicit settle window: subscribe to DIAL_ACTIVE FALLING
edges; when one arrives after a long quiet period (= genuine
dial-start, not mid-pulse-train chatter), open a 50 ms window during
which pulses are dropped. Real digit pulses only start hitting GPIO27
once the user actually releases the dial (hundreds of ms after the
off-normal closed), so the settle window doesn't eat any real pulses.

The mid-pulse-train DIAL_ACTIVE LOW edges (the off-normal contact
chattering along with the pulse contact, internal-jumper artifact on
this dial) are filtered by the quiet-period requirement, so they
don't reset the settle window mid-digit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

24 of 28 new or added lines in 1 file covered. (85.71%)

2414 of 4062 relevant lines covered (59.43%)

0.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
85.71
-0.17% src/rotary_phone/hardware/dial_reader.py
Jobs
ID Job ID Ran Files Coverage
1 26386918502.1 25 May 2026 06:34AM UTC 46
59.43
GitHub Action Run
Source Files on build 26386918502
  • Tree
  • List 46
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26386918502
  • 7fa27d09 on github
  • Prev Build on main (#26386056412)
  • Next Build on main (#26405876166)
  • 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