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

safe-global / safe-client-gateway / 44291592629
92%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 11:07AM UTC
Jobs 4
Files 1133
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

18 Nov 2026 11:06AM UTC coverage: 92.194% (-0.004%) from 92.198%
44291592629

push

github

web-flow
feat(policies): delete a stored policy configuration request (#3672)

* feat(policies): delete a draft policy configuration request

Adds DELETE /v1/spaces/{spaceId}/chains/{chainId}/safes/{safeAddress}/policies/requests/{root}.
Same auth as the POST. Deletes the stored row of that Safe in that Space,
matched by the blind index when encryption is on. Returns 404 for a root
that isn't stored and 409 when the root exists on-chain, a queued
transaction calls requestConfiguration(root) on a known guard, or the
queue is truncated at the page cap.

Moves the capped queue read into readQueue so the pending API and the
delete share it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(policies): check a deleted draft leaves the pending API

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(policies): mock the indexer before storing in the on-chain delete test

Storing a request now reads the indexer for the cap, and that state is
cached, so the on-chain root has to be mocked before the store.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(spaces): record the draft policy request delete as ungated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor(policies): share the draft rule between the pending API and delete

The delete now asks DelayedGuardPoliciesMapper whether a root is a draft,
so both count guards known from bindings and only roots on an enabled
guard. It also checks the latest executed transactions, for a request the
indexer has not seen yet, and reads only the stored roots.

The capped queue read becomes an injectable TransactionQueueReader, and a
root is validated with viem's size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor(policies): read the draft's sources at once and rename the queue helper

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor(policies): delete a stored configuration request in any state

Co-Authored-By: Claude Opus 5.5 <n... (continued)

5560 of 6247 branches covered (89.0%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 5 files covered. (100.0%)

1 existing line in 1 file now uncovered.

13739 of 14686 relevant lines covered (93.55%)

373.32 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
86.67
-5.0% src/modules/notifications/routes/v1/notifications.controller.ts
Jobs
ID Job ID Ran Files Coverage
1 run-integration-tests-3 - 44291592629.1 18 Nov 2026 11:08AM UTC 1133
47.15
GitHub Action Run
2 run-integration-tests-2 - 44291592629.2 18 Nov 2026 11:08AM UTC 1133
45.81
GitHub Action Run
3 run-integration-tests-1 - 44291592629.3 18 Nov 2026 11:08AM UTC 1133
40.86
GitHub Action Run
4 run-unit-tests - 44291592629.4 18 Nov 2026 11:07AM UTC 1133
70.08
GitHub Action Run
Source Files on build 44291592629
  • Tree
  • List 1133
  • Changed 20
  • Source Changed 6
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44291592629
  • bfa3d5a2 on github
  • Prev Build on main (#44289130987)
  • Next Build on main (#44295647407)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc