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

kobotoolbox / kpi / 28600649892
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-deps-2d1112a488
DEFAULT BRANCH: master
Ran 02 Jul 2026 03:14PM UTC
Jobs 10
Files 892
Run time 3min
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

02 Jul 2026 03:10PM UTC coverage: 81.44% (+0.003%) from 81.437%
28600649892

push

github

web-flow
fix(bulkProcessing): skip already-accepted versions in bulk-accept DEV-2385 (#7208)

### 📣 Summary
The bulk-accept endpoint (`POST
/api/v2/assets/{uid_asset}/data/supplements/bulk/`) was re-stamping
`_dateAccepted` and counting already-accepted submissions on every call,
making `accepted_count` misleading. Added a guard in
`BulkAcceptSerializer.accept()` to skip versions where `_dateAccepted`
is already set.

### 📖 Description
Calling the bulk-accept endpoint multiple times for the same submission
always returned `accepted_count: 1` (or more), even though no new
acceptance action was performed. The caller had no way to distinguish
"just accepted" from "already accepted".

This PR adds an early continue in the per-supplement loop when
latest_version.get(`_dateAccepted`) is already truthy. Already-accepted
versions are now silently skipped `_dateAccepted` is not modified and
the supplement is excluded from `to_update`, so `accepted_count`
correctly reflects only newly accepted records.

9262 of 12602 branches covered (73.5%)

0 of 2 new or added lines in 1 file covered. (0.0%)

22 existing lines in 3 files now uncovered.

30216 of 37102 relevant lines covered (81.44%)

5.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
28.63
-0.22% kobo/apps/subsequences/serializers.py

Coverage Regressions

Lines Coverage ∆ File
10
44.0
-40.0% kobo/apps/stripe/signals.py
8
58.51
-8.51% kobo/apps/stripe/utils/billing_dates.py
4
78.4
-3.2% kobo/apps/stripe/utils/subscription_limits.py
Jobs
ID Job ID Ran Files Coverage
1 28600649892.1 02 Jul 2026 03:14PM UTC 888
49.62
2 28600649892.2 02 Jul 2026 03:15PM UTC 888
44.45
3 28600649892.3 02 Jul 2026 03:15PM UTC 888
52.97
4 28600649892.4 02 Jul 2026 03:15PM UTC 890
45.81
5 28600649892.5 02 Jul 2026 03:17PM UTC 890
54.23
6 28600649892.6 02 Jul 2026 03:17PM UTC 890
50.96
7 28600649892.7 02 Jul 2026 03:17PM UTC 888
58.95
8 28600649892.8 02 Jul 2026 03:18PM UTC 890
66.65
9 28600649892.9 02 Jul 2026 03:18PM UTC 892
68.96
10 28600649892.10 02 Jul 2026 03:19PM UTC 890
60.11
Source Files on build 28600649892
  • Tree
  • List 892
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 8086b58c on github
  • Prev Build on main (#28599388330)
  • Next Build on main (#28606535067)
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