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

akvo / iwsims / #111
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: main
Ran 12 Jul 2026 10:36PM UTC
Jobs 1
Files 109
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

12 Jul 2026 10:21PM UTC coverage: 88.388% (-0.004%) from 88.392%
#111

Pull #31

coveralls-python

ifirmawan
[#30] Return the draft id from /sync so re-saved drafts update in place

A locally created draft only learned its backend id through the manual
Sync Datapoint round-trip. Until then every re-save uploaded with no
?id=, and the uuid fallback cannot match child forms (a monitoring
draft carries its parent's uuid) — so each edit-then-autosync cycle
created another backend draft row.

- /device/sync now responds {message, id} on create, update and replay
  alike (the replay early-return exposes the original row's id, which
  also lets a device recover a draftId lost to a dropped response)
- The app stores the returned id as draftId in markSynced for draft
  rows only — a draftId on a submitted row would flip its sync URL to
  the is_published variant
- submission_key stays: it dedupes replays of a single attempt (lost
  response, concurrent retries), while draftId identifies the row
  across deliberate saves — neither subsumes the other

Covered by two new tests; full v1_data + v1_mobile suite passes (481).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #31: [#30] Sync mobile app changes from core MIS

5701 of 6608 branches covered (86.27%)

Branch coverage included in aggregate %.

10535 of 11761 relevant lines covered (89.58%)

0.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
71
83.66
-0.41% api/v1/v1_data/serializers.py
57
79.29
-0.34% api/v1/v1_jobs/job.py
8
92.37
0.03% api/v1/v1_mobile/serializers.py
8
95.32
0.05% api/v1/v1_mobile/views.py
6
95.17
0.02% api/v1/v1_data/models.py
Jobs
ID Job ID Ran Files Coverage
1 #111.1 12 Jul 2026 10:36PM UTC 109
88.39
Source Files on build #111
  • Tree
  • List 109
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #31
  • PR Base - main (#)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc