aglinxinyuan opened a new pull request, #9406:
URL: https://github.com/apache/texera/pull/9406

   ### What changes were proposed in this PR?
   
   Share Python discovery and package probes across 27 operator specs, removing 
699 net lines. The test utility preserves configuration-first, 
environment-first and PATH-only lookup, whitespace handling, probe deadlines, 
lazy callers and integration tags. Each spec keeps its existing failure or 
cancellation policy and assertions.
   
   ### Any related issues, documentation, discussions?
   
   Closes #9401.
   
   ### How was this PR tested?
   
   With JDK 17 and `UDF_PYTHON_PATH` pointing to Python 3.12:
   
   ```sh
   sbt "WorkflowOperator/testOnly *SamplingHelpersSpec *IfOpDescSpec 
*MachineLearningScorerOpDescSpec *RegexOpDescSpec *ReservoirSamplingOpDescSpec 
*StableMergeSortOpDescSpec *SortPartitionsOpDescSpec *ArrowSourceOpDescSpec 
*CSVScanSourceOpDescSpec *CSVOldScanSourceOpDescSpec *JSONLScanSourceOpDescSpec 
*TextInputSourceOpDescSpec *SubstringSearchOpDescSpec *TypeCastingOpDescSpec 
*ImageVisualizerOpDescSpec *CarpetPlotOpDescSpec *FigureFactoryTableOpDescSpec 
*FilledAreaPlotOpDescSpec *GaugeChartOpDescSpec *Histogram2DOpDescSpec 
*PolarChartOpDescSpec *TablesPlotOpDescSpec *TreePlotOpDescSpec 
*UrlVizOpDescSpec *WaterfallChartOpDescSpec *PythonCodeRawInvalidTextSpec 
*PythonWorkerPoolSpec"
   sbt "WorkflowOperator/scalafmtCheck" "WorkflowOperator/Test/scalafmtCheck" 
"WorkflowOperator/scalafix --check" "WorkflowOperator/Test/scalafix --check"
   ```
   
   The selected suites ran 276 cases: 275 passed; the existing Windows URL HTML 
line-ending assertion failed unchanged. All test names, order, outcomes and 48 
integration-tag assignments match main. The other 417 spec members retain their 
tokens after accounting for the extracted calls.
   
   Compared all 50 replaced discovery/probe implementations under valid, 
space-padded, invalid, empty and unset interpreter overrides. Positive imports, 
missing modules, missing executables and process timeouts were checked. 
Disabling interpreter detection failed the original isolated-compilation case; 
the helper was restored before the final run. Formatting and lint checks pass.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Codex (GPT-6).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to