The GitHub Actions job "Required Checks" on 
texera.git/feat/generated-op-loop-refs has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
8f83171e59fdd057ba549c12e64ac69720eda0e4 / Xinyuan Lin <[email protected]>
fix: reject a text reference that generated code reads when the operator starts

WorkflowCompiler now leaves a text reference unbound when the generated
code reads its lookup when the operator starts: in open or __init__,
which the worker runs before it starts, so before any state message can
arrive. The error says "its code reads the text when the operator
starts, before the iteration's state arrives". Until now the compiler
accepted such a reference, and every run failed when open read it.

Hugging Face is the one operator this changes: its open reads all 13 of
its text properties. A sweep of every generated operator, one text
property at a time, finds every other reference read in process_tuple,
process_table or a method they call, and those still bind.

PythonOperatorDescriptor.runsAtStartup finds the function a lookup runs
in from the code's indentation: the innermost one, skipping the lines
inside a triple-quoted text, as pyb's own checks read generated code.

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

With regards,
GitHub Actions via GitBox

Reply via email to