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

kobotoolbox / kpi / 27976417537 / 7
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 22 Jun 2026 07:01PM UTC
Files 885
Run time 45s
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

22 Jun 2026 06:53PM UTC coverage: 51.511% (-2.0%) from 53.512%
27976417537.7

push

github

web-flow
feat(bulkProcessing): poll for ongoing bulk action and update table DEV-1411 (#7106)

### 📣 Summary

Data Table now keeps bulk-processing rows up to date automatically by
polling active jobs and refreshing completed cells without needing a
manual page refresh. Hidden behind a feature flag.

### 💭 Notes

Changes here:
- **Bulk processing polling in Data Table**
- Added polling for active bulk jobs with a fixed interval derived from
estimated per-submission processing time.
- Polling is foreground-only to avoid background-tab churn (if you
switch to another tab or minimize the window - polling pauses).
  - Reused shared transcription estimate logic to avoid duplication.
- **Row refresh behavior when jobs complete**
- Added logic to detect status transitions and fetch only affected
visible submissions.
- Added handling for actions disappearing from the active list (terminal
state), so visible rows get refreshed and stale placeholders clear.
- Kept orchestration in the table component and moved refresh-selection
logic into a focused utility.
- **Storybook testability and reliability**
  - Added a dedicated polling scenario story for Data Table wrapper.
- Added stateful MSW handlers that simulate in-progress to complete
transition.
- Added a play function with labeled steps that verifies initial
Processing state and final translated value.
- Added per-story reset of polling mock state so revisiting the story
starts from a clean state.
- Using a timeout derived from the same polling interval logic used in
production, plus a small grace window.
- **Tests**
- Added unit tests for polling interval calculations (empty actions,
translation cadence, transcription cap).
- Added unit tests for visible-row refresh selection across
completion/disappearance/visibility scenarios.
- **Small cleanup**
  - Improved a couple of existing TODO comments to be more actionable.
  - Deleted deprecated and unused single-row submission fetch function.

Bonus AI pun: this table now... (continued)

4521 of 12168 branches covered (37.15%)

18762 of 36423 relevant lines covered (51.51%)

0.52 hits per line

Source Files on job 27976417537.7
  • Tree
  • List 885
  • Changed 193
  • Source Changed 0
  • Coverage Changed 193
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 27976417537
  • 08dd34f0 on github
  • Prev Job for on main (#27972555121.2)
  • Next Job for on main (#27980592878.5)
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