Repository navigation
test: put thread HTML in the message text in the browser and journey tests #6208 missed - #6225
Merged
Merged
Conversation
… tests #6208 missed #6208 dropped the separate markup argument from post_reply and cmd_comment, but seventeen browser- and journey-tier call sites still passed it positionally and failed with a TypeError on main's push run. They now put the HTML in the message's text (post_reply with html=True, as `leaf thread reply` does). test_a_durable_reply_completes_its_stream_placeholder_in_place no longer edits the completed reply: it holds HTML, which #6208 froze whole, so `leaf thread edit` refuses that edit. The test keeps the stream placeholder being completed in place with its widget. Refs #3985
max-sixty
added a commit
that referenced
this pull request
Nov 17, 2026
…e body #6225 put each test's widget into its message text and passed html=True, the parameter this branch removes; every agent message now reads its HTML.
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.
#6208 removed the separate
markupargument frompost_replyandcmd_comment, so an agent message is now one Markdown body that holds its HTML. Seventeen callers intests/browser/andtests/journeys/still passed markup positionally. A pull request runs only the later-tier tests it edits, so they first failed on main: push run 43956121090 failed 15 browser tests withTypeError: post_reply() takes 3 positional arguments but 4 were given(or thecmd_commentequivalent). Each caller now writes the HTML into the text after a blank line, withhtml=Trueonpost_reply, the same form #6208 gave the callers it updated. The three that passedNoneas markup now drop that argument.One test changes what it covers.
test_a_durable_reply_completes_its_stream_placeholder_in_placeused to end by editing the completed reply and checking that its widget survived. That reply holds HTML, and #6208 freezes such a message whole (leaf thread editrefuses it withedit-holds-html), so the agent can no longer send that edit. The test still checks that the durable reply completes the stream placeholder in place and draws its widget.Verification: before this change, the 15 browser tests named in that run failed with the TypeError. With it, they pass locally, along with the three journey-tier tests that make the same calls (28 passed,
-n 4). An AST scan of the tree finds no remaining call that passes markup.This leaves two other failures from that run, both with owners: #6139 (
test_a_root_summary_keeps_thread_actions_outside_its_fold), and the −54 pxlf-compose-placeholder-entersshift intest_an_arrival_the_opening_view_will_cover_puts_it_away. That shift still reproduces on main after #6153, so it goes back to #5642.Refs #3985 — automated triage