Repository navigation
test: read the panel's thread quote in the anchor tests, and carry delivery 52 in the fork eval - #6621
Merged
Conversation
…k eval's next-turn envelope #6573 gave a margin card its own thread quote, so an open thread now draws `.lf-thread-quote-head` and `.lf-quote-label` in both the panel and the card. Eleven tests that read the panel's quote with a page-wide locator hit Playwright's strict mode on two matches. They now read it inside the open panel view (`PANEL_THREAD`), which is the view their helper already describes; the behavior each protects is unchanged. The same change moved deliveries to `leaf-delivery/52` with a `rewritten_from` field on each thread digest, and updated two of the three envelopes in `evals/beside-work-goes-to-a-fork`; the `next-turn` variant, which #6593 added, kept `/51`. It now carries the envelope Leaf writes. Refs #6620
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.
Both failures in
cirun 44799579467 on main come from #6573. The tests were left behind by that change. The product behavior is fine.test_render_anchors.pyandtest_render_aim.py. Keep a comment on the item its words stand in, and show and deliver the words a revision rewrote #6573 gave the margin card its own thread quote ("Every thread view now quotes its words"), so an open thread now draws.lf-thread-quote-head/.lf-quote-labelin both the panel and the card. These tests read the panel's quote with page-wide locators, and Playwright's strict mode refuses the two matches. Thethread_headhelper and the flowchart test now read inside the open panel view (PANEL_THREAD), which is the view the helper's docstring already names. Each test asserts what it did before.test_every_delivery_an_eval_pastes_is_the_envelope_leaf_writes. Keep a comment on the item its words stand in, and show and deliver the words a revision rewrote #6573 moved deliveries toleaf-delivery/52with arewritten_fromfield on each thread digest and updated two of the three envelopes inevals/beside-work-goes-to-a-fork. Thenext-turnvariant came from Keep a started message out of the reminders while the session's background agents work #6593, which merged first, and it kept/51('leaf-delivery/51' == 'leaf-delivery/52'). It now carries the format and the null field Leaf writes.Verification: all 12 tests fail on current main (
origin/mainat da4e538) and pass on this branch, run locally with Chrome.rg 'page.locator\(".lf-(thread-quote-head|quote-label|thread-quote)"'overtests/anddev/finds one other unscoped read, attest_render_aim.py:2195. It passed in the failing run, because design mode retires the margin card there.Refs #6620 — automated triage