The GitHub Actions job "Backport Approval Check" on 
texera.git/test/6674-issink-ispythonudf has succeeded.
Run started by GitHub user suyashj1231 (triggered by suyashj1231).

Head commit for run:
74ac4fe0bf31acad251fd4a93881d9c4108bb401 / suyashj1231 
<[email protected]>
test(workflow-graph): cover isSink and isPythonUdf

Both helpers gate real behaviour — isSink decides which operators the
result panel renders and which ones the operator menu lets you cache,
isPythonUdf decides whether the console and the UDF parameter sync run —
but neither had any test.

The two use different matching rules, and the tests pin both down:

  isSink       case-insensitive substring match on "sink"
  isPythonUdf  exact membership in the three V2 UDF type constants

The substring rule means an unrelated operator whose type merely
contains "sink" is reported as a sink; that case is covered explicitly so
the looseness is recorded rather than discovered later. On the other
side, "PythonUDF" (the legacy non-V2 type, already in the mock fixtures)
is not a Python UDF by this helper, which is easy to misread at a call
site, so it is asserted directly.

Closes #6674

Claude-Session: https://claude.ai/code/session_01EeaEYRdhRYWL7ya7w8LJux

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

With regards,
GitHub Actions via GitBox

Reply via email to