Repository navigation
Get latest delivery configuration when processing batch submissions - #2399
DavidBiddle wants to merge 1 commit into
Conversation
b1e6abf to
e9da756
Compare
05ff058 to
9582d05
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Batch scheduling reliability, query scalability, and partial-delivery cleanup need correction before approval.
5 open findings
Retry transient lookup failures to prevent permanent scheduling gaps · New Avoid destroying submissions after partial delivery enqueue failures · New Deduplicate form and mode pairs in PostgreSQL, not Ruby · New Deduplicate form lookups before loading daily submissions Test delivery creation uses endpoint configuration over stale document data · New
1 resolved since last review
🧠 Review effort: Balanced
35298c4 to
779d996
Compare
779d996 to
55ff7e1
Compare
|
I've moved the immediate submission handling into #2435, so this PR will only cover the changes to batch submissions. |
95d6c48 to
4b9a694
Compare
|
I've now reworked this to get the list of forms with batch delivery enabled from forms-admin, instead of looking it up per-form. To do this I've added a new endpoint to forms-admin: govuk-forms/forms-admin#3239 |
4b9a694 to
b48f16b
Compare
|
🎉 A review copy of this PR has been deployed! It is made of up two components It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready For the sign in details and more information, see the review apps wiki page. |



What problem does this pull request solve?
Trello card: https://trello.com/c/P7bDQZTP/3248-get-submission-delivery-configuration-from-latest-live-version-of-the-form-in-forms-runner
Updates the batch submission processing logic to always fetch the latest delivery configurations from the delivery configurations endpoint in forms-admin, instead of checking the form document attached to the submission as we do currently.
Note: govuk-forms/forms-admin#3239 needs to be deployed before this can be merged
Things to consider when reviewing