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

   Thanks for the update. Going by the re-review of c8b34a7b5d35, here is where 
the four earlier points stand.
   
   - **Second read in `cancelJob()` (F1): resolved.** Keeping the fresh second 
`getJobStatus` is fine now that it is deliberate. A job that moves from PENDING 
to RUNNING after the terminal guard takes the CANCELING path with pipeline 
cleanup instead of completing directly. The null path is also explicit: 
`Objects.requireNonNull` throws before any state write, pipeline action or 
future completion, and the new exact-type test asserts those side effects are 
absent.
   - **Check-then-act outside the monitor (F2): not blocking here.** This 
change is a narrow predicate and compatibility repair, not an atomic 
check-and-transition fix. The pre-existing inter-monitor race is documented and 
tracked separately, so I'm fine leaving it out of this PR.
   - **Test coverage (F3): mostly addressed.** The enum guard now explains 
append-only evolution, the null path is covered, and the packaged batch-cancel 
CLI IT drives the cancel path to an eventual CANCELED. One question: does that 
IT, or another existing test, reach the not-started branch of 
`NOT_STARTED_STATUSES`, where the job goes straight to CANCELED?
   - **Javadoc on `NOT_STARTED_STATUSES` (F4): unconfirmed.** The re-review 
doesn't mention this one. Could you confirm the constant now has Javadoc tying 
it to the state machine, and that the inline comments at the two call sites no 
longer repeat the set contents?
   
   Once those two questions are answered, I have nothing further on these 
points.
   
   <!-- streview-comment:2638 -->


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