Yicong-Huang opened a new pull request, #4502:
URL: https://github.com/apache/texera/pull/4502

   ### What changes were proposed in this PR?
   
   `CheckpointSpec` was the slowest spec in CI (~70s for 2 trivial assertions) 
because it booted **two** Pekko `ActorSystem`s:
   - one in `beforeAll` (`CheckpointSpec.scala:62`)
   - a second one created lazily inside `AmberRuntime.serde` when 
`chkpt.save(...)` was first called
   
   The two systems never interacted — the second only existed so 
`SerializationExtension` had a system to attach to.
   
   This PR adds an `actorSystem_=` setter on `AmberRuntime` and uses it in 
`CheckpointSpec.beforeAll` to hand the spec's own system to the runtime, so the 
lazy fallback never fires. Long-stale commented-out tests in the same file are 
also dropped.
   
   ### Any related issues, documentation, discussions?
   
   Closes #4501
   
   ### How was this PR tested?
   
   Existing `CheckpointSpec` tests cover the two assertions. Verified locally 
that the spec still completes the same two assertions; relying on CI to confirm 
full timing improvement.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.7)


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