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

kobotoolbox / kpi / 17764845739
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1497-show-most-recently-created-qual-answer
DEFAULT BRANCH: master
Ran 16 Sep 2025 12:26PM UTC
Jobs 2
Files 861
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

16 Sep 2025 11:52AM UTC coverage: 81.24% (+0.1%) from 81.142%
17764845739

push

github

web-flow
fix(dataCollectors): fix adding assets to groups in admin DEV-798 (#6226)

### đŸ“Ŗ Summary
Fixes a bug that was removing old assets from data collector groups when
new ones were added.

### 💭 Notes
We were using an incorrect list of old assets, which resulted in us
removing the data collector group from the old assets (eg the ones that
weren't being added). We did not call refresh_from_db after removing the
data collector group, so the code did not realize it needed to add the
data collector group back. This PR fixes the initial problem
(accidentally removing the data collector group) so we don't need to
refresh from db to make sure we didn't remove anything.
Adds some tests so the error doesn't happen again :).


### 👀 Preview steps

1. â„šī¸ have an admin account, at least 2 projects, and a data collector
group
2. Add one asset to the data collector group and hit `Save and continue
editing`
3. Add another asset to the data collector group and hit `Save and
continue editing`
4. 🔴 [on main] The initial asset has been removed from the group
5. đŸŸĸ [on PR] The initial asset is still in the group along with the one
that was added

6883 of 10848 branches covered (63.45%)

1 of 1 new or added line in 1 file covered. (100.0%)

26624 of 32772 relevant lines covered (81.24%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 17764845739.1 16 Sep 2025 12:26PM UTC 861
78.91
2 17764845739.2 16 Sep 2025 12:27PM UTC 861
81.22
Source Files on build 17764845739
  • Tree
  • List 861
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 331e2452 on github
  • Prev Build on main (#17746697584)
  • Next Build on main (#17768202630)
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

© 2025 Coveralls, Inc