guardian / crossword-uploader

Repository for the AWS lambda functions used to upload crosswords
0 stars 0 forks source link

Add dual running for crossword-pdf-uploader to crosswordv2 service #36

Closed kenoir closed 1 year ago

kenoir commented 1 year ago

What does this change?

Follow https://github.com/guardian/crossword-uploader/pull/35. This change notifies the new crosswordv2 service about crosswords as well as continuing to notify the existing current service. Requests to crosswordsv2 should fail safely in a way that does not prevent the existing service from continuing to behave as expected.

How to test

How can we measure success?

Both crosswords services can run at the same time without impacting one another allowing us quick feedback on the running of the crosswordv2 service.

Have we considered potential risks?

This change has the potential to impact the existing crossword service if contacting the V2 endpoint causes the V1 request to fail, we've attempted to mitigate this with thorough testing and wrapping function calls in Try where appropriate.