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:
43c398229d64be3931838aee0c2c08ea323018a1 / Xinyuan Lin <[email protected]>
test(workflow-operator): share generated Python test setup (#9479)

### What changes were proposed in this PR?

- Reuse `PythonTestSupport` for running generated scripts, module/driver
pairs, and the Hugging Face stdin probe. Scripts and drivers share one
runner that sends their output to a file, so the timeout stops a hung
script and a large output cannot fill the pipe.
- 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.

After review, reran them on macOS together with the five specs the
follow-up also touches: 73 suites, 692 tests passed, none failed or
canceled. A throwaway spec confirmed that `runSource` stops a hung
script at its timeout, and that `runSource` and `withDriver` return a 2
MB output without stalling.

```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
  *HuggingFaceSentimentAnalysisOpDescSpec 
*HuggingFaceIrisLogisticRegressionOpDescSpec
  *HuggingFaceTextSummarizationOpDescSpec *HuggingFaceSpamSMSDetectionOpDescSpec
  *VolcanoPlotOpDescSpec
)
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) and Claude Code (Opus 5.5)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to