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

   ### Task Summary
   
`amber/src/main/scala/org/apache/texera/amber/engine/common/AmberKryoInitializer.scala`
 has no dedicated spec. It is the single `preInit` hook that lets the Pekko 
Kryo serializer move Scala closures between workers (executor code/lambdas), so 
a regression there only surfaces as a runtime failure during distributed 
execution. Add unit tests covering:
   - **Registration correctness**: after `preInit`, `SerializedLambda` is 
registered and `ClosureSerializer.Closure` is bound to a `ClosureSerializer`, 
with a negative control proving a bare `ScalaKryo` has neither.
   - **Closure round-trip**: a real Scala closure serializes and deserializes 
back to a working function.
   - **Captured-state independence**: two closures built the same way but 
capturing different locals round-trip independently.
   
   ### Task Type
   - [x] Testing / QA


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