Repository navigation
Conversation
why: Port documentation should use the same version selection and artifact checks as the shared documentation site. what: - Send the Lua checkout and requested version to the shared builder. - Pin the builder and publisher together and verify the preview role. - Keep the maintenance branch and manual preview inputs visible.
This was referenced Dec 5, 2026
This branch has not been deployed
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
Build Lua documentation with the shared port workflow. The Lua repository still selects the source, version and preview role. The workflow calls the builder and publisher at the same revision and checks that a preview is still current before publishing it.
Dependencies
The draft currently uses different queues to upload and delete previews. An upload can leave files behind after close, and a delayed cleanup can delete a reopened PR’s fresh preview. GitHub also blocked the close event before a job started on seven PRs through #169. Cleanup issue · GitHub’s run annotation.
A local alternative puts cleanup in the same queue as publication and checks existing previews once an hour from the default branch. It rereads each PR’s state before deleting its preview. The local tests cover reopened PRs, duplicate listings and a failed deletion retried on the next sweep. The branch on GitHub still has the original close trigger.
Test plan
refs/pull/N/mergeand the exact tested merge SHA. The publisher accepted the artifact’s source before AWS authentication.Related to #106 and #113.