-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Migrate provider-specific executor docs to providers #34809
Conversation
It's currently unclear why I'm able to reference I'd appreciate if any reStructuredTexperts™️ / Sphinx experts know how to link from the |
If not mistaken we have example in Notifer doc that links core to provider docs |
Yeah, I see lots of references from
|
docs/apache-airflow/administration-and-deployment/production-deployment.rst
Outdated
Show resolved
Hide resolved
yes. Sphinx is picky and requires sometimes a lot of persistence and trying out things looking at other examples. |
Seems there are conflicts |
We need also to edit docs/apache-airflow/redirects.txt This will allow referencing from old paths to the new paths without getting 404 page |
52188f2
to
5217a26
Compare
Is this just a flaky test? It builds fine locally |
Likely one more fix to recently completed |
#35102 should fix it |
5217a26
to
414735a
Compare
Rebased. Let's see if the fix works. |
Thanks. What's the best way for me to retry the failed test? |
Just did. Lets see |
414735a
to
743d2c7
Compare
I've added |
Strange...
This builds successfully, but if I remove |
You can use |
Guessing what could happen here (and those are just guesses looking at the output) I think the problem is that you have changes in both "airflow" and "celery" and other packages that refer to each other in both directions. The way how docs building is done is that it builds each package separately and uses the "inventory" from other packages (downloaded from s3) it refers in order to verify if the document exist. Once the package successfully builds the docs, the downloaded inventory gets updated locally. In most cases where there are two packages and only one of them refer to the other document, this document building has multi-pass implemented. If the package fails to be built it is added to the queue and retried again (up to three times in case the dependencies are A -> B -> C (so if A links to B and B links to C in the first pass C succeeds, in the second B will succeed as it will use locally built inventory from C and in the third A will finaly succeed using the locally built inventory from B. The problem is that if those packages are build together and they are referring to each other's new documents - none of them can succed - because they are referring to each other's documents, and those documents do not exist in the remote inventory. Looking at the output - it almost worked: You can see that at first pass airflow + cncf.kubernetes + celery + dask failed docs building At the second pass the three others succeeded, only airflow was left. Unfortunately the third pass on Airflow failed. The error you see: Is that API documents could not be found in Airflow - most likely because the "clean" step deleted it and for some reason they were not recreated by the API plugin. So maybe we can attempt to remove the clean step between the retries. Suggestion how to fix it (if my guess is right): Only clean the docs when you start and not when you retry. Might be a good exercise to learn how the build process works. As i understand it (again by looking at the code - I modified it quite a few times but mostly when I saw similar issues): In build_docs.py : The
That could probably solve the problem. |
743d2c7
to
d8d8e96
Compare
That explains why a build would succeed after a handful of failure messages :) Thanks, @potiuk . I added a param to not perform the clean step if it's on a retried build. Still getting empty spell check errors that I need to investigate. |
Yep. Looks better. I think those are not spellcheck errors but some regular sphinx riddiles. Sphinx does not seem to like SOMETHING in the docs and not tell exactly where. The usual thing which hopefully when we move to #33156 might get better. For now it requires a bit guessing what's wrong, unfortunately.
|
My wild guess is that you have label reference somewhere in the code left (of the form |
Locally, I get the following
I'll keep digging. |
Sphinxes often speak in riddles, this is something I often repeat (too often I am afraid) |
Ho about completing it :)? |
Been traveling / busy / sick the last few weeks. Hoping to pick this back up next week. |
@lzdanski This is the spell check sphinx issue I was referring to. |
d8d8e96
to
cfbd26a
Compare
@RNHTTR can you rebase and resolve conflicts? I see the current failure is on openai provider which is odd. |
cfbd26a
to
0546c48
Compare
Fix to failing release Helm job - #36985 |
Just to comment on the errors @RNHTTR and guide you a bit.. I think all the _api errors are coming from those first few errors here. Usually they appear when the main package failed to build even after multiple attempts. They are really side-effects of the reall problems: Error 1) in openai -> seems that there is extra file added You should track the others :)
|
Can focus on this again -- will mark ready for review when tests are passing |
Closing this in favor of #37728 |
Closes: #33916