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

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

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2024 10:56AM UTC
Jobs 1
Files 549
Run time 1min
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

06 Aug 2024 09:59AM UTC coverage: 46.901% (-1.2%) from 48.055%
10264391053

push

github

web-flow
Add domain logic for push notifications (#1778)

Leverages the `NotificationsDatasource` to `getSubscribersWithTokensBySafe` for the relative `TransactionEventType` and `enqueueNotification`s accordingly:

- Add `INotificationsRepositoryV2` behind a feature flag:
  - `enqueueNotification`
  - `upsertSubscriptions`
  - `getSafeSubscription`
  - `getSubscribersWithTokensBySafe`
  - `deleteSubscription`
  - `deleteDevice`
- Extend `HooksRepository` with `onEventEnqueueNotifications` with respective entities.
- Add `transaction_hash` query to `getIncomingTransfers` and propagate changes/add tests.
- Locate previously domain-relative logic for notifications in domain, e.g. entities and builders.
- Add approriate test coverage.

451 of 2825 branches covered (15.96%)

Branch coverage included in aggregate %.

48 of 201 new or added lines in 10 files covered. (23.88%)

4491 of 7712 relevant lines covered (58.23%)

12.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
17
25.81
src/domain/notifications/notifications.repository.v2.ts
67
6.71
src/domain/hooks/helpers/event-notifications.helper.ts
69
51.39
-43.35% src/domain/hooks/hooks.repository.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 10264391053.1 06 Aug 2024 10:56AM UTC 1098
51.48
GitHub Action Run
Source Files on build 10264391053
  • Tree
  • List 549
  • Changed 18
  • Source Changed 16
  • Coverage Changed 160
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #10264391053
  • f1b3053f on github
  • Prev Build on main (#10262920550)
  • Next Build on main (#10268649697)
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