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

ReactiveX / RxPY / 30341405946
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: fix/694-window-time-or-count-sync
DEFAULT BRANCH: master
Ran 28 Jul 2026 08:12AM UTC
Jobs 1
Files 417
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

28 Jul 2026 08:11AM UTC coverage: 93.5% (+0.005%) from 93.495%
30341405946

Pull #812

github

dbrattli
fix(operators): synchronize window_with_time_or_count

The window state (`n`, `s`, `window_id`) was mutated from both the source
thread (`on_next`) and the scheduler thread (the timer `action`) with no
synchronization.

When the timer closes a window it calls `s.on_completed()` before
reassigning `s = Subject()`. `on_completed()` synchronously runs the whole
downstream chain, so while any user work is in progress the source thread
keeps calling `s.on_next(x)` on a subject that has already completed, and
those items are silently discarded.

Guard `action`, `on_next`, `on_error` and `on_completed` with
`synchronized(source.lock)`, matching what `window_with_time` already does
and what Rx.NET's `WindowTimeCount` does with its gate. `buffer_with_time_
or_count` is built on this operator and was affected too.

Fixes #694

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #812: fix(operators): synchronize window_with_time_or_count

24 of 24 new or added lines in 2 files covered. (100.0%)

25736 of 27525 relevant lines covered (93.5%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30341405946.1 28 Jul 2026 08:12AM UTC 417
93.5
GitHub Action Run
Source Files on build 30341405946
  • Tree
  • List 417
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #812
  • PR Base - master (#30296874217)
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