spotify / styx

"The path to execution", Styx is a service that schedules batch data processing jobs in Docker containers on Kubernetes.
Apache License 2.0
267 stars 50 forks source link

Fix flyte error translation #1084

Closed brandon-segal closed 1 year ago

brandon-segal commented 1 year ago

Hey, I just made a Pull Request!

Description

Add a step to clean error codes in the FlyteEventTranslator class of the RetriesExhaused prefix.

Motivation and Context

fixes #1083

Have you tested this? If so, how?

Added Tests to the FlyteEventTranslator test case to include one item for each scenario with the added prefix to ensure that the code is behaving as expected

Checklist for PR author(s)

Checklist for PR reviewer(s)

andresgomezfrr commented 1 year ago

Closed in favor of https://github.com/spotify/styx/pull/1085