Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hotfix] Disable PruneMedia Job from running in Background #1551

Closed
2 tasks
Tracked by #1672
himeshr opened this issue Nov 28, 2024 · 3 comments
Closed
2 tasks
Tracked by #1672

[Hotfix] Disable PruneMedia Job from running in Background #1551

himeshr opened this issue Nov 28, 2024 · 3 comments
Assignees

Comments

@himeshr
Copy link
Contributor

himeshr commented Nov 28, 2024

Describe the bug
This card is a hotfix for #1550
Disable PruneMedia Job from running in Background. We'll bring it back in a more efficient and user-friendly way as part of #1550

To Reproduce
Steps to reproduce the behavior:
Using any version of Avni APK,

  • Login as noordeen@goonj org user (has extremely large number of observations)
  • Perform sync
  • Navigate to Activities list page and randomly download media-items (60, 70 items)
  • Restart the app
  • Observe that app splash screen stays on for longer and longer duration of time as we download more media-items

Developer Checklist
Developer fixing the bug should fill this checklist.

  • Does the fix require extensive regression testing? No
  • Are you mentioning the required scenarios that could be affected? App startup
@github-project-automation github-project-automation bot moved this to New Issues in Avni Product Nov 28, 2024
@himeshr himeshr moved this from New Issues to Ready in Avni Product Nov 28, 2024
@himeshr himeshr self-assigned this Nov 28, 2024
@himeshr himeshr moved this from Ready to In Progress in Avni Product Nov 28, 2024
himeshr added a commit that referenced this issue Nov 28, 2024
@himeshr himeshr moved this from In Progress to Hold in Avni Product Nov 28, 2024
@himeshr
Copy link
Contributor Author

himeshr commented Nov 28, 2024

We have not been able to reproduce the actual issue reported here.. paired with Joy to figure out possible locations for the error, couldn't find any that could be hit in natural course of app load. Cards #1550 and #1551 are not gonna help resolve the issue reported in ticket https://avni.freshdesk.com/a/tickets/4975.

@himeshr
Copy link
Contributor Author

himeshr commented Dec 2, 2024

On more debug while pairing with @petmongrels, by downloading close to 60 images on the app, found that the stalling on SplashScreen is caused by the PruneMedia Job itself..
Attached related screen-recording here https://drive.google.com/file/d/10C6SmyZ7XoQuSeOv3EHRn3R9lNZzcGj8/view?usp=sharing

@himeshr himeshr moved this from Hold to In Progress in Avni Product Dec 2, 2024
himeshr added a commit that referenced this issue Dec 2, 2024
@himeshr himeshr moved this from In Progress to Code Review Ready in Avni Product Dec 2, 2024
@1t5j0y 1t5j0y moved this from Code Review Ready to In Code Review in Avni Product Dec 2, 2024
@1t5j0y 1t5j0y moved this from In Code Review to QA Ready in Avni Product Dec 2, 2024
@himeshr
Copy link
Contributor Author

himeshr commented Dec 2, 2024

@AchalaBelokar AchalaBelokar moved this from QA Ready to In QA in Avni Product Dec 3, 2024
@AchalaBelokar AchalaBelokar moved this from In QA to Done in Avni Product Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants