Skip to content

Conversation

@andreia-ferreira
Copy link
Collaborator

Fixes #3413

If a survey was already stored in the device before the conditional tasks were fixed, the user would still have faulty data. This PR introduces a Room migration which deletes the faulty surveys (the ones that had a condition without expression) in order to force refetching them again

@shobhitagarwal1612 PTAL?

@auto-assign auto-assign bot requested a review from gino-m January 13, 2026 17:30
@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.91%. Comparing base (ecbc0e8) to head (0942149).

Files with missing lines Patch % Lines
...oid/data/local/room/migration/Migration_125_126.kt 0.00% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3449      +/-   ##
============================================
- Coverage     69.95%   69.91%   -0.05%     
  Complexity     1599     1599              
============================================
  Files           319      320       +1     
  Lines          8585     8590       +5     
  Branches        945      945              
============================================
  Hits           6006     6006              
- Misses         2005     2010       +5     
  Partials        574      574              
Files with missing lines Coverage Δ
...ava/org/groundplatform/android/common/Constants.kt 100.00% <ø> (ø)
...oid/data/local/room/migration/Migration_125_126.kt 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix existing Room records for conditional tasks

1 participant