You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aglinxinyuan (via GitHub)" <gi...@apache.org> on 2026/07/11 23:47:29 UTC

[I] Add unit test coverage for ComputingUnitSelectionComponent [texera]

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: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add unit test coverage for ComputingUnitSelectionComponent [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #6347: Add unit test coverage for ComputingUnitSelectionComponent
URL: https://github.com/apache/texera/issues/6347


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org