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

safe-global / safe-locking-service / 45638301444
92%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 02:51PM UTC
Jobs 1
Files 49
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

25 Nov 2026 02:49PM UTC coverage: 92.098% (+0.2%) from 91.923%
45638301444

push

github

web-flow
fix(campaigns): Paginate campaign lists in the database and install psycogreen (#239)

* fix(campaigns): Paginate campaign list endpoints in the database

The list views serialized the whole queryset and paginated the result in
Python, so every request loaded all rows of a campaign. Paginate the
queryset first so only the requested page is read and serialized.

Also return 400 for a holder parameter that is not an address, and add a
tie-breaker to the ordering so pages are stable.

* fix(web): Install psycogreen so database calls do not block gevent

Without psycogreen the custom gunicorn worker cannot patch psycopg2, so a
running query blocks the whole worker, health check included.

Also add tests that check the three campaign list views send LIMIT to the
database.

* fix(campaigns): Validate the holder parameter with eth_utils.is_address

The hand-written check accepted values with whitespace, which the model
field then rejected with a 500.

* test(campaigns): Drop the checksum case, is_address does not check it

66 of 66 new or added lines in 2 files covered. (100.0%)

2261 of 2455 relevant lines covered (92.1%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45638301444.1 25 Nov 2026 02:51PM UTC 49
92.1
GitHub Action Run
Source Files on build 45638301444
  • Tree
  • List 49
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45638301444
  • 23c39a9a on github
  • Prev Build on main (#44288913889)
  • Next Build on main (#45801456341)
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