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

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

Build:
DEFAULT BRANCH: main
Ran 19 Dec 2023 03:40PM UTC
Files 874
Run time 21s
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: 54.828% (-0.05%) from 54.874%
7264075956.2

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

204 of 1646 branches covered (0.0%)

Branch coverage included in aggregate %.

6258 of 10140 relevant lines covered (61.72%)

4.62 hits per line

Source Files on job run-test:e2e:cov - 7264075956.2
  • Tree
  • List 874
  • Changed 5
  • Source Changed 5
  • Coverage Changed 112
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.1)
  • 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