The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-6773-ef55ad8edf2295691c15dbc5bf1d0e308382b091
 has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
b878f9365064c5cc7cecfda70187be4d800d1653 / Xinyuan Lin <[email protected]>
test(frontend): extend HuggingFaceComponent unit test coverage (#6773)

### What changes were proposed in this PR?

Extends `hugging-face.component.spec.ts` with 10 tests (62 -> 72) for
`HuggingFaceComponent`, covering the second-instance task/model poll
callbacks (success, error, and cancellation-during-flight), the
poll-interval re-entry guards, the
`getCurrentTaskTag`/`persistTaskSelection`/`snapshotTaskState`
fallbacks, the model form-fallback reads/writes, and null response-body
handling. Coverage 87% -> ~100% (38 -> 0 uncovered statements). No
existing tests modified.

### Any related issues, documentation, discussions?

Closes #6769.

### How was this PR tested?

`ng test --include='**/hugging-face.component.spec.ts'` -> 72/72
passing. `yarn format:ci` passes.

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

Generated-by: Claude Code (Opus 4.8 [1M context])

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

With regards,
GitHub Actions via GitBox

Reply via email to