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

kobotoolbox / kpi / 30540539901 / 3
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-2567-dailycounter-fix
DEFAULT BRANCH: master
Ran 30 Jul 2026 12:02PM UTC
Files 890
Run time 22s
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

30 Jul 2026 11:56AM UTC coverage: 52.75% (-1.3%) from 54.014%
30540539901.3

push

github

web-flow
feat(projectHistoryLogs): log when users view data DEV-28 (#7339)

### đŸ“Ŗ Summary
Log when users view data for a project.


### 📖 Description
Create new project history logs whenever a user hits the
`/api/v2/assets/{uid}/data/` endpoint.


### 👷 Description for instance maintainers
This is likely to add a ton more audit logs. It shouldn't be enough to
affect performance but it's worth noting.


### 💭 Notes
As noted above, this will probably add a ton more audit logs. However,
logging hits to the endpoint was decided with product to be the best way
to log that 'X viewed Y data'. For now there's a manual exception in the
middleware to log a GET request if it's to the data endpoint
specifically. If eventually we end up logging more GET requests we may
consider a refactor (maybe a boolean field on AuditLoggedViewSet) but
for one endpoint it seems like overkill.


### 👀 Preview steps


1. â„šī¸ have an account and a project that has been deployed
2. Go to the project data table
3. Go to Settings > Activity
4. đŸŸĸ [on PR] There should be a new `{username} accessed survey data` log

5127 of 12718 branches covered (40.31%)

19834 of 37600 relevant lines covered (52.75%)

0.53 hits per line

Source Files on job 30540539901.3
  • Tree
  • List 890
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30540539901
  • a236b68b on github
  • Prev Job for on main (#30522189695.5)
  • Next Job for on main (#30548509907.3)
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