You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/07/04 04:23:30 UTC

[GH] (texera/gh-readonly-queue/main/pr-6082-93f4b6838f64550771be527e53038d5214c6981c): Workflow run "Required Checks" is working again!

The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-6082-93f4b6838f64550771be527e53038d5214c6981c has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
3dd4c2b57d03c0029f72f3f6e15f374650f3179c / Kunwoo (Chris) <14...@users.noreply.github.com>
refactor(frontend): extract shared computing-unit create modal component (#6082)

### What changes were proposed in this PR?

This is a refactor PR that extracts the "create computing unit" modal,
previously duplicated between the workspace power button
(`computing-unit-selection.component`) and the dashboard Computing Units
page (`user-computing-unit.component`), into a new shared standalone
component `ComputingUnitCreateModalComponent` under
`frontend/src/app/common/component/computing-unit-create-modal/`. The
shared component owns the whole form (unit type, name, CPU/memory/GPU
selects, JVM memory slider, shared memory size, local URI), the option
fetching from
`getComputingUnitTypes()`/`getComputingUnitLimitOptions()`, validation,
and the create call. The workspace host selects the newly created unit
for the current workflow, and the dashboard host refreshes its list.

Net effect: 13 files changed, ~460 lines of duplicated TS/HTML/SCSS
removed, no user-visible behavior change.

### Any related issues, documentation, discussions?

Closes #6081

### How was this PR tested?

Since this is a refactoring, tested whether the behavior of creating a
CU hasn't changed.

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

Generated-by: Claude Code, Claude Fable 5

---------

Signed-off-by: Kunwoo (Chris) <14...@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <17...@users.noreply.github.com>

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

With regards,
GitHub Actions via GitBox