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

   ### What changes were proposed in this PR?
   
   Add unit test coverage for `ComputingUnitManagingServiceException` — the 
message rendering of `InsufficientComputingResource`, 
`InsufficientComputingUnitQuota`, and `InternalError`, plus `fromKubernetes`, 
which classifies a `KubernetesClientException` into a typed exception. Pure 
logic, no DB — the exception is constructed in-process (no live k8s). No 
production-code changes.
   
   ### Any related issues, documentation, discussions?
   
   Closes #6325.
   
   ### How was this PR tested?
   
   ```
   sbt "ComputingUnitManagingService/testOnly 
*ComputingUnitManagingServiceExceptionSpec"
   ```
   
   All 10 pass. `scalafmt` and `scalafix --check` are clean. The spec touches 
no cluster or DB — `fromKubernetes` is exercised with in-process 
`KubernetesClientException` instances across the cpu / memory / gpu / 
no-resource / non-quota / null / case-insensitive branches.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.8 [1M context])
   


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