Repository navigation
fix: improve robustness of prerelease documentation cleanups - #1620
Merged
Merged
Conversation
moe-ad
requested review from
AlejandroFernandezLuces,
Revathyvenugopal162,
SMoraisAnsys and
jorgepiloto
October 23, 2026 08:25
jorgepiloto
approved these changes
Oct 23, 2026
jorgepiloto
left a comment
Member
There was a problem hiding this comment.
Thanks for improving this, @moe-ad
moe-ad
added a commit
that referenced
this pull request
Oct 23, 2026
Co-authored-by: pyansys-ci-bot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Normally when a prereleases exists, a subsequent stable release cleans up these prereleases.
v11.1.0rc0of Ansys Actions had already been released some weeks prior. When we tried releasingv11.1.0yesterday, a job failed just before the deployment of the stable docs could be triggered (which would have cleaned up the prerelease, see the release workflow). We then had to releasev11.1.1instead (well, becausev11.1.0went through to Test PyPI and overwriting exisiting release isn't allowed on Test PyPI) but soon discovered that the prerelease was never cleaned up.The root cause is basically that we never anticipated the current scenario, so the logic for cleaning up prereleases assumes that the stable doc release will always go through and does not account for stale prereleases.
This PR fixes that.