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

akvo / akvo-mis / #854
89%

Build:
DEFAULT BRANCH: main
Ran 19 Aug 2026 09:35AM UTC
Jobs 1
Files 117
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

19 Aug 2026 09:27AM UTC coverage: 89.445% (+0.01%) from 89.435%
#854

push

coveralls-python

web-flow
#314: Recover missing photos from the gallery (#315)

* [#314] Port missing-photo repair and gallery recovery from iwsims

Ports the iwsims [#62] work (PR akvo/iwsims#63) into this app, adapted for
this repo: QUESTION_TYPES.image instead of .photo, and Akvo MIS branding.

Missing-photo repair:
- Extract ImageView / AttachmentView / SubtitleContent out of FormDataDetails
  into src/components/FormDataDetails (page drops ~390 lines), with tests
- Add a "From Gallery" repair path alongside Retake for missing local photos;
  signatures stay excluded from both
- Derive the error state from the uri rather than a latched boolean, so a
  replacement photo shows without remounting
- Offer "Try again" when a remote image fails to load, instead of offering
  repair buttons that cannot help
- Set refreshPage after a repair so the submission list drops its stale
  "File missing" badge

Save to gallery (opt-in, off by default):
- Mirror camera captures into an album named after apkName, so a photo the
  app later loses can be recovered; failures never cost the answer
- Add DB migration 09 (saveToGallery), bump DATABASE_VERSION to 9, and add
  the Settings switch (en/fr)
- Add expo-media-library with its permission strings

Sync robustness:
- Skip datapoints whose local file is verifiably gone rather than retrying
  them on every sync run forever
- Guard the batch recursion so an all-skipped batch cannot loop
- Report the persistImage cache fallback to Sentry

Also enables ts/tsx module resolution in jest, without which jest-expo 53
cannot resolve expo-modules-core and the whole suite fails to run.

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

Co-Authored-By: Claude <noreply@anthropic.com>

* [#314] Mobile apps: Bump version to 4.1.31

---------

Co-authored-by: Claude <noreply@anthropic.com>

6117 of 7044 branches covered (86.84%)

Branch coverage included in aggregate %.

11637 of 12805 relevant lines covered (90.88%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #854.1 19 Aug 2026 09:35AM UTC 117
89.45
Source Files on build #854
  • Tree
  • List 117
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3906d7ea 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