-
Notifications
You must be signed in to change notification settings - Fork 0
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
WF2 getting Lost
when fetching a large patient list
#93
Comments
thanks for this @AishaHassen ... in which step does the mapping happen currently? Are we talking about moving the mapping from one step to another? |
@mtuchi I'd welcome your estimate here so we can think about cost implications of moving forward with this. But then let's you/me/ @AishaHassen discuss after stand-up and decide if it's worth the investment once we get updates from product team. |
Implementation Notes
|
Pushing the product team to solve the lost run issue on lightning |
Closing this issue, because we decided that small enhancements here might not be enough to address the Joe is working on a fix to Lost runs (see slack) that I think will really address this problem. |
Describe the bug and expected behavior
WF2
currently ends with alost
status when fetching a large number of patients(450+) from OMRS in itsGet patient
step.Get patients
step saves the patients instate
and passes it down to the next jobTo Reproduce
cursor
date set asJan 1, 2025
Possible solution
get patients
step get passed to downstream steps where they get mapped and reduced to a lighter list. The proposed solution, is to do the mapping of thePatients
on theget patients
step and reduce the size of the patient's array so that we don't bloat thestate
expression.js
Link to the job itself in Github: https://github.com/OpenFn/msf-lime-mosul/blob/main/workflows/wf2/1-get-patients.js
Adaptor: http
To test/resolve
Lost
stateToggl
MSF-2024
The text was updated successfully, but these errors were encountered: