The GitHub Actions job "Backport Approval Check" on texera.git/perf/cu-create-skip-fetch has succeeded. Run started by GitHub user Ma77Ball (triggered by Ma77Ball).
Head commit for run: ae8a488f718d280a1a62eac95aa84564aad27687 / Matthew Ball <[email protected]> perf(computing-unit): skip per-user unit fetch on local CU create createWorkflowComputingUnit resolves a new computing unit inside one transaction. It previously opened by fetching every unit the caller owns (wcDao.fetchByUid) and filtering out terminated ones, then threw InsufficientComputingUnitQuota only when that count reached the cap AND the requested type was Kubernetes. The fetched list fed nothing else, so for a local unit (the only type a single-node deployment offers) the query ran and was discarded. The quota lookup now lives inside the cuType == kubernetes branch and counts running units with .count instead of materializing a filtered list, so a local-unit create issues one fewer database round trip and allocates no intermediate collection. Kubernetes quota enforcement is unchanged. reference/perf-candidates.md records this under P1. Report URL: https://github.com/apache/texera/actions/runs/43594496687 With regards, GitHub Actions via GitBox
