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

kobotoolbox / kpi / 28219835057
81%
master: 76%

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

26 Jun 2026 05:47AM UTC coverage: 80.411% (-1.0%) from 81.41%
28219835057

push

github

web-flow
feat(subsequences): add `pendingReview` flag to `_supplementalDetails` for unaccepted NLP results DEV-2333 (#7182)

### 📣 Summary
Updates the data output transformation for the
`/api/v2/assets/{asset-uid}/data` endpoint to surface a `pendingReview:
true` flag in `_supplementalDetails` when a transcription or translation
is completed but awaiting manual acceptance.

### 📖 Description
Previously, the endpoint only returned data if it had a `_dateAccepted`
timestamp. Because of this, the frontend couldn't detect when an
automatic transcription was finished and ready for review.

Additionally, this fixes a precedence issue: if a user generated a new
auto-transcription on top of an older, accepted manual transcription,
the API would still serve the old manual version. Now, the newest action
takes precedence, accurately surfacing the pending review status so the
UI can display the "Review" button.

What changed:
- Updated `transform_data_for_output` within the transcription and
translation mixins.
- The data endpoint now evaluates the most recently created version of
an action, rather than just the most recently accepted one.
- If the latest version lacks a `_dateAccepted`, the API returns
`pendingReview: True` and omits the text value.
- Retained the check to ensure that if the latest version is deleted
(where value is explicitly None), it correctly returns an empty object.

9086 of 12572 branches covered (72.27%)

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

5 existing lines in 2 files now uncovered.

29793 of 37051 relevant lines covered (80.41%)

5.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
29
17.76
-4.6% kobo/apps/subsequences/actions/mixins.py

Coverage Regressions

Lines Coverage ∆ File
4
17.76
-4.6% kobo/apps/subsequences/actions/mixins.py
1
35.57
-0.11% kobo/apps/subsequences/actions/base.py
Jobs
ID Job ID Ran Files Coverage
1 28219835057.1 26 Jun 2026 05:52AM UTC 889
49.67
2 28219835057.2 26 Jun 2026 05:52AM UTC 889
44.48
3 28219835057.3 26 Jun 2026 05:52AM UTC 889
53.02
4 28219835057.4 26 Jun 2026 05:53AM UTC 891
45.85
5 28219835057.5 26 Jun 2026 05:54AM UTC 891
51.0
6 28219835057.6 26 Jun 2026 05:54AM UTC 891
54.29
7 28219835057.7 26 Jun 2026 05:55AM UTC 889
59.01
8 28219835057.8 26 Jun 2026 05:55AM UTC 891
66.6
9 28219835057.9 26 Jun 2026 05:57AM UTC 891
60.17
10 28219835057.10 26 Jun 2026 05:58AM UTC 893
68.92
Source Files on build 28219835057
  • Tree
  • List 893
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a9cb6e70 on github
  • Prev Build on main (#28204436125)
  • Next Build on main (#28259141493)
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