SEZ9 commented on PR #12218:
URL: https://github.com/apache/seatunnel/pull/12218#issuecomment-7113984009

   @Rangsh thanks for the breakdown, this answers my question for the part I 
can see.
   
   - **Post-publish failure test:** agreed. As you describe it, 
`testDeployLocalTaskRollsBackAfterPostPublishFailureAndAllowsRedeploy` fails 
before any cooperative or blocking submit, so it doesn't count as coverage for 
the three dropped `taskDone` cases.
   - **Case (1), cooperative task removed from `threadShareTaskQueue`:** by 
your own table this is covered indirectly only. The listed assertions check the 
cleanup side effects, but none of them observes the rolled-back 
tracker/generation completing, which was the original concern.
   - **Cases (2) and (3):** your comment reached me cut off partway through row 
(1), so I can't see the rows for the blocking task cancelled before start or 
the task that was never submitted. Could you repost those two rows?
   
   Remaining asks on this point:
   
   1. Add a direct assertion in 
`testDeployLocalTaskRollsBackAfterPartialBlockingSubmitRejection` that the 
rolled-back tracker/generation completes, so the test fails if 
`accountForTasksDroppedAfterRollback` stops counting a dropped task.
   2. Make sure each of the three dropped cases is covered by such an 
assertion. If (2) or (3) is also indirect only today, please extend the test or 
add a focused one.
   
   This comment only covers the dropped-task accounting. Could you also confirm 
where the other earlier review points stand on `e3a9b8eb`: the 
`deployLocalTask` Javadoc, the PR description, the `TaskGroupContext` setters, 
and the test cleanup/style items?
   
   <!-- streview-comment:2552 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to