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

safe-global / safe-client-gateway / 19935866643
90%
main: 89%

Build:
Build:
LAST BUILD BRANCH: feat/evm-revert-decoding
DEFAULT BRANCH: main
Ran 04 Dec 2025 04:24PM UTC
Jobs 2
Files 1004
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

04 Dec 2025 04:14PM UTC coverage: 90.047% (-0.1%) from 90.182%
19935866643

Pull #2830

github

gjeanmart
feat: add wildcard pattern support for HTTP client endpoint timeouts

The initial implementation of HTTP_CLIENT_ENDPOINT_TIMEOUTS only supported
simple substring matching, which doesn't work for endpoints with dynamic
path segments (e.g., safeAddress in /api/v1/safes/{safeAddress}/...).

This change adds wildcard pattern matching using '*' to match any segment
in the path, while maintaining backward compatibility with simple substring
matching.

Changes:
- Add matchesEndpointPattern() function supporting wildcard patterns
- Update getTimeoutForUrl() to use pattern matching instead of simple includes()
- Add comprehensive tests for wildcard pattern matching scenarios
- Update configuration documentation with wildcard pattern examples

Examples:
- Simple substring: {"endpoint": "all-transactions", "timeout": 30000}
- Wildcard pattern: {"endpoint": "safes/*/multisig-transactions", "timeout": 25000}
  Matches: /api/v1/safes/{anyAddress}/multisig-transactions/ for any address

Patterns are matched in order, with the first match winning.
Pull Request #2830: feat: add path-based HTTP client timeout configuration

2862 of 3575 branches covered (80.06%)

Branch coverage included in aggregate %.

19 of 33 new or added lines in 3 files covered. (57.58%)

1 existing line in 1 file now uncovered.

13784 of 14911 relevant lines covered (92.44%)

601.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
87.03
-4.54% src/config/entities/configuration.ts
7
62.26
-34.61% src/config/entities/schemas/configuration.schema.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.87
0.85% src/modules/safe-shield/threat-analysis/threat-analysis.service.ts
Jobs
ID Job ID Ran Files Coverage
1 run-integration-tests - 19935866643.1 04 Dec 2025 04:40PM UTC 1879
53.44
GitHub Action Run
2 run-unit-tests - 19935866643.2 04 Dec 2025 04:24PM UTC 1946
88.52
GitHub Action Run
Source Files on build 19935866643
  • Tree
  • List 1004
  • Changed 283
  • Source Changed 13
  • Coverage Changed 283
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19935866643
  • Pull Request #2830
  • PR Base - main (#19934868843)
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