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

kobotoolbox / kpi / 25379279264
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 05 May 2026 01:33PM UTC
Jobs 10
Files 912
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

05 May 2026 01:28PM UTC coverage: 81.984% (-0.1%) from 82.095%
25379279264

push

github

web-flow
feat(nlp): upgrade automatic Google transcription to Speech-to-Text v2 batch API DEV-1498 (#6955)

### 📣 Summary
This PR upgrades the automatic Google transcription service from the
Speech-to-Text v1 API to the v2 API.

The implementation uploads audio files to Google Cloud Storage, submits
a batch recognition job, and retrieves the resulting transcripts from
JSON output files written by Google.

The service now dynamically resolves the correct region and model using
the new languages configuration introduced in the languages app.

### 📖 Description
The new implementation follows the v2 architecture:
1. Audio files are uploaded to Google Cloud Storage
2. A BatchRecognize job is created
3. Google processes the audio asynchronously
4. Transcription results are written as JSON files to Cloud Storage
5. The service reads the output JSON and returns the transcript

The implementation supports two mechanisms for tracking long-running
operations:
- Cache-based tracking: Used for single transcription requests.
- Database-based tracking: Future bulk transcription operations will
store the Google operation id on `SubsequenceBulkActionItem`.

9080 of 12215 branches covered (74.33%)

33 of 190 new or added lines in 2 files covered. (17.37%)

7 existing lines in 2 files now uncovered.

29912 of 36485 relevant lines covered (81.98%)

5.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
157
21.3
-11.66% kobo/apps/subsequences/integrations/google/google_transcribe.py

Coverage Regressions

Lines Coverage ∆ File
6
21.3
-11.66% kobo/apps/subsequences/integrations/google/google_transcribe.py
1
75.0
-4.17% kpi/urls/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 25379279264.1 05 May 2026 01:33PM UTC 908
52.36
2 25379279264.2 05 May 2026 01:33PM UTC 908
53.97
3 25379279264.3 05 May 2026 01:35PM UTC 910
55.2
4 25379279264.4 05 May 2026 01:35PM UTC 908
52.67
5 25379279264.5 05 May 2026 01:35PM UTC 908
59.95
6 25379279264.6 05 May 2026 01:37PM UTC 910
53.99
7 25379279264.7 05 May 2026 01:37PM UTC 910
61.06
8 25379279264.8 05 May 2026 01:39PM UTC 912
68.1
9 25379279264.9 05 May 2026 01:43PM UTC 910
53.57
10 25379279264.10 05 May 2026 02:00PM UTC 910
65.89
Source Files on build 25379279264
  • Tree
  • List 912
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 65442875 on github
  • Prev Build on main (#25375472782)
  • Next Build on main (#25420610593)
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