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:
2e98e44ed9945982250c1cdc66dbb792c10cd5ed / Kary Zheng 
<[email protected]>
test(verify): derive an operator's configuration from its schema (#8361)

### What changes were proposed in this PR?

An operator is configured by a form, and the form is generated from the
descriptor's own annotations. The same annotations are enough to fill it
without
a human: an enum offers its constants, a column knob takes a column of
the type
its rule allows, a numeric knob its declared bounds, and a conditional
field is
filled only where the branch that shows it is taken.

`@SampleColumn` names the column a knob means where a type cannot say
it: the
opening price among four numbers, the country code among several
strings.

This produces one configuration. Turning that configuration into the
several a
parity run needs is the change after this one, which is why this PR is
now half
the size it was when it was opened. The two halves share no member: this
side
reaches a value through `buildObject`, `decide` and `valueFor`, and the
sweep
reaches its own through `rowFills`, `columnFill` and `leafFill`. Nothing
was
rewritten to make the seam. Whole members moved out, and every line that
stays
is the line that was there.

### Any related issues, documentation, discussions?

Part of #8325, 21 of 27; that issue lists the set in order. This is the
first
half of the configuration generator, and #8388 is the second.

Closes #8423, the task this change is the whole of.

### How was this PR tested?

Seven tests here drive the generator across the config shapes it has to
handle:
an operator with no config at all, a flat one with column knobs and an
enum, a
nested list of objects with a free-form value, and the three ways a
column knob
resolves, by sample, by type rule, and by staying off a column a sibling
took.

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

Generated-by: Claude Code (Opus 5)

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to