Hi, did all the docs just move? i had some links ...
# flyte-support
r
Hi, did all the docs just move? i had some links to https://docs.flyte.org/en/latest/ and such and now they all redirect to union.ai. Plus search engine results now link to dead pages, e.g. the "productionizing" section of the user guide. When I try search on the union site (algolia) it can't find a lot of the old pages
w
Yeah I'm seeing the same thing. Everything just redirects to union.ai
a
We're integrating the Flyte docs in a single site. You can use the dropdown selector at the top of the page to access Flyte docs
This went live a couple of minutes ago so there will be some rough edges, please report them
image.png
r
ah and then the algolia search seems to work then
derp my users gonna be really mad about broken docs.flyte.org links 😞 welp will have to find them ...
b
@rapid-artist-48509 We will do our best to ensure all previous links remain working. It seems we hit some issue with that capability, but we are working on it. Our goal is to have all links to be backwards compatible, as much as possible.
a
hey @rapid-artist-48509 besides this one, what other links are you missing?
f
b
Thanks, @flat-waiter-82487 for the report. We will get it working.
g
Could you please redirect old flyte docs links to relevant
<http://union.ai/docs/flyte|union.ai/docs/flyte>
links instead of
<http://union.ai/docs/byoc|union.ai/docs/byoc>
?
b
Thanks @nutritious-match-70820 and @gentle-tomato-480. The issue is that with 404 the site does not know where the user actually wanted to go, so it is a dilemma which project to default to. We will see if we can make it better.
f
Next one not working: https://docs.flyte.org/en/latest/flytesnacks/tutorials/flytelab/weather_forecasting.html (a lot of Google / DuckDuckGo indexed pages are now just pointing to
<https://www.union.ai/docs/byoc/user-guide/>
😢 )
Is this a feature of Flyte? I'm on the latest Flytekit PyPI package and there is no such thing
g
Is this a feature of Flyte? I'm on the latest Flytekit PyPI package and there is no such thing
@flat-waiter-82487 First time seeing this too. I think it might be a union platform specific feature
w
it seems they want to force union down everyone's throat - please fix all the bugs/issues in flyte first before 🙂
g
Kinda looks like the actors page on the flyte product site was generated by just search and replacing all
union
references to `flyte`/`flytekit` (possibly more pages that have both a
union byoc
page and a
flyte
page were generated that way)
f
Not cool -.-
g
Btw, if anyone is looking for old documentation while the pages on the union website is still being setup: You can find it here. https://flyte--6382.org.readthedocs.build/en/6382/
a
Thank you @gentle-tomato-480 and sorry everyone for the inconveniences. We are working towards fixing all the redirects/missing pages issues asap
r
thanks @average-finland-92144 i will need to audit my links. it's tough cuz im seeing users already having a frustrating time finding docs (but maybe the new launch will improve SEO?). would love if the old docs could perhaps stay pinned somewhere, even if SEO doesn't find them on first page, but appreciate that can be complicated / $$$
f
We are working on the redirects
b
marrrcin [7:12 AM]
Is this a feature of Flyte? I'm on the latest Flytekit PyPI package and there is no such thing
This seems to be a miss to not show that if you change the variant. We are investigating why it did show there.
@flat-waiter-82487 We fixed the issue where Actors were incorrectly showing in Flyte. As CDN propagates it will disappear. Apologies for the confusion.
h
Hey @flat-waiter-82487 and others, we are maintaining a long list of redirects to make the transition as smooth as possible.. there are two reasons you may see a failure: 1. The page doesn't have an equivalent in the new site. (We are trying to figure out if we can redirect to the home page for flyte instead with a more suitable error) 2. We missed it 🙂 Reasons for #1 is that in the migration we attempted to do a cleanup and some parts got rewritten for clarity... So if you do see ones (like the ones you reported) but has an equivalent, we will be happy to add it to the list cc @powerful-gold-59386
@flat-waiter-82487 can you double check... some of these links should be fixed now
We rolled out some changes to docs.flyte.org that will not redirect you out of Flyte on a 404, and keep you inside the vhost and avoid you from leaving the OSS area. That was a bug and it is now fixed. Please let us know if you have any trouble with them. Thanks for all the patience here and for being diligent and helping us find all the rough edges. We appreciate you!
f
Thanks for the fixes! Will post next ones if I bump on any
b
No, thank YOU for the patience and support! Much appreciated!
w
b
The page you linked, Chris, opens for me
w
pyflyte create secret is not in the open source ecosystem
I believe union create secret is though
b
Ah, you mean it should not have been available in oss?
Because I can see the page on oss
w
yes
b
Sorry, I misunderstood. @powerful-gold-59386 for next steps.
g
Could the screenshots used in OSS documentation also come from a Flyte dashboard instead of Union where possible? Pretty sure, it would help with new people trying it out as what they'll see in the docs is what they'll get on their own dashboard. Example of this would be the screenshots in this section: https://www.union.ai/docs/flyte/user-guide/getting-started/running-your-workflow/#view-the-workflow-execution-on-hahahugoshortcode737s28hbhb
p
@gentle-tomato-480 We will update the screenshots
w
https://www.union.ai/docs/flyte/api-reference/pyflyte-cli/ -> The CLI commands are no longer there?
b
Thanks, Chris, for the report. I'm looking into it.
p
Looking into it
w
Is there anyway we can help restore missing pages? Happy to help here. I'm just a little confused as to whether https://www.union.ai/docs/flyte/ is pulling from https://github.com/flyteorg/flyte/tree/master/docs.
f
p
@worried-airplane-87065 https://www.union.ai/docs/flyte/ is not pulling from https://github.com/flyteorg/flyte/tree/master/docs it is pulling from our new combined repo which we are going to make public in the next few days.
Which pages are missing?
b
@worried-airplane-87065: Is there anyway we can help restore missing pages? Happy to help here.
We deeply appreciate your willingness to help. Thank you!
w
https://www.union.ai/docs/flyte/api-reference/pyflyte-cli/ this still doesn't show the CLI command page that I've been using. Ok well happy to pitch in to the open source repo once it's made available 🙂
h
Thank you, @worried-airplane-87065 ! We're fixing the cli docs generation though.. thank you for pointing it out! @bulky-gold-93144 are you tackling this?
b
Yes, we're on it.
r
also some of the code examples look broken. on the
example.py
one here https://www.union.ai/docs/flyte/user-guide/development-cycle/debugging-with-interactive-tasks/ it's Flyte OSS but code has
union.ImageSpec
b
@worried-airplane-87065: PTAL, it should be fixed now: https://www.union.ai/docs/flyte/api-reference/pyflyte-cli/
@rapid-artist-48509: thank you very much for the report. cc: @wooden-london-36069
a
hey @rapid-artist-48509 yeah some code examples are not right yet, but the one you point out is displaying
fl.ImageSpec
correctly on my side now. Could you check again?
r
fixed now 👍
this page shows a union-only feature in the webui https://www.union.ai/docs/flyte/user-guide/core-concepts/tasks/task-hardware-environment/customizing-task-resources/#execution-defa[…]esource-quotas (or is it in flyte OSS now? i'd be up for upgrading!)
also the
with_overrides
section is wrong: that's (no longer?) a method of
task
f
@powerful-gold-59386 ` `my_task(ff=bigFile).withoverrides(requests=Resources(mem="120Gi", cpu="10"))`` on this page seems to be missing an
_
with_overrides does exist
p
fixed
r
@freezing-airport-6809 does it? if i do
dir()
on a
@task
-wrapped function, I don't see it. Also when I try just a simple example. With latest flytekit. I see the function in the source code but maybe it moved to be an internal API? or could something be broken with my install ...
a
hey @rapid-artist-48509 what flytekit version are running? I'm pretty sure it works Maybe look at this example @powerful-gold-59386 I still see the snippet in the page missing the
_
r
thank you @average-finland-92144 let me try again! that cite file has two
__main__
sections tho? (!)
a
yes, it's the source of two examples, the first set the base Resources and from line 36 it shows how to overrride them