Repository navigation
Improve documentation build reliability, release caching, and fallback routing - #345
Merged
Merged
Conversation
Validate output directories and writes, preserve source filenames in parser errors, and share release metadata between builds and version selectors. Cache source clones and completed releases with BuildKit, publishing complete output with permissions nginx workers can read. Match site-api upstream paths while redirecting missing HTML pages to public overview URLs. Add regression checks for IO failures, parser diagnostics, release caching, and nginx routing.
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.
Summary
Documentation builds now fail clearly when source parsing or output writes fail, and reuse completed releases when their inputs are unchanged.
config/releases.php; derive all four CakePHP selectors from it.DOCS_CACHE_REFRESHforces dependency resolution.site-apiproxy's internal/cakephp/<version>/...paths and redirect missing HTML pages to public overview URLs. Preserve query strings and asset 404s.Evidence
After: Regression checks verify directory creation, absolute and relative paths, write failures, and parser filename/line diagnostics.
After: A complete Docker build generated all 37 configured releases; a subsequent build restored all 37 from the release cache. Tests also cover source/template changes, explicit refresh, stale output removal, readable publication permissions, and retaining previous output after failure.
Merge Danger
Door: two-way
Revert the commit and redeploy to restore the previous build and routing behavior.
Blast Radius: documentation
Affects generation, Docker builds, and missing-page routing across all configured releases. BuildKit caches belong to the builder; fresh CI runners still perform full builds. Cached source dependency resolutions remain until source/generator inputs or
DOCS_CACHE_REFRESHchange.