Closed vinayvenu closed 11 months ago
6 - to be taken care in the error retry card. have logged error so that admin can see what failed and fix mapping
We need to handle 7.Additionally, when an error gets resolved, delete the errorRecord corresponding to that entity.
For platform errors, it looks like the service will continue processing without updating any records. No tests, so cannot validate this. It will be useful to add unit tests to verify behaviour.
For platform errors, it looks like the service will continue processing without updating any records. No tests, so cannot validate this. It will be useful to add unit tests to verify behaviour.
For platform errors, we'll stop the app as part of card #89, not doing it now, as we would not have a way to reprocess errored entities without having to manually move the offset past errored record dateTimes.
Tests for ErrorRecord will also have to be created in general as a separate card. We have very few Test cases setup for integration-service in general.
I had deployed this onto staging env on 30 Nov 2023 and checked that integration works as expected after the change. And the corrected Subject's error records are indeed deleted after completing sync successfully.
Implement error handling as per the design document.
Additionally, when an error gets resolved, delete the errorRecord corresponding to that entity.