Skip to content

fix: expect captured reply markup in shared thread reading test - #5109

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5095
Nov 2, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5095

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The shared-thread browser test rejected every markup key, but #4873 intentionally retained the original authored HTML in body.markup so Copy preserves a complete reply. Assert that captured source while continuing to exclude raw message markup and rendered HTML. The gesture, pending-send, immutable-reading and live authored-widget state assertions remain intact; product behavior is unchanged.

The focused stay case reproduced the reported failure before this correction. Both stay and choose-earlier pass afterward (uv run pytest tests/browser/test_render_application_boundary.py::test_packages_and_panel_share_threads_through_gestures_and_authored_content -q -n0). Ruff check, Ruff format and git diff --check pass.

Closes #5095 — automated triage

The strict browser migration (#4873) retained original authored HTML in body.markup so Copy can preserve a complete answer. Assert that captured source rather than rejecting every markup key; keep raw message markup and rendered HTML excluded and retain the existing gesture and authored-state coverage.

Closes #5095
@leaf-agent
leaf-agent merged commit 9a646f8 into main Nov 2, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5095 branch November 2, 2026 11:14
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.

Application-boundary state response contains markup excluded by its assertion

1 participant