Skip to content

Wait for live revision presentation in site journey - #2394

Merged
leaf-agent merged 3 commits into
mainfrom
fix/ci-38135253146
Oct 12, 2026
Merged

leaf-agent merged 3 commits into
mainfrom
fix/ci-38135253146

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

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.js pass 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 write diagnostics 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.

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 leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@leaf-agent
leaf-agent merged commit 7e35b6e into main Oct 12, 2026
2 of 3 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38135253146 branch October 12, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant