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

Idrinth / habit-evaluator / 22360481384
40%

Build:
DEFAULT BRANCH: the-one
Ran 24 Feb 2026 04:40PM UTC
Jobs 8
Files 322
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

24 Feb 2026 04:39PM UTC coverage: 40.34% (+0.002%) from 40.338%
22360481384

push

github

web-flow
Fix habit completion buttons having no effect on Android HomeScreen (#621)

The Complete and Remove Completion buttons on the HomeScreen silently
failed because the inline coroutine handlers called RoomHabitRepository
methods (which use runBlocking internally) from within a coroutine
context, with no error handling. Any exception killed the coroutine
silently, and loadHabits() was only called at the end so the UI never
refreshed.

- Move completion logic to AppViewModel.completeHabit() and
  removeHabitCompletion() using viewModelScope with try-finally to
  always refresh the habit list
- Add loadHabitsSync() helper for synchronous habit list refresh
- Fix EntityMappers.toModel() to restore ScoringRule from stored
  scoringRuleId/scoringRuleName (was silently lost on every load-save
  cycle)
- Add regression tests for ScoringRule restoration and round-trip

https://claude.ai/code/session_01WrtANRsn9pVnot8MUXeroa

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

2944 of 7823 branches covered (37.63%)

Branch coverage included in aggregate %.

10369 of 25179 relevant lines covered (41.18%)

2.11 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
83.31
0.38% de/idrinth/habitevaluator/android/persistence/EntityMappers.kt
38
0.0
0.0% de/idrinth/habitevaluator/android/ui/screens/HomeScreen.kt
72
0.0
0.0% de/idrinth/habitevaluator/android/AppViewModel.kt
Jobs
ID Job ID Ran Files Coverage
1 homepage - 22360481384.1 24 Feb 2026 04:40PM UTC 4
100.0
GitHub Action Run
2 homepage-e2e - 22360481384.2 24 Feb 2026 04:40PM UTC 9
75.0
GitHub Action Run
3 android - 22360481384.3 24 Feb 2026 04:43PM UTC 88
11.64
GitHub Action Run
4 desktop - 22360481384.4 24 Feb 2026 04:41PM UTC 30
43.59
GitHub Action Run
5 webserver - 22360481384.5 24 Feb 2026 04:41PM UTC 77
68.55
GitHub Action Run
6 shared - 22360481384.6 24 Feb 2026 04:41PM UTC 108
76.92
GitHub Action Run
7 website - 22360481384.7 24 Feb 2026 04:40PM UTC 3
88.26
GitHub Action Run
8 website-e2e - 22360481384.8 24 Feb 2026 04:40PM UTC 9
39.32
GitHub Action Run
Source Files on build 22360481384
  • Tree
  • List 322
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22360481384
  • 270b4227 on github
  • Prev Build on the-one (#22353481220)
  • Next Build on the-one (#22360985150)
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

© 2026 Coveralls, Inc