You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When getting the workflow logs from the Java SDK,, we get an object that is not parseable as a JSON (it's formatted as a JSONL).
The call fails internally in the SDK with com.google.gson.JsonSyntaxException. The only workaround is to patch internal calls to cast the result to a String we need to cook.
Summary
This issue is related to #6856
When getting the workflow logs from the Java SDK,, we get an object that is not parseable as a JSON (it's formatted as a JSONL).
The call fails internally in the SDK with
com.google.gson.JsonSyntaxException
. The only workaround is to patch internal calls to cast the result to aString
we need to cook.This is reproducible in the following example: https://github.com/pmbrull/argo-java-examples/blob/main/playground/src/main/java/SimpleWorkflowLogs.java
Opening this separate issue since the UI one has been closed already.
Thanks!
Use Cases
When working with the Java SDK to manage the workflow lifecycle.
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: