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

   ### What changes were proposed in this PR?
   - ComputingUnitManagingResource.createWorkflowComputingUnit no longer calls 
wcDao.fetchByUid on every create; the lookup moves inside the Kubernetes 
branch, the only place its result is used (the per-user quota check).
   - That quota check counts running units with .count instead of building and 
sizing a filtered list.
   - Creating a local unit, the only type the single-node deployment offers, no 
longer issues the wasted per-user query.
   ### Any related issues, documentation, discussions?
   Closes: #9436
   ### How was this PR tested?
   - Run `sbt "ComputingUnitManagingService/testOnly 
*ComputingUnitManagingResourceSpec"` and confirm it passes; the create path is 
behavior-preserving for the local unit case.
   - On the single-node stack, call POST /api/computing-unit and confirm a 
local unit is still created and returned as before.
   ### Was this PR authored or co-authored using generative AI tooling?
   Co-authored with Claude Opus 4.8 in compliance with ASF
   


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