-
Notifications
You must be signed in to change notification settings - Fork 674
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
[BUG] Validate update calls for setting task resource attributes #3399
Comments
Hi @katrogan, |
hi @hhcs9527 absolutely! This is the code that handles reading the overriden task resource attributes: |
Hello 👋, this issue has been inactive for over 9 months. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will engage on it to decide if it is still applicable. |
#take |
Hi @katrogan
update success like to
response seems can't repro the panic case |
hi @asd0300 thank you for taking a look! what happens if you remove the gpu from the yaml? |
test yaml will be
before update, remove the default task-resource-attribute then run task
or
both tasks could be executed with no panic occurred |
thank you for verifying! sounds like this is no longer an issue - let's close it! |
Describe the bug
Setting the task resource attributes for a project with
{"project":"foo","domain":"development","limits":{"cpu":"4096","memory":"8Ti"}}
causes flyteadmin to panic on resolving task resource attributes at create execution time
We shouldn't accept invalid configs or handle partial task resource attributes overrides gracefully
Expected behavior
Admin should not panic at create execution time for invalid or partial task resource attributes
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: