Does Read the Docs automatically preserve the last successful build when a dependency schema change breaks the current build, or is manual rollback required?
0 reputation · 10 Mar 2022, 13:15 UTC
0 reputation · 10 Mar 2022, 13:15 UTC
Assuming current Read the Docs behavior, when a project's dependency specification changes—such as an incompatible edit to requirements.txt, environment.yml, or pyproject.toml—the new build may fail before artifacts are published. The platform stores build artifacts per version and typically keeps the last successful build when a newer one fails, but it does not automatically detect or revert schema-level dependency changes. It remains unclear whether the active version's URL automatically falls back to the previous successful artifacts or whether manual version switching through the dashboard or API is required.
Build caching introduces further uncertainty: if dependency resolution changes without a clean rebuild, stale artifacts could be served, masking schema inconsistencies. Version switching also depends on correct Git tag or branch configuration, and misconfigured projects may lose access to prior builds.
Does a failed build caused by a dependency schema change automatically leave the previous version active and serving its original artifacts? If manual intervention is needed, which documented mechanism safely restores the last working version? How can users confirm that caching has not preserved an inconsistent artifact set after the schema change?
A thoughtful contribution can make all the difference. Be the first to share one.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.