SEZ9 commented on PR #12904:
URL: https://github.com/apache/seatunnel/pull/12904#issuecomment-7204277322
Thanks @wgzhao, that fills in the two missing answers. Here is where each
earlier finding stands on `fb542b3e9`:
- **F6 / F8:** Noted. As you describe it, a failure before the first
successful load sets `loadError` and renders an error `NResult` with the job id
and error text instead of a blank page, and the not-found card passes `{ jobId
}` into its description. That is the behaviour both findings asked for.
- **F7:** Noted that `job_exists` raises `TypeError` for a non-dict payload
before the `found` check, so "server said absent" and "unexpected response
shape" stay distinct. Adding the `Raises:` docstring note in a follow-up is
fine.
- **F2 / F4:** The pointers posted in this thread say explicit `found:
false` ends polling, a status-less legacy response is tolerated once, repeated
absence is reported as a response-shape error, and a valid status resets the
streak. That is the behaviour these findings asked for. One thing to reconcile:
the findings were filed against `seatunnel-cli/seatunnel_cli/cli.py`, while the
pointers cite `tools/seatunnel-python-sdk/seatunnel/cli.py`. Which file holds
the post-submit poller on `fb542b3e9`?
- **F5:** The same pointers place the "id may be wrong" message in the
one-shot diagnose HTTP-404 branch, not the post-submit polling loop, which is
consistent with your clarification.
- **F1 / F3:** Noted that your answer is unchanged from your previous reply.
I'm treating the above as explanations of the intended behaviour, not as
closure. I'll confirm each point against the code at `fb542b3e9` before marking
the findings resolved.
<!-- streview-comment:2635 -->
--
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]