The GitHub Actions job "Required Checks" on texera.git/main has failed.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
5264df2861840bf8b1662ff2e1814b8aa80215db / Meng Wang <[email protected]>
fix(frontend): say the warehouse is missing on the form view's run button 
(#8592)

### What changes were proposed in this PR?

The form view's run button enumerates every state a run cannot start
from — invalid workflow, empty workflow, connecting, no computing unit,
a read-only unit — so that, in its own words, "the reader is never sent
to press a button that does nothing". The warehouse requirement added in
#8551 was missing from that list: with the feature enabled and nothing
picked, the button read `Run` and looked ready, and the click was
refused deeper down in `ExecuteWorkflowService`, with a toast.

It now names what is missing, ordered after the computing unit as the
canvas orders them, and stays disabled — the warehouse is picked in the
embedded selector, the same reasoning the no-unit case already gives.
The condition it reads is the one `ExecuteWorkflowService` refuses on —
the boot-time flag and the picked warehouse, both root-scoped — so the
button predicts that refusal exactly.

Flag off (the default): `warehouseRequiredButMissing` is never true, so
the button behaves exactly as before.

### Any related issues, documentation, discussions?

Closes #8591. Follows #8551. Part of #6870.

### How was this PR tested?

- Two Vitest cases added: the button names the missing warehouse and
stays disabled, and returns to `Run` once one is picked. The workspace
suite passes in full: 3324 tests.
- Failure path verified rather than assumed: the new case was removed on
purpose and the suite confirmed to fail for the expected reason before
being restored.

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

Generated-by: Claude Code (claude-opus-5, claude-fable-5)

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

With regards,
GitHub Actions via GitBox

Reply via email to