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

kobotoolbox / kpi / 23834044311
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 01 Apr 2026 05:52AM UTC
Jobs 10
Files 909
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

01 Apr 2026 05:48AM UTC coverage: 82.209% (+0.02%) from 82.194%
23834044311

push

github

web-flow
feat(auditLog): log superuser admin actions to `AuditLog` DEV-1604 (#6856)

### 📣 Summary
This PR introduces functionality to automatically capture actions
performed by superusers in the Django Admin interface and record them in
the `AuditLog` table using native Django signals.

### 📖 Description
This change ensures a complete and reliable audit trail for all actions
performed by superusers within the Django Admin interface.

It leverages Django’s built-in `LogEntry` signal to capture admin events
globally, eliminating the need for custom mixins or per-model
`ModelAdmin` modifications. This approach guarantees consistent coverage
across all current and future admin-managed models.

Additionally, the implementation extracts and stores a concise,
human-readable summary of each action, improving log readability while
keeping storage efficient. Audit logs are also exposed via the
`/api/v2/audit-logs/` API for easy access and inspection.

7798 of 12001 branches covered (64.98%)

7 of 37 new or added lines in 2 files covered. (18.92%)

1 existing line in 1 file now uncovered.

29656 of 36074 relevant lines covered (82.21%)

5.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
72.03
-18.77% kobo/apps/audit_log/signals.py
5
66.1
-0.56% kobo/apps/audit_log/models.py

Coverage Regressions

Lines Coverage ∆ File
1
92.31
-7.69% kobo/apps/user_reports/utils/migrations.py
Jobs
ID Job ID Ran Files Coverage
1 23834044311.1 01 Apr 2026 05:52AM UTC 905
52.81
2 23834044311.2 01 Apr 2026 05:52AM UTC 905
54.33
3 23834044311.3 01 Apr 2026 05:53AM UTC 907
54.03
4 23834044311.4 01 Apr 2026 05:54AM UTC 905
53.03
5 23834044311.5 01 Apr 2026 05:54AM UTC 907
55.58
6 23834044311.6 01 Apr 2026 05:55AM UTC 905
60.44
7 23834044311.7 01 Apr 2026 05:55AM UTC 907
66.04
8 23834044311.8 01 Apr 2026 05:55AM UTC 907
54.38
9 23834044311.9 01 Apr 2026 05:56AM UTC 907
61.57
10 23834044311.10 01 Apr 2026 05:57AM UTC 909
68.28
Source Files on build 23834044311
  • Tree
  • List 909
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ab5c2858 on github
  • Prev Build on main (#23804416403)
  • Next Build on main (#23861711821)
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