You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/05/28 19:15:02 UTC
[GH] (texera/hf/02-operator-textgen): Workflow run "Pull Request Labeler" failed!
The GitHub Actions job "Pull Request Labeler" on texera.git/hf/02-operator-textgen has failed.
Run started by GitHub user PG1204 (triggered by PG1204).
Head commit for run:
a8896f54d5b1dbc687f36acd30d20301725c5bd2 / PG1204 <vi...@gmail.com>
test(huggingFace): boost PR 2 patch coverage with null-tolerance + codegen specs
Addresses Codecov's 66.85% patch coverage warning by exercising the
defensive null-handling branches in HuggingFaceInferenceOpDesc.scala and
the TextGenCodegen contract that previously had no spec hits.
- null-tolerance: feed null into every @JsonProperty (token, model, prompt
col, system prompt, result col, task, maxNewTokens, temperature) and
assert generatePythonCode still emits a parseable ProcessTableOperator
with sane defaults (TASK falls back to text-generation, MAX_NEW_TOKENS
clamps to 256, TEMPERATURE to 0.7). Covers the `if (x == null) ... else
x` branches that previously had no test that took the null side.
- TextGenCodegen.task: trivial canonical-value check.
- TextGenCodegen ctx-independence: pass an "irrelevant"-filled ctx and
assert payloadPython / parsePython still reference self.MODEL_ID and
body["choices"]…. Catches a future refactor that accidentally splices
ctx fields into the static snippets.
13/13 in HuggingFaceInferenceOpDescSpec, 2/2 in PythonCodeRawInvalidTextSpec
(117/117 descriptors still py_compile cleanly).
Co-Authored-By: Claude Opus 4.7 (1M context) <no...@anthropic.com>
Report URL: https://github.com/apache/texera/actions/runs/26596574329
With regards,
GitHub Actions via GitBox