-
Notifications
You must be signed in to change notification settings - Fork 669
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
[Feature]Automatic documentation in Flyte #531
Comments
I like the second option - I think picking it up automatically from source code comments is best. |
I dont think the above are options, I think both should be supported. Python comments are by default or format |
+1 for baking documentation into the workflow definitions. out of curiosity can file paths (long description, optional icon) be remote? if they're not, how does the process for rendering those in the UI work? also could we provide a means for configuring workflow statuses to their registered domains? e.g. a workflow is considered under development (by default) when registered in a 'development' domain but fully active when registered in 'production' |
|
This looks great and I am all for attaching doc to workflow. Just a minor concern that this could potentially easily make the payload a few times bigger. Will the size be enforced at the client side or server? |
+1 for doing this. It will open more possibility like we can redirect user from flyteconsole to the exact line number in the file. It is helpfull in debuging |
@honnix & @katrogan I can answer both your questions together hopefully.
About |
@schottra good point, we can derive it from the existing field. Let me remove it from the docs |
+1 for doing this too. |
@kumare3 Any thoughts on how to map values from a version of a workflow to the overall entity? We struggled with this idea when originally adding metadata fields. So I'm wondering what we do if user A pushes version 123abc with a description, and user B pushes version 234def with a different description. Which one becomes the description for the workflow which is shown in the UI? |
@kumare3 I'm also just noticing that description is another |
@schottra, I did see that the NamedEntityMetadata has a description field. This does not seem to be correctly designed.
On the other hand, I do see that you use the description field, but, for example in the Tasks page, you show the interface of the task, which is not really metadata, but evolves with the version. I think we should show the docs in exactly the same way. Is it ordered by time? |
@kumare3 For the Tasks page, we arbitrarily chose the "latest" version, whatever the first result is when hitting the Task endpoint. That doesn't actually hold any semantic value, since the most recently registered version can be any random version from some person's feature branch. |
On second, thought, Maybe not everything should be versioned, but a clean flow to have registration and documentation tied would be great - @katrogan |
@kumare3 that's what the NamedEntity stuff already covers, right? +1 we should improve how we expose it to users to edit and update |
+1, this would be an excellent feature to roll into an upcoming release |
This is now infact implemented in the code and backend and not |
…yteorg#531) Signed-off-by: byhsu <[email protected]> Co-authored-by: byhsu <[email protected]>
…yteorg#531) Signed-off-by: byhsu <[email protected]> Co-authored-by: byhsu <[email protected]>
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. |
Motivation: Why do you think this is important?
Flyte is a type safe orchestration platform. It understands the flow of data and quickly becomes a one stop shop for most teams pipelining usecases. As the users build a repository of workflows, tasks and launch plans, it is essential to associate documentation with these entities. The documentation would help new team members quickly ramp up on the projects and individual entities. It also lays the foundation for improved discoverability and shareability. E.g. a workflow name or a task name is not enough in describing what the intention is, but associated documentation could provide a detailed description and insight into the algorithms, business usecase etc.
This document proposes a simple and extensible way to support documentation with all Flyte entities, which is captured in Flyte Console and keeps constantly getting updated with versions.
Goal: What should the final outcome look like, ideally?
Describe alternatives you've considered
NA
Flyte component
[Optional] Propose: Link/Inline
Specification of the protobuf in FlyteIDL that will be added to all entities -
Workflow, Tasks, LaunchPlans, Project
Additional context
The UI should be able to show this information. Also the documentation is implicitly versioned with the entities themselves
Is this a blocker for you to adopt Flyte
NA
The text was updated successfully, but these errors were encountered: