aglinxinyuan opened a new pull request, #6773:
URL: https://github.com/apache/texera/pull/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])


-- 
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]

Reply via email to