Open seanpwlms opened 4 months ago
.serve() with a name containing two dots will truncate the name. The cloud UI truncates it further. name = 'mre/mre_v0.1.2' will return:
name = 'mre/mre_v0.1.2'
To trigger a run for this flow, use the following command: $ prefect deployment run 'mre/mre_v0.1'
and the UI displays this:
This doesn't happen with a name such as: mre.serve(name='mre/mre_v0.1.2...').
mre.serve(name='mre/mre_v0.1.2...')
@flow def mre(): pass if __name__ == "__main__": mre.serve(name='mre/mre_v0.1.2')
No response
Version: 2.19.0 API version: 0.8.4 Python version: 3.12.3 Git commit: 92a982fe Built: Mon, May 13, 2024 3:32 PM OS/Arch: darwin/arm64 Profile: default Server type: cloud
Hi @seanpwlms, thanks we have added this to our backlog!
This is happening here.
Will need to consider unifying name validation logic somewhere to avoid this better.
First check
Bug summary
.serve() with a name containing two dots will truncate the name. The cloud UI truncates it further.
name = 'mre/mre_v0.1.2'
will return:and the UI displays this:
This doesn't happen with a name such as:
mre.serve(name='mre/mre_v0.1.2...')
.Reproduction
Error
No response
Versions
Additional context
No response