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

kobotoolbox / kpi / 17068830432
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1475-clean-up-refactor-subsequences
DEFAULT BRANCH: master
Ran 19 Aug 2025 12:35PM UTC
Jobs 1
Files 642
Run time 2min
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

19 Aug 2025 11:58AM UTC coverage: 80.981% (-0.001%) from 80.982%
17068830432

push

github

web-flow
feat(auditLogs): optimize search filter for audit log endpoints (#6129)

### đŸ“Ŗ Summary
Performance enhancement for audit log, access log, and project history
log endpoints.


### 💭 Notes
The SearchFilter automatically runs `distinct` on all queries in order
to handle the possibility that searching on an n-to-many field has
returned multiple results for the same object. This distinct is very
slow, so add a property to the view that tells the SearchFilter to skip
it. This property should only be set on models that do not have any kind
of n-to-many fields.

### 👀 Preview steps
This is best previewed by running the server with `--print-sql` or
turning on the debug toolbar

1. â„šī¸ have an account
2. Navigate to `api/v2/audit-logs/?q=user__username:<username>
3. đŸŸĸ [on PR] Notice the audit log query does not use `distinct` for the
search or for the count

6182 of 9772 branches covered (63.26%)

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

1 existing line in 1 file now uncovered.

23363 of 28850 relevant lines covered (80.98%)

0.81 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.64
-2.27% kpi/paginators.py
Jobs
ID Job ID Ran Files Coverage
1 17068830432.1 19 Aug 2025 12:35PM UTC 642
80.98
Source Files on build 17068830432
  • Tree
  • List 642
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 68976c17 on github
  • Prev Build on release/2.025.29 (#16889169611)
  • Next Build on release/2.025.29 (#17068851867)
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