The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-8772-2e67fbc7d94e479a5371416783a6d3757c26fa07
 has succeeded.
Run started by GitHub user Xiao-zhen-Liu (triggered by Xiao-zhen-Liu).

Head commit for run:
41246ab5760c23baa394636b07645398bfb83b51 / Suryaa Charan 
<[email protected]>
feat(computing-unit-managing-service): say how to free a slot when the CU quota 
is reached (#8772)

### What changes were proposed in this PR?

When a user hits the computing unit limit, the error only said "You may
only have N computing-unit(s) running at the same time". It now adds
what to do: "Reuse a running computing unit, terminate a cloud unit, or
disconnect a local unit you no longer need." Local units count toward
the limit too, and the UI removes them with "Disconnect", which calls
the same terminate endpoint and frees the slot.

### Any related issues, documentation, discussions?

Part of #8736. Split out of #8737.

### How was this PR tested?

Updated `ComputingUnitManagingServiceExceptionSpec`.

```
sbt "ComputingUnitManagingService/testOnly 
org.apache.texera.service.util.ComputingUnitManagingServiceExceptionSpec" 
"ComputingUnitManagingService/scalafmtCheck" 
"ComputingUnitManagingService/Test/scalafmtCheck"
```

There's no screenshot because this error only appears on a Kubernetes
deployment, and I tested on a local install.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 5.5)

---------

Co-authored-by: suryaacharan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/39709475819

With regards,
GitHub Actions via GitBox

Reply via email to