[Housekeeping] [flytekit] List differences on conflicting definition when registering #2522
Labels
good first issue
Good for newcomers
hacktoberfest
housekeeping
Issues that help maintain flyte and keep it tech-debt free
Describe the issue
Oftentimes, for a variety of reasons, users will see a stack trace like the following when running
pyflyte run
or registering a Flyte entity through FlyteRemote.This is not very helpful however. Upon this error flytekit should fetch the conflicting resource from Admin, and compare the result, informing the user in the error message where the differences are.
Related component(s)
flytekit
This could also be done in Admin itself, and returned along with the message. Admin doesn't have more information though necessarily, since it's just comparing a hash. So a diff will have to be done regardless and it's probably easier to do in flytekit. Though doing it in Admin means that flytectl would get this for free as well.
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: