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

kobotoolbox / kpi / 27976417537 / 10
80%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-2346-fix-bulk-action-failure-when-switching-languages
DEFAULT BRANCH: master
Ran 22 Jun 2026 07:03PM UTC
Files 887
Run time 43s
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: 68.934% (+15.4%) from 53.512%
27976417537.10

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)

7024 of 12298 branches covered (57.11%)

25165 of 36506 relevant lines covered (68.93%)

0.69 hits per line

Source Files on job 27976417537.10
  • Tree
  • List 887
  • Changed 298
  • Source Changed 0
  • Coverage Changed 298
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