aglinxinyuan opened a new issue, #6347:
URL: https://github.com/apache/texera/issues/6347

   ### Task Summary
   
   `ComputingUnitSelectionComponent` (frontend, 
`workspace/component/power-button/`) is only ~34% line-covered. Extend its 
existing spec to cover: the selected-unit stream (workflow-execution check → 
enable/disable workflow modification, with the `lastSelectedCuid` guard), the 
workflow-metadata subscription + fallback to the first Running unit, 
`selectComputingUnit` guards, the status helpers 
(`getButtonText`/`computeStatus`/`cannotSelectUnit`/`isSelectedUnit`), 
`terminateComputingUnit` (invalid id / confirm-and-terminate / local-type env 
deletion), unit-name editing (owner guard, validate/rename/error), the 
dropdown-visibility refresh, PVE-modal package editing helpers 
(`addPackage`/`togglePackageDelete`/`parsePackageRows`/`updatePrettyPipOutput`),
 and template rendering of the PVE modal + trigger button.
   ### Task Type
   
   - [ ] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [x] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other


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