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

jacob-meacham / rotary-voip / 26384958031
59%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 05:31AM 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 05:29AM UTC coverage: 59.56% (+0.3%) from 59.233%
26384958031

push

github

jacob-meacham
feat(dial): use off-normal switch as digit gate

Refactors DialReader so a digit is delimited by the off-normal switch
(DIAL_ACTIVE) instead of an inter-pulse timeout. This eliminates two
classes of bug:

1. Phantom pulses fired by the off-normal contact-close glitch when
   the user starts to slowly pull the dial. With the gate model these
   land inside a configurable settle window after DIAL_ACTIVE goes LOW
   and are discarded by design.

2. Long delays before a digit is recognized — emission now happens on
   DIAL_ACTIVE rising (dial fully home), not after pulse-timeout
   silence.

Wiring requirement: blue goes to GND, yellow to GPIO27 (pulse). This
ordering matters because the dial internally bridges blue/red/white
when the off-normal is closed; with blue on GND, GPIO22 (off-normal,
read on red) stays cleanly LOW for the whole dial cycle and rises
only when the dial is fully returned. See HARDWARE.md and CLAUDE.md.

Removes pulse_timeout from config (no longer used). Adds
pulse_settle (default 150 ms). Updates test_harness simulate helpers
and integration-test simulator to drive DIAL_ACTIVE around the pulse
train so existing tests still pass.

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

56 of 61 new or added lines in 1 file covered. (91.8%)

2408 of 4043 relevant lines covered (59.56%)

0.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
90.91
7.13% src/rotary_phone/hardware/dial_reader.py
Jobs
ID Job ID Ran Files Coverage
1 26384958031.1 25 May 2026 05:31AM UTC 46
59.56
GitHub Action Run
Source Files on build 26384958031
  • Tree
  • List 46
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26384958031
  • c10c6eb1 on github
  • Prev Build on main (#26376472223)
  • Next Build on main (#26385350507)
  • 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