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

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

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2026 05:30AM UTC
Jobs 2
Files 1114
Run time 2min
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

09 Apr 2026 05:27AM UTC coverage: 90.103% (+0.2%) from 89.941%
24174068770

push

github

web-flow
refactor(circuit-breaker): simplify configuration and remove per-circuit overrides (#2997)

* refactor(circuit-breaker): simplify configuration and remove per-circuit overrides

Unify failureThreshold/successThreshold into a single threshold value,
replace halfOpenMaxRequests with percentage-based halfOpenFailureRateThreshold,
remove per-circuit config overrides, and clean up unused metrics (successCount,
halfOpenRequestCounts). recordFailure now accepts circuit name instead of object.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* style: fix prettier formatting

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* refactor(circuit-breaker): lower default threshold and improve error handling

Move canProceedOrFail outside try block, record success for non-server
errors, and reduce default threshold from 20 to 10.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* test(circuit-breaker): fix integration test to use dynamic threshold

The test hardcoded 2 failures to trip the circuit, but the default
threshold was lowered to 10. Use defaultThreshold in a loop to match
the pattern of other circuit breaker tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(circuit-breaker): address review feedback on HALF_OPEN state and config

- Reset lastFailureTime on HALF_OPEN transition to prevent stale value
  from causing confusing discardOldFailures behavior
- Fix .env.sample.json CIRCUIT_BREAKER_THRESHOLD default (20 -> 10) to
  match configuration.ts
- Add dedicated unit tests for canProceedOrFail public method

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(circuit-breaker): address review feedback on HALF_OPEN state and config

- Skip discardOldFailures in HALF_OPEN state to prevent stale
  lastFailureTime from resetting failureCount
- Fix .env.sample.json CIRCUIT_BREAKER_THRESHOLD default (20 -> 10) to
  match configuration.ts
- Add ... (continued)

3236 of 4022 branches covered (80.46%)

Branch coverage included in aggregate %.

48 of 49 new or added lines in 2 files covered. (97.96%)

3 existing lines in 3 files now uncovered.

15227 of 16469 relevant lines covered (92.46%)

610.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.26
-2.62% src/datasources/network/network.module.ts

Coverage Regressions

Lines Coverage ∆ File
1
93.55
-3.23% src/modules/notifications/routes/v1/entities/__tests__/create-registration-v2.dto.builder.ts
1
93.33
-2.67% src/modules/notifications/routes/v1/notifications.controller.ts
1
84.48
-0.86% src/modules/relay/domain/relayers/no-fee-campaign.relayer.ts
Jobs
ID Job ID Ran Files Coverage
1 run-unit-tests - 24174068770.1 09 Apr 2026 05:30AM UTC 1954
57.8
GitHub Action Run
2 run-integration-tests - 24174068770.2 09 Apr 2026 05:32AM UTC 2145
79.18
GitHub Action Run
Source Files on build 24174068770
  • Tree
  • List 1114
  • Changed 310
  • Source Changed 6
  • Coverage Changed 310
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24174068770
  • 67949981 on github
  • Prev Build on main (#24140363798)
  • Next Build on main (#24175051870)
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