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

ossia / libossia / 30213123276
55%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2026 02:56AM UTC
Jobs 1
Files 488
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

26 Jul 2026 05:41PM UTC coverage: 47.703% (-0.004%) from 47.707%
30213123276

push

github

jcelerier
network: restart the io_context when polling it

network_context::run() already restarts the context after run() returns;
poll() had no equivalent, and asio marks a scheduler stopped as soon as its
outstanding work count reaches zero. A caller that drives the context by
polling it from an external event loop therefore gets exactly one useful
poll: the first one runs with no work queued, the work count drops back to
zero on return, scheduler::stop() sets stopped_, and every later poll()
short-circuits on `if (stopped_) return 0`. Nothing ever calls restart(),
so every asio-driven protocol goes silent.

This is what happens on WebAssembly, where score polls the network context
from a Qt timer instead of running it on a thread: a joystick device would
be created and enumerated correctly and then never deliver a single axis or
button value, because the 4 ms SDL polling timer was queued on a context
that had been stopped 8 ms into the document's life.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019oPj1zRcxSQX7FNni7EHM6

0 of 12 new or added lines in 2 files covered. (0.0%)

2 existing lines in 1 file now uncovered.

25972 of 54445 relevant lines covered (47.7%)

180868.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
0.0
0.0% src/ossia/network/context.hpp
1
15.38
0.0% src/ossia/network/context.cpp

Coverage Regressions

Lines Coverage ∆ File
2
50.6
-0.22% src/ossia/network/domain/domain_variant_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 30213123276.1 27 Jul 2026 02:56AM UTC 488
47.7
GitHub Action Run
Source Files on build 30213123276
  • Tree
  • List 488
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • efb1afc1 on github
  • Prev Build on master (#30059977846)
  • Next Build on master (#30359366809)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc