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

safe-global / safe-client-gateway / 7264075956 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 19 Dec 2023 03:40PM UTC
Files 1040
Run time 28s
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

19 Dec 2023 03:37PM UTC coverage: 90.734% (-0.008%) from 90.742%
7264075956.1

push

github

web-flow
feat: add `getSafesByModule` and `clearSafesByModule` to `SafeRepository` (#954)

This adds the following functionality to the `SafeRepository`, as well as integrating within the `CacheHooksService`:

- `getSafesByModule` - fetches and caches endpoint result
- `clearSafesByModule` - clears existing cache of endpoint result

`clearSafesByModule` is called within the `CacheHooksService` whenever a `EventType.MODULE_TRANSACTION` event occurs.

Please note that the cache should also invalidate on an `EXECUTED_MULTISIG_TRANSACTION` event but as this is primarily focused on recovery (for the time being) this should not be an issue due to the specificity of recovery modules to individual Safes.

* feat: implement `IModulesRepository` + cache clearing

* fix: use static method

* fix: migrate to `SafeRepository`, add validation + remove network mock

* feat: add Safes by module

* fix: add `TODO` for future PR

* fix: update comment

1457 of 1748 branches covered (0.0%)

Branch coverage included in aggregate %.

10636 of 11580 relevant lines covered (91.85%)

69.78 hits per line

Source Files on job run-test:cov - 7264075956.1
  • Tree
  • List 0
  • Changed 179
  • Source Changed 5
  • Coverage Changed 130
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 7264075956
  • f55c0b5a on github
  • Prev Job for on main (#7262135972.2)
  • Next Job for on main (#7274288029.1)
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