PG1204 opened a new issue, #7203: URL: https://github.com/apache/texera/issues/7203
### Task Summary Two brittle spots in the operator's runtime provider-fallback / polling path. ### Context / checklist - Replicate/Wavespeed poll handlers mutate the private `resp._content` and `resp.status_code` to synthesize a 502 - brittle; use a proper response object or a small result type instead. - 400/422 are treated as "retryable", so a genuinely malformed payload is replayed against every provider before giving up (wasteful, and it obscures the real error). File: `.../huggingFace/codegen/HuggingFaceCodegenBase.scala` (`_call_provider` poll handlers, `_post_with_fallback` retryable set). ### Required test Per item, as addressed. ### Related Part of the operator's fallback loop (see the provider-memoization task, #7202). ### Task Type - [x] Refactor / Cleanup - [ ] DevOps / Deployment / CI - [ ] Testing / QA - [ ] Documentation - [ ] Performance - [ ] Other -- 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]
