The GitHub Actions job "Required Checks" on texera.git/main has succeeded.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
8f1bef66e9fed51023a5e5d223ccd5040334aa1c / Prateek Ganigi 
<[email protected]>
refactor(workflow-operator): rename PythonCodegenBase to HuggingFaceCodegenBase 
for clarity (#7143)

### What changes were proposed in this PR?

Pure internal rename: `PythonCodegenBase` -> `HuggingFaceCodegenBase`
(object, file, and spec).

Despite the generic name, this object is HF-specific, it lives in
`.../huggingFace/codegen/`, is used only there, and is the shared base
of the Hugging Face per-task `TaskCodegen`s. The old name led a reviewer
to ask whether the HF logic belonged elsewhere (comment on #6972); the
new name matches the sibling codegens and `HuggingFaceInferenceOpDesc`.

Also updated the references in `HuggingFaceInferenceOpDesc.scala`,
`ImageTaskCodegen.scala`, and `TaskCodegen.scala`. Behavior-neutral: no
change to the generated Python, workflow JSON, or any public API; git
tracks both files as renames.

### Any related issues, documentation, discussions?

Closes #7140
Follow-up to the review discussion on #6972.

### How was this PR tested?

No new tests as this is a rename, and existing coverage confirms it's
behavior-neutral.

sbt "WorkflowOperator/testOnly
org.apache.texera.amber.operator.huggingFace.*"

The full HF package passes (124 tests), including
`PythonCodeRawInvalidTextSpec`, which
py-compiles the generated Python of all 117 operators — confirming the
generated output is
unchanged. scalafmt clean.

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

Co-authored with Claude Opus 4.7 in compliance with ASF.

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

With regards,
GitHub Actions via GitBox

Reply via email to