aglinxinyuan opened a new issue, #6307:
URL: https://github.com/apache/texera/issues/6307

   ### Task Summary
   
   `RetrieveWorkflowStateHandler` (amber, 
`.../coordinator/promisehandlers/RetrieveWorkflowStateHandler.scala`) is ~7% 
line-covered on Codecov — the `retrieveWorkflowState` body (collecting target 
operator ids, building the `PropagateEmbeddedControlMessage` request, 
dispatching it, and registering the response transform) has no unit test.
   
   It is exercisable as a plain-JVM ScalaTest: build a real 
`CoordinatorProcessor` with a capturing output handler + a 
`CoordinatorAsyncRPCHandlerInitializer`, invoke the handler, and assert the 
dispatched control message (no ActorSystem, DB, Python, or storage needed). 
Part of the amber unit-test coverage push toward 80% 
([Codecov](https://app.codecov.io/gh/apache/texera)).
   ### Task Type
   
   - [ ] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [x] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other


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