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

kobotoolbox / kpi / 27291118493 / 10
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-2566-simplify-lock-and-cadence
DEFAULT BRANCH: master
Ran 10 Jun 2026 04:51PM UTC
Files 883
Run time 31s
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

10 Jun 2026 04:41PM UTC coverage: 68.85% (+22.6%) from 46.292%
27291118493.10

push

github

web-flow
feat(auditLogs): filter list endpoints by lookback DEV-1461 (#7137)


### đŸ“Ŗ Summary
Restrict API endpoints for audit logs to only look back the number of
days allowed by the user's subscription.


### 📖 Description
Restricts the following endpoints:
- audit logs
- access logs (personal and global)
- project history logs (project-specific and global)
If stripe is not enabled, the number of days allowed is set based on the
log retention settings of the server.

### Notes
One small inheritance change, AccessLogViewSet now inherits from
AllAccessLogViewSet to avoid having to write the same queryset twice.
The unit testing around the access log view set is quite comprehensive
so there is not much fear of regression, and it was also tested locally.


### 👀 Preview steps

1. â„šī¸ have an admin account and a project
2. â„šī¸ Ensure you have access logs and project history logs that are at
least 3 days old
3. In Django admin, update the default plan (or whatever plan you admin
user is on) to have `"log_lookback_days_limit": "2"` in the metadata
4. đŸŸĸ For each of the following endpoints, ensure there are no logs older
than 2 days old:
  * /api/v2/audit-logs/
  * /api/v2/access-logs/me/
  * /api/v2/access-logs/
  * /api/v2/project-history-logs/
  * /api/v2/assets/<asset_uid>/history/

6994 of 12252 branches covered (57.08%)

25005 of 36318 relevant lines covered (68.85%)

0.69 hits per line

Source Files on job 27291118493.10
  • Tree
  • List 883
  • Changed 294
  • Source Changed 0
  • Coverage Changed 294
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 27291118493
  • ca97c16d on github
  • Prev Job for on main (#27285921303.4)
  • Next Job for on main (#27299045056.6)
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