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

cpmpercussion / impsy / 25150347458
82%

Build:
DEFAULT BRANCH: main
Ran 30 Apr 2026 06:12AM UTC
Jobs 3
Files 13
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

30 Apr 2026 06:11AM UTC coverage: 82.04% (+0.9%) from 81.129%
25150347458

push

github

cpmpercussion
Fix WebSocket channel handling and gate debug print

Three fixes in WebSocketServer:

1. Channel translation: outgoing messages now use 1-based channels
   (mido.channel + 1) on the wire so they match the MIDI config
   convention. The receiver was already reading channels as 1-based;
   the outgoing side was sending 0-based, so echo-back round-trip was
   broken. Existing test asserting "/channel/0/noteon/..." for mido
   channel=0 was locking in the bug — updated to "/channel/1/...".

2. Input lookup: websocket_handler was indexing self.config["midi"]
   ["input"], but since multi-MIDI-port support that key is now a
   per-device dict, not a flat list. Switched to self.midi_input_mapping
   (the [websocket].input mapping) which the constructor already stores.

3. Debug print: WS message logging is now gated on self.verbose
   instead of always printing every message in red.

New round-trip regression test feeds output of websocket_send_midi
back through websocket_handler and asserts the index/value land in the
right slot.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

9 of 10 new or added lines in 1 file covered. (90.0%)

1 existing line in 1 file now uncovered.

1311 of 1598 relevant lines covered (82.04%)

2.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
84.44
3.72% impsy/impsio.py

Coverage Regressions

Lines Coverage ∆ File
1
84.44
3.72% impsy/impsio.py
Jobs
ID Job ID Ran Files Coverage
1 25150347458.1 30 Apr 2026 06:12AM UTC 13
82.04
GitHub Action Run
2 25150347458.2 30 Apr 2026 06:12AM UTC 13
81.66
GitHub Action Run
3 25150347458.3 30 Apr 2026 06:13AM UTC 13
82.04
GitHub Action Run
Source Files on build 25150347458
  • Tree
  • List 13
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 17ff48b8 on github
  • Prev Build on main (#25149911480)
  • Next Build on main (#25150402433)
  • 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