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

kobotoolbox / kpi / 15320536731
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 29 May 2025 09:53AM UTC
Jobs 2
Files 653
Run time 1min
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

29 May 2025 09:15AM UTC coverage: 81.07% (-0.002%) from 81.072%
15320536731

push

github

web-flow
feat(attachments): Update mongo documents to expose attachment deleted flag TASK-581 (#5788)

### 📣 Summary
Added `is_deleted` flag to attachments in Mongo to reflect deletion
status after attachment trash or restore actions.


### 📖 Description
This update ensures that the _attachments array stored in Mongo instance
documents accurately reflects the deletion status of each attachment.

This change ensures that:
- Each attachment in the `_attachments` array now includes an
`is_deleted` flag.
- The flag is automatically updated when attachments are moved to trash
or restored.
- This is implemented efficiently using Mongo `bulk_write()` operations.

6270 of 9935 branches covered (63.11%)

27 of 28 new or added lines in 3 files covered. (96.43%)

23905 of 29487 relevant lines covered (81.07%)

1.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
77.27
0.45% kobo/apps/openrosa/apps/viewer/models/parsed_instance.py
Jobs
ID Job ID Ran Files Coverage
1 15320536731.1 29 May 2025 09:53AM UTC 653
78.98
2 15320536731.2 29 May 2025 09:54AM UTC 653
81.05
Source Files on build 15320536731
  • Tree
  • List 653
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d14acd20 on github
  • Prev Build on main (#15308977247)
  • Next Build on main (#15323453708)
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