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

safe-global / safe-client-gateway / 37014195298
90%

Build:
DEFAULT BRANCH: main
Ran 02 Oct 2026 01:40PM UTC
Jobs 2
Files 1043
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

02 Oct 2026 01:37PM UTC coverage: 89.49% (-0.02%) from 89.505%
37014195298

push

github

web-flow
feat(entitlements): expose the subscription status on the plan (#3538)

`EntitlementsPlan` now has a `status` field, either `'active'` or `'trialing'`. Before this change a client could only tell from `plan !== null` that a workspace has a subscription. It could not tell a trial from a paid plan. The web app's workspace list labels a trial "Free access" and a paid plan by its name, so today each row calls `GET /v1/billing/.../subscriptions` for its own workspace, one request per workspace. With `status` in the plan, the list can label every row from one `GET /v1/spaces/entitlements` call, which the sidebar workspace selector already makes.

The value is the `status` of the subscription row that already holds the workspace's active slot. That row can only be `active` or `trialing` (`ACTIVE_SUBSCRIPTION_STATUSES`), so `status` is never null when `plan` is set. Both `GET /v1/spaces/:spaceId/entitlements` and `GET /v1/spaces/entitlements` get the field, because they share `toEntitlementsResponse`. The field is added to the response and no existing field changes, so current clients keep working. The response is not cached (only the grants are), so there is no cached shape to migrate.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

4579 of 5373 branches covered (85.22%)

Branch coverage included in aggregate %.

11667 of 12781 relevant lines covered (91.28%)

509.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
86.67
-5.0% src/modules/notifications/routes/v1/notifications.controller.ts
Jobs
ID Job ID Ran Files Coverage
1 run-integration-tests - 37014195298.1 02 Oct 2026 01:43PM UTC 1043
64.85
GitHub Action Run
2 run-unit-tests - 37014195298.2 02 Oct 2026 01:40PM UTC 1043
67.09
GitHub Action Run
Source Files on build 37014195298
  • Tree
  • List 1043
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37014195298
  • 002f9cba on github
  • Prev Build on main (#37004366400)
  • Next Build on main (#37027858694)
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