Closed ccostino closed 5 months ago
So currently there is a timing issue where the UI has to poll and wait for the job to be created in the db before it can fetch the info it needs. There may be multiple calls with 'no result found' but the code repeats a number of times, so ultimately it succeeds.
Eventually this issue should get resolved. @A-Shumway42 is reworking the timing so that 'create_job' occurs long before 'start_job'. When that work is completely, we should not get spurious 'No Result Found' errors.
Thanks, @terrazoon! This makes sense and if @A-Shumway42's work adjusts the order of timing so that the method calls happen when they need to, all the better. 🙂
Thanks for taking a look into this and providing the explanation! We're going to close this out.
This is one of the errors we've seen captured in New Relic that we'd like to dig into and understand, if not also resolve.
This happens during a one-off message send. The message will still be sent out, but this error is thrown in the background. It is currently affecting all environments and can be reproduced locally.
In staging, one-off message sends seem to take an extra mount of time before they're actually sent. It's not clear if this issue is related or not.
Error message: No row was found when one was required Path: /service//job/
Exception: sqlalchemy.exc:NoResultFound
Implementation Sketch and Acceptance Criteria
Security Considerations