acoustic-carpenter-78188
10/05/2023, 6:28 AMpyflyte run --remote --name 078b0145-016a-44d8-bac0-fffa2e722f9c test2.py wf --n 10
returns
RPC Failed, with Status: StatusCode.INVALID_ARGUMENT
details: invalid name format: 078b0145-016a-44d8-bac0-fffa2e722f9c
Debug string UNKNOWN:Error received from peer ipv4:18.116.105.151:443 {grpc_message:"invalid name format: 078b0145-016a-44d8-bac0-fffa2e722f9c", grpc_status:3, created_time:"2023-10-04T23:18:28.696363-07:00"}
This is hard to understand the problem.
The reason is
flyte/flyteadmin/pkg/manager/impl/validation/execution_validator.go
Line 134 in </flyteorg/flyte/commit/81b94a43359adb2d1055e75221048de766769174|81b94a4>
returns just the failing field, it should return the expected regex
Expected behavior
invalid name format: 078b0145-016a-44d8-bac0-fffa2e722f9c, does not match regex '^[a-z][a-z\-0-9]*$'
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteacoustic-carpenter-78188
10/12/2023, 6:59 AM