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

optimizely / agent / 18291136855
86%
master: 87%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v4.4.0
DEFAULT BRANCH: master
Ran 06 Oct 2025 06:49PM UTC
Jobs 1
Files 51
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

06 Oct 2025 06:45PM UTC coverage: 86.415% (+0.2%) from 86.177%
18291136855

Pull #444

github

Mat001
Fix race condition in Subscribe ready channel

Address reviewer feedback on race condition that was only partially fixed:

Problem:
- If context is cancelled while goroutine is initializing, the main
  function returns via ctx.Done() case but goroutine continues running
- Goroutine could block trying to send to ready channel if no receiver
- This creates a goroutine leak

Solution:
- Wrap both ready channel sends in select statements
- Check ctx.Done() before sending to ready channel
- If main function already returned, goroutine exits immediately
- Prevents goroutine from blocking on channel send

This ensures proper cleanup when Subscribe() caller cancels the context
during the initialization phase.
Pull Request #444: [FSSDK-] Add redis-streams

438 of 514 new or added lines in 6 files covered. (85.21%)

3 existing lines in 1 file now uncovered.

3314 of 3835 relevant lines covered (86.41%)

3425.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
69.74
7.24% plugins/odpcache/services/redis_cache.go
2
80.52
3.33% plugins/userprofileservice/services/redis_ups.go
72
81.1
pkg/syncer/pubsub/redis_streams.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
85.42
0.0% pkg/optimizely/cache.go
Jobs
ID Job ID Ran Files Coverage
1 18291136855.1 06 Oct 2025 06:49PM UTC 51
86.41
GitHub Action Run
Source Files on build 18291136855
  • Tree
  • List 51
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #444
  • PR Base - master (#17843218393)
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

© 2025 Coveralls, Inc