You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running kfp.compiler.Compiler().compile() function and passing the parameter pipeline_name with invalid name, the 400 Client Error: Bad Request for url: ... comes in. And the bug is complicated to debug
Expected result
The correct behavior could be a ValueError raised by validate_pipeline_name function.
A valid pipeline name should match ^[a-z0-9][a-z0-9-]{0,127}$ as specified in validate_pipeline_name function in sdk/python/kfp/compiler/pipeline_spec_builder_test.py file.
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered:
Environment
kfp 2.7.0
kfp-pipeline-spec 0.3.0
kfp-server-api 2.0.5
Steps to reproduce
When running
kfp.compiler.Compiler().compile()
function and passing the parameterpipeline_name
with invalid name, the 400 Client Error: Bad Request for url: ... comes in. And the bug is complicated to debugExpected result
The correct behavior could be a ValueError raised by validate_pipeline_name function.
Materials and Reference
For example:
A valid pipeline name should match
^[a-z0-9][a-z0-9-]{0,127}$
as specified invalidate_pipeline_name
function in sdk/python/kfp/compiler/pipeline_spec_builder_test.py file.Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: