Repository navigation
Wait for live revision presentation in site journey - #2394
Merged
Merged
Conversation
The deploy journey accepted the revision meta tag before the in-place patch finished rendering. A reload could therefore read the old visible words after the hosted agent had published the new revision. Require the runtime's current presentation proof when following the published revision, and report a pending proof at timeout. The browser verifier test fails on the old marker-only predicate, and the focused hosted-journey tests pass with the new wait.
leaf-agent
commented
Oct 11, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The current lint check fails because Vulture flags the unused nextitem parameter in dev/leaf_dev/suite_profile.py. #2393 removes that parameter; this PR’s checks need that fix before the lint gate can pass.
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 deployment failure on main followed the hosted agent's published revision but read the page before that revision finished presenting. The agent published revision 2 and replied; the journey then saw the new revision marker with the old visible words. The same diagnostic occurred in the earlier failed deployment.
An in-place revision can advance the meta tag while the document patch and widget presentation are pending. The site journey now waits for Leaf's current presentation reading as well as the revision number before checking the rendered page. If presentation never finishes, the timeout reports that missing step. The requirement that the agent's words appear on the page remains intact. The failure surfaced after #2383; its revision-history optimization remains intact.
A browser test holds presentation behind an advanced revision marker, then finishes it and checks both readings. The three focused site journey tests and
node --check dev/leaf_dev/verify_site_browser.jspass locally. This branch includes main at 75515cd so CI can run past the lint failure that blocked its earlier check.The first refreshed CI attempt collected extra
unchanged writediagnostics in an unrelated thread-list test. That test passed in isolation on both this head and the main commit merged into it, and the full CI rerun passed on the same PR head.