Closed jfcalvo closed 4 hours ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.99%. Comparing base (
b23f3d8
) to head (5adc94b
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This PR include changes to explore the possibility of using a new column named
count_submitted_responses
torecords
table.This new column will be refreshed every time a response is created/updated/deleted maintaining a correct counter value of the submitted responses that a record has.
With this value we can easily filter records that are in
completed
status, using the distribution strategy for the associated dataset.Changes that are included in this PR:
count_submitted_responses
when a response is created/updated/deleted.Changes that are not present in this PR
count_submitted_responses
when responses are created in bulk.count_submitted_responses
when records are created/upserted in bulk.count_submitted_responses
into the search engine mapping.status
to record responses.status
value.Refs #5069
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)
How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference
tests
)Checklist