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

safe-global / safe-client-gateway / 21989482444
89%

Build:
DEFAULT BRANCH: main
Ran 13 Feb 2026 02:01PM UTC
Jobs 2
Files 1064
Run time 3min
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

13 Feb 2026 01:58PM UTC coverage: 89.408% (+0.01%) from 89.398%
21989482444

push

github

web-flow
feat: add Config Service v2 endpoints with service-aware feature flags (#2905)

* docs: add specification for service-aware config v2 endpoints

Add comprehensive specification and implementation plan for integrating
Config Service v2 endpoints that support service-scoped feature configuration.

New CGW v2 endpoints:
- GET /v2/chains - service-scoped chain list
- GET /v2/chains/:chainId - service-scoped single chain

Key decisions:
- Existing v1 endpoints remain unchanged
- Internal components continue using Config Service v1
- Service key configurable via CONFIG_SERVICE_FRONTEND_KEY env var
- Default service key: "frontend"

* feat: add Config Service v2 endpoints with service-aware feature configuration

Add new v2 chain endpoints (GET /v2/chains, GET /v2/chains/:chainId) that
use Config Service v2 API with service-scoped feature configuration.

- Add ChainsV2Service and ChainsV2Controller
- Extend ConfigApi and ChainsRepository with v2 methods
- Add service-key-aware cache keys and invalidation
- Add CONFIG_SERVICE_FRONTEND_KEY env var (defaults to "frontend")

All v1 endpoints remain unchanged. V2 endpoints use isolated cache keys.

Related: specs/001-service-aware-config/spec.md

* refactor: rename CONFIG_SERVICE_FRONTEND_KEY to SAFE_CONFIG_FRONTEND_KEY

Updated the environment variable from CONFIG_SERVICE_FRONTEND_KEY to SAFE_CONFIG_FRONTEND_KEY across configuration files, documentation, and tests to enhance clarity and consistency. This change includes updates to the .env.sample, data model, quickstart guide, research notes, and configuration validation tests.

* refactor: streamline service key retrieval in ChainsRepository

Removed redundant calls to getOrThrow for 'safeConfig.serviceKey' in the ChainsRepository methods. Introduced a class property to store the service key, enhancing code clarity and reducing duplication. Updated related tests accordingly.

* chore: remove CLAUDE.md file

* feat: enhance clearChainV2 method to accept optional... (continued)

2976 of 3764 branches covered (79.06%)

Branch coverage included in aggregate %.

61 of 64 new or added lines in 7 files covered. (95.31%)

2 existing lines in 2 files now uncovered.

14412 of 15684 relevant lines covered (91.89%)

579.07 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.77
-4.23% src/modules/chains/domain/chains.repository.ts
2
87.3
-3.61% src/datasources/config-api/config-api.service.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.55
3.23% src/modules/notifications/routes/v1/entities/__tests__/create-registration-v2.dto.builder.ts
1
93.51
-2.6% src/modules/notifications/routes/v1/notifications.controller.ts
Jobs
ID Job ID Ran Files Coverage
1 run-integration-tests - 21989482444.1 13 Feb 2026 02:02PM UTC 2047
79.59
GitHub Action Run
2 run-unit-tests - 21989482444.2 13 Feb 2026 02:01PM UTC 1856
56.86
GitHub Action Run
Source Files on build 21989482444
  • Tree
  • List 1064
  • Changed 297
  • Source Changed 8
  • Coverage Changed 294
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21989482444
  • 29a469c9 on github
  • Prev Build on main (#21986829928)
  • Next Build on main (#21993091093)
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