The GitHub Actions job "Build and push images" on texera.git/main has succeeded.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
a268c1cc0d36ef9452fee54de6336483aefae17a / yangzhang75 <[email protected]>
feat(workflow-form): run the workflow from the form and show the author's 
instruction (#8440)

### What changes were proposed in this PR?

Closes #8023. Part of the Form View stack (parent issue #8011), stacked
on #8438 (PR11) and #8437 (PR10).

The Form View can now render inputs and write them back. This PR makes
it usable end to end: it runs the workflow, and shows the author's
instruction above the inputs.

- **Run.** A Run button that shares the operator canvas's disable
conditions (an invalid or empty workflow, a unit still connecting, or no
unit chosen each disable it and say why), but deliberately simplifies
the execution states a reader needs down to Run and Stop, with no
pause/resume. The unit is chosen in the embedded computing-unit
selector. Running is the same execution call the canvas makes, so empty
or invalid inputs surface as a real engine error rather than a
client-side gate; a run clock counts off the engine's own event, and a
failed run collapses an opaque trace to one plain sentence (a required
input left empty reads as "please fill in the required fields").
- **Instruction.** The author's optional instruction renders above the
inputs as a collapsible, read-only markdown card, shown only when there
is text. It is bound through `[innerHTML]` with Angular's default
sanitizer, so author markdown cannot inject script. Editing it is part
of the authoring PR.

Showing the chosen results is the next PR (#8024).

### Any related issues, documentation, discussions?

Closes #8023. Part of the Form View feature (parent issue #8011).

### How was this PR tested?

Unit tests (vitest). Direct-construction tests cover every run-button
precedence branch, `onRun` (kill while running, no-op when disabled,
else execute and clear the error), the five failed-run message paths,
the run clock and its tick, and the status/validation/connection
subscriptions; the instruction is covered for the markdown render,
`hasInstruction`, and the toggle. TestBed template tests stand up the
instruction card, the run bar, and the run-button click binding. 100%
statement and function coverage on the changed source (the remaining
uncovered branches are the pre-existing defensive `??`/`||` fallbacks).
`ng test` (99 tests), `ng build gui`, eslint and prettier all pass, in
both the single-user and collaboration paths.

#### Screenshot

The run bar (Run button + computing-unit selector + clock) and the
author's instruction card above the inputs.
<img width="1323" height="488" alt="Screenshot 2026-09-06 at 12 07
57 PM"
src="https://github.com/user-attachments/assets/024d3bf5-be01-4449-8a0f-7538961cb83a";
/>



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

Yes. Co-authored with Claude (Anthropic), reviewed line by line by the
author before submission.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: Meng Wang <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to