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

optimizely / agent / 18234484985
86%
master: 87%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v4.4.0
DEFAULT BRANCH: master
Ran 06 Oct 2025 05:58AM 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

03 Oct 2025 09:42PM UTC coverage: 85.725% (-0.5%) from 86.177%
18234484985

Pull #444

github

Mat001
Add unit tests to improve code coverage

Coverage improvements for recent PR review fixes:

1. pkg/syncer/pubsub_test.go:
   - Test database type conversion (int vs float64 from YAML/JSON)
   - Covers the type switch added in getPubSubRedis/getPubSubRedisStreams
   - Tests valid types (int, float64) and invalid types (string, nil)

2. plugins/odpcache/services/redis_cache_test.go:
   - Test RedisCache.UnmarshalJSON method
   - Verifies password field priority: auth_token > redis_secret > password
   - Tests empty password handling and invalid JSON

3. plugins/userprofileservice/services/redis_ups_test.go:
   - Test RedisUserProfileService.UnmarshalJSON method
   - Verifies password field priority: auth_token > redis_secret > password
   - Tests empty password handling and invalid JSON

These tests cover the previously uncovered code paths from the flexible
Redis password configuration implementation.
Pull Request #444: [FSSDK-] Add redis-streams

424 of 511 new or added lines in 6 files covered. (82.97%)

3 existing lines in 1 file now uncovered.

3285 of 3832 relevant lines covered (85.73%)

2889.07 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
14
86.32
-7.91% pkg/syncer/pubsub.go
69
81.75
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 18234484985.1 06 Oct 2025 05:58AM UTC 51
85.73
GitHub Action Run
Source Files on build 18234484985
  • Tree
  • List 51
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
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