Repository navigation
Restore compiled preview recovery checks and copied runtime builds - #2788
Merged
Merged
Conversation
Preview workers must use the runtime they selected even when a host launcher is inherited. Copy an extracted runtime without Git metadata, give the test checkout its compiler dependencies, and assert startup recovery against resources the compiled kernel loads. The render gate keeps checking the actual visual error without depending on a minified function name.
leaf-agent
commented
Oct 13, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The code review found no actionable issue in this diff, but the website verification step failed: its POST /examples/heat-loss/api/media timed out after 120 seconds. In the CI checkout, the changed distribution.prepare still takes the existing Git extraction path; the other changed paths are preview code and tests. I have not verified this timeout on main, so its cause remains open. CI has not supplied a terminal passing result for this head.
This was referenced Oct 14, 2026
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.
The main CI run failed three copied-runtime preview tests and one visual-inventory render check after #2767 switched developer previews and browser tests to the compiled kernel. This PR restores those checks while keeping the compiled runtime.
A copied runtime has no Git metadata, so preparation now copies its payload from the filesystem. A preview selecting that runtime clears an inherited
LEAF_HOST_LAUNCHER, which otherwise redirects its page commands to the host checkout and prevents runtime edits from triggering a re-vendor. The preview fixture supplies the development compiler dependencies and tests startup failures using resources the compiled page loads. The render check continues to require the TypeError and its explanation without depending on a function name lost to minification.Verification: the four failed cases and the distribution cache tests passed together (17 tests); the stopped-service case passed again after restoring its real network-failure arrangement. Ruff check and format checks passed on the changed files.