[BUG] Validate update calls for setting task resource attributes #3399
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
stale
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: