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

Targets report 0/0 for some users after interval turnover #9714

Closed
kennsippell opened this issue Dec 17, 2024 · 0 comments
Closed

Targets report 0/0 for some users after interval turnover #9714

kennsippell opened this issue Dec 17, 2024 · 0 comments
Assignees
Labels
Type: Bug Fix something that isn't working as intended
Milestone

Comments

@kennsippell
Copy link
Member

kennsippell commented Dec 17, 2024

Describe the bug
I'm struggling a bit to pin this down to a specific repro, but I think the evidence below indicates quite strongly a problem in handleIntervalTurnover.

To Reproduce
November target document

  • All targets report a value of 0
  • This target doc has 121 revs, so presumably it wasn't 0 all month. Trying to verify via audit log but stuck.
  • If I login as this user in production and set the date to November, I see 95 household visits and 14 referrals in the targets tab. I can also see these values in the target doc during the month of November.
  • Last write is Dec 2 midnight EAT (interval turnover on Dec 2)

Nov 30th telemetry indicates:

  • User loaded the targets tab successfully!
  • No feedback documents reported Nov 30th +/- many days
  • They are running CHT Core 4.13
  • No reports completed or contacts created. They seem to just login and sync (which is what they are told to do by Nairobi coordinators to ensure end-of-month reporting)

Dec 2nd telemtry

  • No activity on Dec 1.
  • They load the targets tab like 10 times
  • They completed about 32 reports on this single day
  • Same DeviceID as Nov 30th telemetry

Expected behavior
Target doc should not report values with all zeros when target tab is showing valid sums

Environment

  • Instance: nairobi.echis.go.ke
  • App: webapp
  • Version: 4.13.0

Additional context
About 7% of eCHIS Nairobi users are reporting that the values on their Nov target documents are incorrect during the first week of December. They are running the fix for #9431. This is causing users to continue to not trust the performance data presented by the eCHIS digital payment system.

@kennsippell kennsippell added the Type: Bug Fix something that isn't working as intended label Dec 17, 2024
@kennsippell kennsippell self-assigned this Jan 5, 2025
@dianabarsan dianabarsan added this to the 4.16.0 milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Fix something that isn't working as intended
Projects
None yet
Development

No branches or pull requests

2 participants