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

   ### What changes were proposed in this PR?
   
   - Reuse `PythonTestSupport` for running generated scripts, module/driver 
pairs, and the Hugging Face stdin probe.
   - Share generated-code assertions while keeping literal-or-Base64 and 
Base64-only checks distinct.
   - Share Hugging Face context fixtures and retain task-specific payload and 
parser expectations. Eight type-only cases are covered by retained checks on 
the same calls and inputs, including field-specific error messages.
   
   ### Any related issues, documentation, discussions?
   
   Closes #9477.
   
   ### How was this PR tested?
   
   Ran the same 68 suites before and after with JDK 17 and Python 3.12. All 624 
retained passing cases still pass. The same Windows newline failure in 
`UrlVizOpDescSpec` reproduces on both revisions.
   
   ```bash
   sbt -batch -mem 4096 'WorkflowOperator/Test/scalafix --check' 
'WorkflowOperator/Test/scalafmtCheck'
   
   suites=(
     *AggregateOpDescSpec *DistinctOpDescSpec *SpecializedFilterOpDescSpec 
*HashJoinOpDescSpec
     *AudioTaskCodegenSpec *HuggingFaceBinaryValueBehaviorSpec 
*HuggingFaceCodegenBaseSpec
     *HuggingFaceParseBehaviorSpec *ImageTaskCodegenSpec *MediaGenCodegenSpec
     *QaRankingCodegenSpec *TextGenCodegenSpec *IfOpDescSpec 
*IntervalJoinOpDescSpec
     *MachineLearningScorerOpDescSpec *RegexOpDescSpec 
*ReservoirSamplingOpDescSpec
     *SamplingHelpersSpec *DifferenceOpDescSpec *IntersectOpDescSpec
     *SymmetricDifferenceOpDescSpec *StableMergeSortOpDescSpec 
*SortPartitionsOpDescSpec
     *ArrowSourceOpDescSpec *CSVScanSourceOpDescSpec *CSVOldScanSourceOpDescSpec
     *JSONLScanSourceOpDescSpec *TextInputSourceOpDescSpec 
*SubstringSearchOpDescSpec
     *TimeSeriesOpDescSpec *TypeCastingOpDescSpec *BarChartOpDescSpec 
*BoxViolinPlotOpDescSpec
     *BubbleChartOpDescSpec *CarpetPlotOpDescSpec *ChoroplethMapOpDescSpec
     *ContinuousErrorBandsOpDescSpec *DendrogramOpDescSpec 
*DumbbellPlotOpDescSpec
     *ECDFPlotOpDescSpec *FigureFactoryTableOpDescSpec *FilledAreaPlotOpDescSpec
     *FunnelPlotOpDescSpec *GaugeChartOpDescSpec *HeatMapOpDescSpec 
*HierarchyChartOpDescSpec
     *HistogramChartOpDescSpec *Histogram2DOpDescSpec *IcicleChartOpDescSpec
     *ImageVisualizerOpDescSpec *LineChartOpDescSpec *NestedTableOpDescSpec
     *NetworkGraphOpDescSpec *PieChartOpDescSpec *PolarChartOpDescSpec 
*QuiverPlotOpDescSpec
     *RadarChartOpDescSpec *RadarPlotOpDescSpec *Scatter3dChartOpDescSpec
     *ScatterMatrixChartOpDescSpec *ScatterPlotOpDescSpec *TablesPlotOpDescSpec
     *TernaryContourOpDescSpec *TernaryPlotOpDescSpec *TreePlotOpDescSpec 
*UrlVizOpDescSpec
     *WaterfallChartOpDescSpec *WindRoseChartOpDescSpec
   )
   sbt -batch -mem 4096 "WorkflowOperator/testOnly ${suites[*]}"
   ```
   
   Local probes exercised UTF-8 decoding, output capture, callback cleanup, and 
timeout handling for the stdin probe. The context fixture rejected 26 injected 
raw-value leaks and 30 context-dependent snippets. Substituting literal 
matching for Base64-only matching failed the Quiver and Radar suites.
   
   ### 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