anthonychengit opened a new pull request, #8002:
URL: https://github.com/apache/texera/pull/8002

   ### What changes were proposed in this PR?
   
   Use the destination worker, rather than the sender, when deciding whether an 
unacknowledged network message can be resent.
   
   ```text
   Before: timeout -> sender exists -> resend toward a removed destination
   After:  timeout -> destination exists -> resend; otherwise keep the message 
pending
   ```
   
   Regression tests cover both directions: a registered destination with an 
unknown sender resends successfully, while a registered sender with a missing 
destination does not resend.
   
   ### Any related issues, documentation, discussions?
   
   Closes #6921.
   
   ### How was this PR tested?
   
   The two regression tests were added first and both failed against the old 
sender guard. After the one-line fix:
   
   ```text
   sbt "WorkflowExecutionService/testOnly 
org.apache.texera.amber.engine.architecture.common.PekkoMessageTransferServiceSpec"
   ```
   
   Result: 5 tests passed.
   
   ```text
   sbt "scalafixAll --check" "scalafmtCheckAll"
   git diff --check
   ```
   
   Result: all lint, formatting, and diff checks passed.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Codex was used for implementation and verification assistance. 
I reviewed the final code and test output before submission.
   


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