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

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

Build:
DEFAULT BRANCH: main
Ran 12 Jun 2026 02:40PM UTC
Jobs 2
Files 1231
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

12 Jun 2026 02:37PM UTC coverage: 90.04% (+0.08%) from 89.958%
27422585176

push

github

web-flow
Feat/space audit log (#3163)

* feat: add space audit log foundation (flag, migration, entity, taxonomy, repository)

* feat: record audit events across all space mutations and add read API

- 16 instrumented call sites: space create/update/delete, 8 member
  actions, safes add/remove, address book upsert/delete, and the
  user-account-deletion cascade (MEMBER_LEFT accountDeleted)
- audit insert joins the business mutation's transaction; audit failure
  rolls the mutation back
- AB request approval now shares one transaction with the upsert,
  replacing the manual revert-to-pending compensation
- read API: GET /v1/spaces/:spaceId/audit-log (+/actors), ACTIVE-member
  gated, server-side email masking, payload allowlist,
  (created_at, id) ordering with clamped pagination

* tests: cover the space audit log

- space-audit.service.spec: ACTIVE-only gate, identity resolution,
  email masking, payload allowlist, pagination clamping, actors endpoint
- space-audit.repository.integration.spec: events driven through real
  instrumented mutations, rollback atomicity, append-only triggers,
  ordering/tie-break pagination, filters, distinct actors, user-deletion
  cascade
- existing specs adapted to the audit-instrumented repositories

* chore: add FF_SPACE_AUDIT_LOG to .env.sample.json

* fix: derive audit log page links from the clamped pagination values

* fix: address audit log review feedback

- record MEMBER_LEFT only for ACTIVE memberships on account deletion
- treat an empty event_type query param like an omitted one
- select only user ids when collecting active members for masking

* fix: store checksummed addresses in audit payloads + review nits

- Drop the lowercase transform; AddressSchema already yields the
  canonical EIP-55 form (review feedback)
- Narrow SpacesRepository.update/diffSpaceUpdate to the interface type
  and derive SpaceUpdatedPayload from the event schema
- Build the audit where-clause declaratively with And() bounds
- Mark targetUs... (continued)

4587 of 5469 branches covered (83.87%)

Branch coverage included in aggregate %.

317 of 336 new or added lines in 22 files covered. (94.35%)

1 existing line in 1 file now uncovered.

17063 of 18576 relevant lines covered (91.86%)

618.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
85.11
-1.43% src/modules/spaces/domain/spaces.repository.ts
4
25.71
2.86% src/modules/spaces/routes/address-book-requests.service.ts
2
93.75
-1.6% src/modules/spaces/domain/space-safes.repository.ts
2
88.24
src/modules/spaces/routes/space-audit.controller.ts
2
97.01
-0.55% src/modules/users/domain/members.repository.ts
1
90.0
src/modules/spaces/datasources/entities/space-audit-log.entity.db.ts
1
93.1
-3.62% src/modules/spaces/domain/address-books/address-book-items.repository.ts
1
13.73
-0.27% src/modules/spaces/domain/address-books/address-book-requests.repository.ts
1
96.97
src/modules/spaces/routes/entities/space-audit-log.dto.entity.ts
1
80.0
src/modules/spaces/routes/guards/space-audit-route.guard.ts

Coverage Regressions

Lines Coverage ∆ File
1
13.73
-0.27% src/modules/spaces/domain/address-books/address-book-requests.repository.ts
Jobs
ID Job ID Ran Files Coverage
1 run-integration-tests - 27422585176.1 12 Jun 2026 02:42PM UTC 2363
77.7
GitHub Action Run
2 run-unit-tests - 27422585176.2 12 Jun 2026 02:40PM UTC 2152
58.1
GitHub Action Run
Source Files on build 27422585176
  • Tree
  • List 1231
  • Changed 349
  • Source Changed 21
  • Coverage Changed 347
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27422585176
  • 13592e87 on github
  • Prev Build on main (#27411688870)
  • Next Build on main (#27427697667)
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