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
Describe the bug
If the Go SDK cannot parse the incoming event JSON correctly, an error is thrown and is retried until the function is considered failed.
To Reproduce
Define an event payload with time.Time as the struct field type
Send an event with an un parseable value for this, e.g. 2024-07-01
There should be an error unmarshalling event for function error
Expected behavior
I would expect event payload parsing errors to not be retried as the event payload doesn't change across retries, each retry would fail.
This should tell the Inngest executor to not retry this event similar to the TS SDK's "Non Retriable error"
Code snippets / Logs / Screenshots
System info (please complete the following information):
Describe the bug
If the Go SDK cannot parse the incoming event JSON correctly, an error is thrown and is retried until the function is considered failed.
To Reproduce
time.Time
as the struct field type2024-07-01
error unmarshalling event for function
errorExpected behavior
I would expect event payload parsing errors to not be retried as the event payload doesn't change across retries, each retry would fail.
This should tell the Inngest executor to not retry this event similar to the TS SDK's "Non Retriable error"
Code snippets / Logs / Screenshots
System info (please complete the following information):
Additional context
n/a
The text was updated successfully, but these errors were encountered: