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

Unleash / unleash / 30364933705
87%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 28 Jul 2026 01:49PM UTC
Jobs 1
Files 1209
Run time 4min
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 01:43PM UTC coverage: 87.222% (-0.002%) from 87.224%
30364933705

push

github

web-flow
feat: emit SDK flavor metadata from frontend client

๐Ÿ› Issue: 
When running the frontend SDKs (Swift, Android) for testing the
OpenFeature integrations, we see flavor metadata set as "not-set" on
Prometheus metrics.

The frontend SDKs send flavor metadata as the `unleash-sdk-flavor`
header to the Frontend API with a POST to /api/frontend/client/metrics,
but that header currently goes nowhere.
 
The difference with backend API: the `registerBackendClient`emits the
`CLIENT_REGISTER` heartbeat that feeds the `client_sdk_versions`
counter, but on the frontend client side the `registerFrontendClient`
only calls `updateSeenClient` - without any heartbeat. Till now that
path doesn't emit the `CLIENT_REGISTER` heartbeat that feeds the
`client_sdk_versions `counter.

โœ๐Ÿฝ So, on this PR, we:
- update `registerFrontendClient` to emit the heartbeat from the
frontend path, as we do for the backend path
- add flavor metadata to `IFrontendClientApp`
- update `registerFrontendApiMetrics` to accept + thread the flavor
- update the controller to pass the headers to
`frontendApiService.registerFrontendApiMetrics()`
- add tests ๐Ÿงช to assert that the heartbeat fires with the flavor labels
when the flag is on
- add e2e tests ๐Ÿงช to check we record the sdk flavor from frontend
metrics headers

1966 of 2179 branches covered (90.22%)

5 of 5 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

15714 of 18016 relevant lines covered (87.22%)

769.02 hits per line

Coverage Regressions

Lines Coverage โˆ† File
1
92.16
-1.96% src/lib/features/feature-toggle/configuration-revision-service.ts
Jobs
ID Job ID Ran Files Coverage
1 30364933705.1 28 Jul 2026 01:49PM UTC 1209
87.22
GitHub Action Run
Source Files on build 30364933705
  • Tree
  • List 1209
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage โˆ† File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30364933705
  • cbd88736 on github
  • Prev Build on main (#30358422915)
  • Next Build on main (#30436549691)
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