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: 13aa747cb5ce57fd8f691640a869709172fc1492 / Xinyuan Lin <[email protected]> test(workflow-operator): share Python test discovery (#9406) ### What changes were proposed in this PR? Share Python discovery and package probes across 34 operator specs, removing 892 net lines. `PythonTestSupport.configuredPython` tries the trimmed `UdfConfig.pythonPath`, which `UDF_PYTHON_PATH` sets, and then `python3`, `python` and `py`; `PythonWorkerPoolSpec` keeps its PATH-only lookup. Probe deadlines, lazy callers and integration tags are unchanged. Each spec keeps its existing failure or cancellation policy and assertions. The shared probe discards the child's output instead of leaving it in a pipe nothing reads, and `PythonCodeRawInvalidTextSpec`'s failure message lists what the lookup tried. ### Any related issues, documentation, discussions? Closes #9401. ### How was this PR tested? With JDK 17 and Python 3.12 (pandas, numpy and plotly installed) first on the PATH: ```sh sbt "WorkflowOperator/testOnly *SamplingHelpersSpec *DistinctOpDescSpec *HashJoinOpDescSpec *HuggingFaceBinaryValueBehaviorSpec *IfOpDescSpec *IntervalJoinOpDescSpec *MachineLearningScorerOpDescSpec *RegexOpDescSpec *ReservoirSamplingOpDescSpec *DifferenceOpDescSpec *IntersectOpDescSpec *SymmetricDifferenceOpDescSpec *StableMergeSortOpDescSpec *SortPartitionsOpDescSpec *ArrowSourceOpDescSpec *CSVScanSourceOpDescSpec *CSVOldScanSourceOpDescSpec *JSONLScanSourceOpDescSpec *TextInputSourceOpDescSpec *SubstringSearchOpDescSpec *TypeCastingOpDescSpec *ImageVisualizerOpDescSpec *CarpetPlotOpDescSpec *FigureFactoryTableOpDescSpec *FilledAreaPlotOpDescSpec *GaugeChartOpDescSpec *Histogram2DOpDescSpec *PolarChartOpDescSpec *TablesPlotOpDescSpec *TreePlotOpDescSpec *UrlVizOpDescSpec *WaterfallChartOpDescSpec *PythonCodeRawInvalidTextSpec *PythonWorkerPoolSpec" sbt "WorkflowOperator/Test/compile" "WorkflowOperator/scalafmtCheckAll" "WorkflowOperator/scalafixAll --check" ``` The 34 suites ran 334 cases: 333 passed, and the existing Windows URL HTML line-ending assertion in `UrlVizOpDescSpec` failed as it does on main. Running main's versions of the same 34 specs gives the same test names, order and outcomes in every suite, and the specs keep the same 61 integration-tag registrations. Apart from `PythonWorkerPoolSpec`, every replaced lookup tried the configured interpreter and then `python3`, `python` and `py`, as `configuredPython` does. The three visualization specs that read `UDF_PYTHON_PATH` directly now get the same value through `udf.conf`, trimmed. Every replaced probe imports the same modules within the same deadline. Formatting and lint checks pass. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-6), Claude Code (Claude Opus 5.5, Claude Fable 5.2). Report URL: https://github.com/apache/texera/actions/runs/43717219672 With regards, GitHub Actions via GitBox
