Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core feature] improve pyflyte usage error for missing projects #3505

Open
2 tasks done
cosmicBboy opened this issue Mar 21, 2023 · 1 comment
Open
2 tasks done

[Core feature] improve pyflyte usage error for missing projects #3505

cosmicBboy opened this issue Mar 21, 2023 · 1 comment
Assignees
Milestone

Comments

@cosmicBboy
Copy link
Contributor

Motivation: Why do you think this is important?

When I do pyflyte run --remote -p nonexistent_project ... the error message that's produced contains a whole lot of information about the task while not reporting what is actually wrong, which is that nonexistent_project doesn't exist in the remote Flyte cluster.

See here for full context on what the current error message is.

Goal: What should the final outcome look like, ideally?

Consider specifying an invalid project or domain as simple input errors and should fail quickly with explicit messaging i.e. "Project 'flytesnacks' not found". A full stack trace is hard to mentally parse for such a simple input error even if it did actually say why it failed in the message.

Describe alternatives you've considered

NA

Propose: Link/Inline OR Additional context

No response

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

  • Yes

Have you read the Code of Conduct?

  • Yes
@cosmicBboy cosmicBboy added enhancement New feature or request untriaged This issues has not yet been looked at by the Maintainers and removed untriaged This issues has not yet been looked at by the Maintainers labels Mar 21, 2023
@cosmicBboy cosmicBboy self-assigned this Mar 21, 2023
@cosmicBboy cosmicBboy added this to the 1.5.0 milestone Mar 21, 2023
@cosmicBboy cosmicBboy modified the milestones: 1.5.0, 1.6.0 Mar 22, 2023
@cosmicBboy cosmicBboy modified the milestones: 1.6.0, 1.7.0 Apr 20, 2023
Copy link

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! 🙏

@github-actions github-actions bot added the stale label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant