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:
0e9c48b4a8e2dfb1ac317ae22b7f12f1d1792139 / Xinyuan Lin <[email protected]>
refactor(workflow-operator): share chart code fragments (#9419)

### What changes were proposed in this PR?

Share static Python chart bodies between runtime and export, and
centralize repeated standalone error renderers and output-writing
fragments. This removes 211 net lines across 46 visualization
descriptors and two shared helpers. The generated runtime Python and
chart messages are unchanged; the exported Gauge, Radar and Tree scripts
now also carry the comment and blank lines of the bodies they share with
the runtime.

### Any related issues, documentation, discussions?

Closes #9418.

### How was this PR tested?

```sh
sbt "WorkflowOperator/scalafix --check" "WorkflowOperator/Test/scalafix 
--check" scalafmtCheckAll
```

408 tests passed across 55 suites, with one existing pending case:

<details>
<summary>Exact test command</summary>

```sh
sbt "WorkflowOperator/testOnly *DotPlotOpDescSpec *ScatterMatrixChartOpDescSpec 
*BarChartOpDescSpec *BoxViolinPlotOpDescSpec *BubbleChartOpDescSpec 
*BulletChartOpDescSpec *BulletChartStepDefinitionSpec 
*CandlestickChartOpDescSpec *CarpetPlotOpDescSpec *ChoroplethMapOpDescSpec 
*BandConfigSpec *ContinuousErrorBandsOpDescSpec *ContourPlotOpDescSpec 
*DendrogramOpDescSpec *DumbbellDotConfigSpec *DumbbellPlotOpDescSpec 
*ECDFPlotOpDescSpec *FigureFactoryTableConfigSpec *FigureFactoryTableOpDescSpec 
*FilledAreaPlotOpDescSpec *FunnelPlotOpDescSpec *GanttChartOpDescSpec 
*GaugeChartOpDescSpec *GaugeChartStepsSpec *HeatMapOpDescSpec 
*HierarchyChartOpDescSpec *HierarchySectionSpec *HistogramChartOpDescSpec 
*Histogram2DOpDescSpec *IcicleChartOpDescSpec *LineChartOpDescSpec 
*LineConfigSpec *NestedTableConfigSpec *NestedTableOpDescSpec 
*NetworkGraphOpDescSpec *ParallelCoordinatesPlotOpDescSpec *PieChartOpDescSpec 
*PolarChartOpDescSpec *QuiverPlotOpDescSpec *RadarChartOpDescSpec 
*RadarPlotOpDescSpec 
 *RangeSliderOpDescSpec *SankeyDiagramOpDescSpec *Scatter3dChartOpDescSpec 
*ScatterPlotOpDescSpec *StripChartOpDescSpec *TablesConfigSpec 
*TablesPlotOpDescSpec *TernaryContourOpDescSpec *TernaryPlotOpDescSpec 
*TreePlotOpDescSpec *WaterfallChartOpDescSpec *WindRoseChartOpDescSpec 
*WordCloudOpDescSpec *VisualizationOutputSchemaSpec"
```

</details>

The runtime and exported scripts of every registered visualization
descriptor at its defaults, plus 11 configured Gauge, Radar, Tree,
NestedTable, WordCloud, Hierarchy and Icicle cases, were captured on the
base and on this branch. All match byte for byte (or raise the same
error where a default leaves a required field empty), except the Gauge,
Radar and Tree exports, which gain only the 4 blank lines, 1 comment
line and 6 comment lines of their shared bodies.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Codex (GPT-6) and Claude Code (Claude Opus 5.5)

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

With regards,
GitHub Actions via GitBox

Reply via email to