Motion to Vacate | Do not create De Novo stream without completed judge and attorney tasks #13623
Labels
Priority: Low
Reported issue, not a blocker. "Last in" priority for new work.
Product: caseflow-queue
Team: Foxtrot 🦊
Type: Tech-Improvement
Description
This ticket is to make the code for creating De Novo streams more robust. The De Novo stream relies on the previous vacate stream having a completed JudgeDecisionReview and Attorney Task. This should always be the case in prod, but let's wrap creation of the de_novo stream in a transaction and throw an error if not, just in case.
Acceptance criteria
Background/context/resources
Since I believe this would only happen if there is something wrong with the rest of the appeal processing, I'm not sure how we should handle this besides throwing an error. We may want to ask queue or dispatch about it.
Technical notes
See DeNovoStreamCreator
The text was updated successfully, but these errors were encountered: