flyteorg / flyte

Scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks.
https://flyte.org
Apache License 2.0
5.52k stars 596 forks source link

[FlyteCTL Feature] Generate random version when register workflows #1968

Open pingsutw opened 2 years ago

pingsutw commented 2 years ago

Describe the feature/command for FlyteCTL

Generate random version if users don't specify a version

(flytekit-3.9) ➜  flytectl git:(uuid) ✗  bin/flytectl register files https://github.com/flyteorg/flytesnacks/releases/download/v0.2.226/snacks-cookbook-integrations-aws-athena.tar.gz --archive -p flytesnacks -d development --config /Users/kevin/.flyte/config.yaml
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| NAME (7)                                                                                                     | STATUS | ADDITIONAL INFO                                 |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/0_sql.athena.no_io_1.pb                       | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/1_athena.athena.no_io_wf_2.pb                 | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/2_athena.athena.no_io_wf_3.pb                 | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/3_sql.athena.w_io_1.pb                        | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/4_athena.athena.manipulate_athena_schema_1.pb | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/5_athena.athena.full_athena_wf_2.pb           | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/6_athena.athena.full_athena_wf_3.pb           | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
7 rows
Error: rpc error: code = InvalidArgument desc = missing version

Provide a possible output or UX example

Improve UX when registering workflows

Are you sure this issue hasn't been raised already?

Have you read the Code of Conduct?

github-actions[bot] commented 1 year ago

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 close the issue if we detect no activity in the next 7 days. Thank you for your contribution and understanding! 🙏

github-actions[bot] commented 1 year ago

Hello 👋, This issue has been inactive for over 9 months and hasn't received any updates since it was marked as stale. We'll be closing this issue for now, but if you believe this issue is still relevant, please feel free to reopen it. Thank you for your contribution and understanding! 🙏

github-actions[bot] commented 2 months ago

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. Thank you for your contribution and understanding! 🙏