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

jacob-meacham / rotary-voip / 26386056412
59%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 06:07AM 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:05AM UTC coverage: 59.257% (-0.009%) from 59.266%
26386056412

push

github

jacob-meacham
fix(dial): poll DIAL_ACTIVE level instead of tracking its edges

Earlier attempts to use GPIO22 (off-normal) as a digit-boundary signal
ran aground because on this dial the off-normal switch chatters along
with the pulse contact (internal jumper between blue and white).
Trying to track its edges led to spurious "dial started" events
mid-pulse-train.

Much simpler: just poll DIAL_ACTIVE's level each time a pulse fires
on DIAL_PULSE. If it reads HIGH (dial at rest), the pulse is noise —
EMI from hook switch operation, contact glitch with no actual dial
movement, etc. — and we drop it. The fact that GPIO22 chatters HIGH
briefly between pulses doesn't matter, because no real pulse fires
on GPIO27 during those brief HIGH gaps; only real pulses (when
GPIO22 is reliably LOW) reach the level check.

Removes the edge subscription on DIAL_ACTIVE and all the settle /
quiet-period / dial-start tracking. Keeps inter-pulse timeout for
emission.

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

3 of 5 new or added lines in 1 file covered. (60.0%)

2391 of 4035 relevant lines covered (59.26%)

0.59 hits per line

Uncovered Changes

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