PG1204 opened a new pull request, #9208: URL: https://github.com/apache/texera/pull/9208
### What changes were proposed in this PR? Manual backport of #8617 to `release/v1.3`, replacing #8993, whose head branch lives in this repository and so could not be corrected by push. The automated cherry-pick conflicted in one file, `HuggingFaceCodegenBaseSpec.scala`, and was committed with conflict markers. The cause is #8630, which is on `main` but not on this branch. #8630 appended three tests and a `chatContentHelper` helper to the end of that spec, and #8617 then appended its own test after them. Those three tests cover the candidate-labels feature that #8630 added, which this branch does not have, so they are left out. The spec here carries only the one test #8617 added. Everything else applied cleanly. Against `release/v1.3`, each of the nine files carries exactly the change #8617 made on `main`. ### Any related issues, documentation, discussions? Backport of #8617. Originally linked #8486. Replaces #8993, which can be closed. ### How was this PR tested? The Hugging Face suites and `PythonCodeRawInvalidTextSpec` on this branch: 147 tests across 14 suites, all passing. That includes `HuggingFaceParseBehaviorSpec`, which runs the generated parser against malformed chat responses. The generated Python of all 117 operators compiles. `scalafmtCheck` and `scalafix --check` are clean for main and test. With the three source files reverted to `release/v1.3`, 13 of those tests fail, all of them tests #8617 added or updated, so they exercise the fix on this branch. ### Was this PR authored or co-authored using generative AI tooling? Yes, this PR was co-authored with Claude in compliance with ASF policy. -- 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]
