readthedocs.org icon indicating copy to clipboard operation
readthedocs.org copied to clipboard

Version in ReadTheDocs retains the tags commit ID preventing a rebuild based on the updated commit for the TAG

Open uhurusurfa opened this issue 1 year ago • 5 comments

Details

Expected Result

*When the tag associate with a version in ReadTheDocs is updated to a new commit and I go to ReadThgeDocs UI and force a rerun iof the failed build, it should fetch the latest code from the git repository using the tag rather than the commit number it retrieved first time round.

Actual Result

The build simply uses the same commit so there is no change to the outcome of the build.

Suggested feature or behaviour

Either fetch the code based on the tag or provide a way to delete the version in ReadTheDocs so that it can be properly rebuilt using the updarted commit.

uhurusurfa avatar Oct 18 '23 09:10 uhurusurfa

Hi, this is a known problem, currently you'll need to trigger two builds, the first build will update the commit tag, and the second build will actually build the tag with the new commit. I agree that we should just use the tag instead of the commit here.

stsewd avatar Oct 18 '23 15:10 stsewd

We had to revert the PR https://github.com/readthedocs/readthedocs.org/pull/10887.

stsewd avatar Nov 02 '23 18:11 stsewd

Hi guys, Just wanted to check if there is any progress on this issue.

I updated the commit for this version 3.2.0-rc11.

image

Maybe I got it wrong, I tried to trigger this build twice for this version- 3.2.0-rc11 on RTD. The commit is still - b3cefebd which does not seem to update.

sachin-suresh-rapyuta avatar Apr 12 '24 06:04 sachin-suresh-rapyuta

@sachin-suresh-rapyuta you can try triggering a build on a different version for it to update the other versions.

stsewd avatar Apr 15 '24 14:04 stsewd