-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improve deserialization error handling #2622
Conversation
0771a43
to
56eef0b
Compare
f5a7df1
to
3557fd8
Compare
This PR is in draft because it needs #2601 to be merged before. |
3557fd8
to
403e0a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small changes
core/src/test/java/io/kestra/core/runners/DeserializationIssuesCaseTest.java
Show resolved
Hide resolved
core/src/test/java/io/kestra/core/runners/DeserializationIssuesCaseTest.java
Outdated
Show resolved
Hide resolved
jdbc/src/main/java/io/kestra/jdbc/JdbcWorkerTriggerResultQueueService.java
Outdated
Show resolved
Hide resolved
403e0a3
to
4721c91
Compare
@brian-mulier-p I applied all your suggestions. |
242660f
to
aa4abbf
Compare
aa4abbf
to
2201e4f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
2201e4f
to
4a09258
Compare
…ers and the flow topology
4a09258
to
3ff09e8
Compare
Quality Gate failedFailed conditions 69.8% Coverage on New Code (required ≥ 80%) |
This PR provides safe deserialization for:
You can QA with a flow that uses a task from a plugin, launching it thousands of times, hard killing Kestra and removing the plugin so you have pending WorkerTask and WorkerTask result to verify that it correctly ends the flow.
You can also use the following instructions to QA features one by one.
To QA an invalid
WorkerTrigger
, you can use the following INSERT statement, there should be error logs but no stacktraces or crashes.To QA an invalid
WorkerTriggerResult
, you can use the following INSERT statement, there should be error logs but no stacktraces or crashes.To QA an invalid
WorkerTask
, you can use the following INSERT statement, there should be error logs but no stacktraces or crashes.To QA an invalid
Flow
, you can use the following INSERT statement, there should be error logs but no stacktraces or crashes.