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

Unleash / unleash / 14510335222
86%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 17 Apr 2025 07:27AM UTC
Jobs 1
Files 717
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

17 Apr 2025 07:22AM UTC coverage: 86.4% (+0.02%) from 86.383%
14510335222

push

github

web-flow
fix: double token initialization (#9783)

## About the changes
Initially at Unleash we started using `process.nextTick` inside
constructors to delay initialization of services.
Later we stared using a pattern where we instantiate services multiple
times.
The problem is the first pattern implies we have singleton services,
while the second pattern breaks the singleton.

There are reasons for both patterns, but we've decided that
`process.nextTick` inside constructors is not something we want to keep
as it creates side effects from creating objects. Instead this PR
proposes a more explicit approach.

Fixes #9775

2973 of 3997 branches covered (74.38%)

8 of 12 new or added lines in 3 files covered. (66.67%)

3 existing lines in 3 files now uncovered.

15012 of 17375 relevant lines covered (86.4%)

656.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
80.0
0.0% src/lib/server-impl.ts
3
87.05
-1.36% src/lib/services/api-token-service.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.57
-1.89% src/lib/features/frontend-api/client-feature-toggle-read-model.ts
1
96.23
-1.89% src/lib/features/frontend-api/global-frontend-api-cache.ts
1
87.05
-1.36% src/lib/services/api-token-service.ts
Jobs
ID Job ID Ran Files Coverage
1 14510335222.1 17 Apr 2025 07:27AM UTC 717
86.4
GitHub Action Run
Source Files on build 14510335222
  • Tree
  • List 717
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 331de07e on github
  • Prev Build on main (#14489349294)
  • Next Build on main (#14513243725)
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

© 2026 Coveralls, Inc