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

safe-global / safe-queue-service / 45409918545
95%

Build:
DEFAULT BRANCH: main
Ran 24 Nov 2026 02:07PM UTC
Jobs 1
Files 91
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

24 Nov 2026 02:03PM UTC coverage: 94.907% (+0.1%) from 94.792%
45409918545

push

github

web-flow
fix: map malformed input and upstream payloads to handled errors (#401)

* fix: map malformed input and upstream payloads to handled errors

- EIP-712 messages the encoder cannot encode return 422, not 500.
  `eip712_encode` raises plain `Exception` and `eth_abi` errors, so
  `encode_eip712_message` turns them into `ValueError`.
- Transaction Service: `address` and `owners` must be 20-byte addresses,
  and are parsed inside the checked block. An invalid payload raises
  `SafeTransactionServiceError`, so the RPC fallback runs.
- Redirect middleware: a missing forwarded header falls back to the
  Location or request URL, instead of raising a TypeError (500) or
  building a URL with an empty host. The rules live in
  `apply_forwarded_headers`, shared with the pagination links.
- Config Service: a body that is not JSON or a chain that cannot be
  parsed raises `ConfigServiceUnavailable`, the error every caller
  handles.

Closes PLA-2410

* docs: use Google-style docstrings in app/utils.py

* fix: keep the Transaction Service payload out of error messages

When the RPC fallback also fails, the client error text goes into the
503 detail. The payload is now logged as a warning instead.

3727 of 3927 relevant lines covered (94.91%)

0.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
72.58
6.51% app/datasources/transaction_service/client.py
4
91.36
0.33% app/datasources/config_service/client.py
2
96.92
-0.18% app/main.py
1
98.21
0.1% app/domain/safe_message.py
Jobs
ID Job ID Ran Files Coverage
1 45409918545.1 24 Nov 2026 02:07PM UTC 91
94.91
GitHub Action Run
Source Files on build 45409918545
  • Tree
  • List 91
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2020b368 on github
  • Prev Build on main (#45403840965)
  • Next Build on main (#45409927397)
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