The GitHub Actions job "Backport Approval Check" on 
texera.git/fix/udf-parser-unclosed-argument-list has failed.
Run started by GitHub user xuang7 (triggered by xuang7).

Head commit for run:
6c7761afe606606a64040446b566513cbe74615b / Yang Zhang <[email protected]>
fix(frontend): keep a Python UDF parameter, and its value, while a keyword is 
being added to its declaration

A Python UDF declares its UI parameters in code, and the frontend keeps
the operator's uiParameters rows in step with the code, carrying each
row's value over by name. Adding a keyword to an existing declaration --
", value=" typed after the type, with the closing paren the editor put
there already, so the code reads "value=)" for a moment -- made the
parameter's row vanish from the property panel and the value filled in
for it went with it: lezer puts its error node where the value will go,
the argument could not be read, and readCall discarded the whole
parameter rather than the unfinished argument. The sync rebuilt the rows
from that parse and the panel wrote them back without the row.

An argument whose value is the error node is now left out of the call
rather than failing it; its keyword still counts as a named argument, so
a positional after it is refused as it always was. What the parser
rejects is otherwise unchanged: a complete but wrong argument still
discards the parameter. The R parser, with its own reader and the same
gap, is untouched here.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to