-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a "has result" flag or link #453
Comments
Alternative proposal: Reconsider the fact that batch jobs can be updated. I understand that this would be a breaking API change, but technically with the current API, a back-end could is allowed to not support |
I think it's okay and pretty useful to update title and description (i.e. metadata). But we may want to disallow updating the process graph. That would simplify things in most clients except the Web Editor, I guess. And simplify the back-end implementation for sure. In the current API it is allowed to not support PATCH /jobs/:id, indeed. The flag would still be useful as the ambiguity regarding the error state is still relevant. |
… for example link to results and logs. #453
|
… for example link to results and logs. #453
Right now the "finished" (and sometimes "error") state says that there might be results. Nevertheless, this is ambiguous. If you update the process graph, some implementations may revert back to "created" and then it's unclear whether results are still available or not.
It would probably be a good idea to decouple the "status" and the "has result" indicators. We can keep the status as is and add either a flag "has_result" and/or a link to the results in the metadata regardless of the status.
The text was updated successfully, but these errors were encountered: