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

RobotWebTools / rclnodejs / 40483451824
91%

Build:
DEFAULT BRANCH: develop
Ran 27 Oct 2026 09:54AM UTC
Jobs 1
Files 67
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

27 Oct 2026 09:47AM UTC coverage: 91.164% (+0.002%) from 91.162%
40483451824

push

github

web-flow
Synchronize executor restarts with callbacks still in flight (#1664)

## Summary

Prevent executor restarts from racing with callbacks that have not yet returned. Keep old callbacks from acknowledging new work, and delay the restarted worker until earlier callback execution and cleanup finish.

## Changes

- Track in-flight callbacks in `DoWork()` and `SpinOnce()`.
- Use RAII guards to update callback counts and notify waiting workers on exit.
- Associate work completion with the original async handle so stale callbacks cannot clear a restarted executor's pending-work flag.
- Wait for earlier callbacks to finish before initializing the restarted worker's wait set.
- Allow stop requests to interrupt that wait, preventing deadlocks during repeated stop/restart operations.
- Add seven regression tests covering restart, entity mutation, and stopping again from ordinary callbacks, `uncaughtException` handlers, and `spinOnce()` callbacks.

Fix: #1665

2320 of 2715 branches covered (85.45%)

Branch coverage included in aggregate %.

18087 of 19670 relevant lines covered (91.95%)

252.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40483451824.1 27 Oct 2026 09:54AM UTC 67
91.16
GitHub Action Run
Source Files on build 40483451824
  • Tree
  • List 67
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40483451824
  • 4c9ff990 on github
  • Prev Build on develop (#40480593675)
  • Next Build on develop (#40807631884)
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