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

Cannot build stable tag docs for opentelemetry-python #11850

Open
xrmx opened this issue Dec 12, 2024 · 4 comments
Open

Cannot build stable tag docs for opentelemetry-python #11850

xrmx opened this issue Dec 12, 2024 · 4 comments

Comments

@xrmx
Copy link
Contributor

xrmx commented Dec 12, 2024

Details

Expected Result

Compiling for stable tag works fine

Actual Result

I get a build error because rtd checkouts a random sha (14716484698ece6088e2e84701f5b37b7c066db8) instead of the stable tag. I'm not able to find anything related to the admin panel and haven't digged in the code to see where this may come from.
Thanks!

@humitos
Copy link
Member

humitos commented Dec 12, 2024

I triggered a new build for your latest version and then for stable and it worked: https://readthedocs.org/projects/opentelemetry-python/builds/26567839/

I think this is a known issue where Read the Docs needs to "re-sync the VCS branches/tags" to update their identifiers. I'm not finding the issue, but I know we have one opened for this case.

@xrmx
Copy link
Contributor Author

xrmx commented Dec 12, 2024

I triggered a new build for your latest version and then for stable and it worked: https://readthedocs.org/projects/opentelemetry-python/builds/26567839/

Nice!

I think this is a known issue where Read the Docs needs to "re-sync the VCS branches/tags" to update their identifiers. I'm not finding the issue, but I know we have one opened for this case.

Is "re-sync the VCS branches/tags" something I can trigger somehow?

Thanks @humitos, hope you are doing well!

@humitos
Copy link
Member

humitos commented Dec 12, 2024

Is "re-sync the VCS branches/tags" something I can trigger somehow?

Yes. You can trigger a build for any working version and it will automatically re-sync

@xrmx
Copy link
Contributor Author

xrmx commented Dec 12, 2024

Is "re-sync the VCS branches/tags" something I can trigger somehow?

Yes. You can trigger a build for any working version and it will automatically re-sync

Compiling a new version manually is what I was doing yesterday and this morning. Still the hash of the commit was an object that did not exist in the repository.

Looking at the code the interesting bit would be to understand why a sha that does not belong to the repo ended up here:
https://github.com/readthedocs/readthedocs.org/blob/main/readthedocs/doc_builder/director.py#L212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants