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

akvo / iwsims / #170
89%

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 09:09AM UTC
Jobs 1
Files 110
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 Sep 2026 09:01AM UTC coverage: 88.65% (+0.03%) from 88.624%
#170

push

coveralls-python

web-flow
[#84] Make mobile form counts match the server, and say when a sync is incomplete (#85)

* [#84] Align mobile form counts with the server list and flag incomplete syncs

Form card counts:
- Count a datapoint as downloaded (locallyCreated = 0) once the server returns
  it in datapoint-list, including unchanged rows, so the card title matches the
  server and rows mislabelled by migration 05 are repaired without a migration
- Card title counts downloaded rows only; Synced now means uploaded but not yet
  listed by the server (awaiting approval)
- Manual Sync requests the full datapoint list; background sync stays incremental
- New read-only GET /device/deleted-datapoints?form_id= returns soft-deleted
  uuids in the assignment scope; the app removes those rows (never drafts or
  unsent changes) before marking the sync complete
- Share the assignment scope filter between datapoint-list and the new endpoint

Incomplete sync banner:
- Show "Download incomplete: X of Y forms. Press Sync to resume." instead of
  "Done" when the sync queue is left behind (app backgrounded or killed,
  failed items, retries exhausted), and whenever the banner is empty
- One finishDatapointSync step (deletions, sync-complete, clear queue) used by
  every path, so a failed final step is retried instead of dropped

Plan: doc/claude/mobile-form-count-server-list.md

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

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* [#84] Keep sync progress from skipping past a failed page

- A page with a failed datapoint download no longer lets a later successful
  page overwrite lastPage, which marked the form complete while the sync was
  flagged as failed: the final step never ran and the banner showed
  "Download not finished" with every form counted as done
- New createPageProgressSaver, shared by SyncService and the background task:
  lastPage stops at the last page before the first failure, so the form sta... (continued)

5835 of 6741 branches covered (86.56%)

Branch coverage included in aggregate %.

10747 of 11964 relevant lines covered (89.83%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #170.1 29 Sep 2026 09:09AM UTC 110
88.65
Source Files on build #170
  • Tree
  • List 110
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • b2b6e7b1 on github
  • Prev Build on main
  • Next Build on 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