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

   @SEZ9 — short status for the three rows cut off from the previous comment. 
Status: all three Done in 6d6a380a9b, and still present at head 4083d330a2.
   
   1. Assertions inside overridden submit() — Done in 6d6a380a9b.
      submit() only records the await result on an AtomicBoolean and then 
throws RejectedExecutionException. The assertions run on the test thread after 
deploy returns, in 
testDeployLocalTaskRollsBackAfterPartialBlockingSubmitRejection 
(firstBlockingCallGateSatisfied / firstBlockingCallGateTimedOut) and 
testBlockingInitFailureDuringSubmitCompletesAsFailed (firstWorkerInitObserved / 
laterSubmitAllowed). There is no Assertions call inside submit().
   
   2. Partial-submit setup — Done in 6d6a380a9b.
      In testDeployLocalTaskRollsBackAfterPartialBlockingSubmitRejection the 
try starts immediately after previousMode is captured. ThreadShareMode.PART and 
the rejecting executor are installed inside that try. finally clears the 
override, shuts the rejecting executor down, and restores previousMode.
   
   3. Test helper cleanup — Done in 6d6a380a9b.
      callCount() is removed. threadShareQueueContainsLocation now uses the 
BlockingDeque import. The executor override is written only through 
setBlockingTaskExecutorOverride.
   
   @DanielLeens — the close-once finding on `7246ffc847` is addressed on 
`4083d330a2`.
   
   The DONE branch no longer calls `task.close()` again after the task already 
closed itself. `Task.resourcesClosed()` / `AbstractTask.beginClose()` is the 
one close claim shared by the task lifecycle (`SeaTunnelTask` 
CLOSED/CANCELLING, the enumerator, and the aggregated committer) and 
`closeTaskAfterRollbackIfNeeded`. A task that returns DONE without closing is 
still closed once by rollback.
   
   Regression: `testCooperativeDoneAfterOwnCloseIsNotClosedAgain`. The 
cooperative `call()` closes itself and returns DONE while the group exception 
is already set. The test asserts one close in total and that the generation's 
classloader references are released.
   
   Local `TaskExecutionServiceTest` 34/34. CI: 
https://github.com/Rangsh/seatunnel/actions/runs/46577345130 on `4083d330a2` 
(queued).


-- 
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