-
Notifications
You must be signed in to change notification settings - Fork 311
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 FlyteNonRecoverableSystemException #2700
Conversation
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
This reverts commit 3c031c7.
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
tried to merge in master, didn't do it correctly though, definitely missing some things, like the double Regardless I think we should think more about this - I'm not sure it really addresses the issue raised in slack (and commented in this issue here). This issue is on the propeller side. |
forgot to hit submit on that comment. that was from before kevin fixed the merge |
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Yee Hing Tong <[email protected]> Co-authored-by: Yee Hing Tong <[email protected]>
Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Yee Hing Tong <[email protected]> Co-authored-by: Yee Hing Tong <[email protected]>
Tracking issue
NA
Why are the changes needed?
Flyte returns the task when it fails to convert the Python output to a literal or vice versa.
What changes were proposed in this pull request?
Raise
FlyteNonRecoverableSystemException
if flytekit fails to serialize the output. (e.g. failed to convert python.int to Literal.simple.string).However, if the error comes from data persistence, we won't change the error type to
FlyteNonRecoverableSystemException
How was this patch tested?
remote cluster
Setup process
Screenshots
Before:
![Screenshot 2024-08-21 at 4 54 55 PM](https://private-user-images.githubusercontent.com/37936015/360165407-598f11d2-13f4-4810-99ad-ffe6001deffd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjI2ODQsIm5iZiI6MTczOTU2MjM4NCwicGF0aCI6Ii8zNzkzNjAxNS8zNjAxNjU0MDctNTk4ZjExZDItMTNmNC00ODEwLTk5YWQtZmZlNjAwMWRlZmZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE5NDYyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE0ZTgyMzJjODQyZTgwYjJmNWJlNGYxMDU5NzM3NzAwOWU5YjMyYjFjMjY4M2MwZWUwMDgxMzk1ZjI1MjA2ZDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nPQF4Phrpb56RjqgikKsdkkSA_KyZ0gLZz8FKhAKnME)
After:
![Screenshot 2024-08-21 at 4 54 47 PM](https://private-user-images.githubusercontent.com/37936015/360165421-a5e7bcfc-7337-49b9-a425-807434b9381d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjI2ODQsIm5iZiI6MTczOTU2MjM4NCwicGF0aCI6Ii8zNzkzNjAxNS8zNjAxNjU0MjEtYTVlN2JjZmMtNzMzNy00OWI5LWE0MjUtODA3NDM0YjkzODFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE5NDYyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxMmI4MDMzNzA0NDY1ZDU5Njk0YmFmMDZmMWMxMmFlZjE5NWZhNGVmZDBlZmY4MDM0OTU1ZTY2YjZiZWNhYjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-zzRExJ4F32mVMcvqUKQNkVj3NcsOqi4_KxoOc6C1zg)
Check all the applicable boxes
Related PRs
NA
Docs link
NA