Skip to content

fix(cache): stop a replay from acting on the twin of a control that is gone - #2093

Merged
michal-e2e merged 8 commits into
mainfrom
michal/cache-twin-stop
Nov 24, 2026
Merged

michal-e2e merged 8 commits into
mainfrom
michal/cache-twin-stop

Conversation

@michal-e2e

@michal-e2e michal-e2e commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

  • A step recorded on one of two same-named controls replayed onto the other when its own control was gone. The replay acted on the twin, reported self-finalized, and the test passed. It happened two ways:
    • No test ids (ENG-1404): the recorder stored position {index: 0, of: 2}, but relocation accepted any lone match on a named tier, whatever count was recorded. docs/cache.mdx already promised target-ambiguous when the count changes.
    • With test ids (ENG-1405): the test id made the target unique, so no count was stored. Once the test id was gone, replay fell back to role and name (fix(cache): replay steps on nodes known only by a generated test id #1208's forgiveness for a changed test id) and took the twin.
  • Relocation (packages/core/src/cache/relocate.ts, relocateDescriptor) now accepts a lone match only on a tier where the recording saw no twin:
    • A position counted on the strict tier stops a lone match on that tier. It says nothing about the role-and-name tier a changed test id falls back to, where a text that tells two controls apart still finds the right one. A position counted by place, on a minted test id's shape, still lets the exact test id match alone (relocate-minted-test-id).
    • One exception keeps main's answer: a nameless control that shares its test id with controls its text tells apart (the strict tier ignores text when a test id is recorded). A lone match that shows the recorded text is still the node, unless the recording saw that text twice (twinsWithoutTestId). A target with no test id gets no such exception: its count already compares text, so two "Preview" buttons that lose one stop.
    • The recorder sets a new optional field, twinsWithoutTestId: true, when a test-id target's role and name also matched other controls in its container (hasTwinsWithoutTestId, called from placementOf). A lone match on the semantic tier then stops. An exact test id match ignores the field.
  • The replay paths that read a refused relocation follow it (packages/core/src/agent/replay.ts):
    • Relocation marks the refusal this change adds, a lone named match turned down because the recording saw twins of it, with twinLeft on the target-ambiguous result.
    • For that mark only, placeWithin does not settle the lone candidate by the recorded point, and a scroll on a list that filled the screen does not fall back to scrolling the screen. Every other ambiguity keeps main's fallbacks.
    • retryable looks again on that mark, as it already did for two of three: the recorded test id may come back, or the count catch up on a form that renders in steps, and then the control in the recorded place is used. After about 15 seconds it hands off. A count that catches up picks by order, so a twin that renders ahead of the recorded control takes its place, the same price the two-of-three wait pays on main.
    • Once a relocation refuses a twin, its later looks keep the mark, so a look-alike that renders while it waits is not settled by the recorded point or by scrolling the screen.
    • A drag finds both ends on one look (relocateEnds), for node drags and bare-point drags alike, so a box that moves while the other end loads is read where it is now. It judges the source first, as main did, so a destination that is ambiguous for one look does not end the wait for a source still loading. Each end keeps its refusal, and the drag stops with target-ambiguous while a refused end is missing, or target-not-found once it is back and the other end is not.
    • Repeated scrolls fold only when they carry the same flag.
  • A count taken on the look an earlier action of the same step already ran from is marked countedOnEarlierLook: true (placementOf in packages/core/src/agent/action-dispatcher.ts); a scrollUntil that found its text without paging takes no look and leaves the mark as it was. An executor may act twice from one look, and the first action may remove or add a twin, so replay does not apply the new stop to that count: such an action replays as on main. No extra look is taken, so what the executor's later actions address is unchanged. Node actions, point actions and drag destinations all record their place through placementOf. The page scrollUntil reads after its last swipe, on an engine without scrollTo, counts as a fresh look, so a press right after it keeps the stop.
flowchart LR
  A[recorded target] --> B{tier that matched}
  B -- "named, no count recorded" --> N{matches now}
  N -- one --> F[act]
  N -- several --> G[target-ambiguous: hand off at once, as on main]
  B -- "strict, count recorded on it (no test id, or a shared one)" --> C{matches now}
  C -- same count --> P[act on the recorded place]
  C -- "another count above one" --> L[look again, then hand off, as on main]
  C -- one left --> D["target-ambiguous, twinLeft: look again for the count, then hand off or REPLAY_STALE; no point or screen-scroll fallback"]
  B -- "semantic, twinsWithoutTestId" --> E{matches now}
  E -- one --> D2["target-ambiguous, twinLeft: look again for the test id, then hand off"]
  E -- "several, count recorded on a shared test id" --> P
  E -- several --> G
  B -- "unnamed or generated test id, by place" --> H[as on main]
  B -- "count marked countedOnEarlierLook" --> H
Loading
  • No REPLAY_POLICY_VERSION bump. What changes for recordings already on disk:
    • A target recorded by a unique test id carries no twinsWithoutTestId, so it replays as before, the ENG-1405 bug included, until the step is recorded again. A replay that passes is never re-recorded, so such an entry keeps the old behavior until it misses for another reason.
    • A target with a position on a named tier (no test id, or one shared by several controls) now stops when one of its twins is left. That is the ENG-1404 fix, and it reaches existing entries at once.
    • That includes an entry main recorded for a step that acted twice from one look on twins the first action removed: main stored the second action's count unmarked. Its first replay here hands off, and the step is recorded again as the executor now acts, after which it replays; under --strict-cache it fails with REPLAY_STALE until re-recorded.
    • Bumping the version would cold-start every cache; say so if you prefer that.
  • Committed recordings: none of the 31 web benchmark or 39 mobile benchmark entries has a position on a named target or the new field. One mobile entry has 4 positioned targets, all unnamed textboxes, a path this does not change.
  • Tradeoff: a duplicate that really went away (a second "Close" in a toast, or one of two controls sharing a test id) now hands off to the agent after up to about 15 seconds of looking for the missing control, and records again the next time it passes with a writable cache. Under --strict-cache with committed recordings it fails with REPLAY_STALE until someone re-records it. The runner cannot tell that case from the wrong-twin case.

Issue

ENG-1404, ENG-1405 (Linear)

Verified

Ran it locally: yes

A throwaway project on the built CLI: a fake engine (defineEngine) with two "Set up" buttons that lead to the same screen, and a scripted executor that taps the first one (no model). The first run records; the second run removes the first button. The same two cases run through the web engine in tests/integration/trace-cache-twin-gone.test.ts (pnpm --filter e2e exec vitest run tests/integration/trace-cache-twin-gone.test.ts), which fails on main (self-finalized) and passes here.

second run main (b6e65ae37) this branch (cfc8b0392)
no test ids, recorded {"role":"button","name":"Set up","position":{"index":0,"of":2}} replay tapped the second button, self-finalized, test passed missed, target-ambiguous, nothing tapped, handed to the executor
test ids, recorded {"role":"button","name":"Set up","testId":"setup-primary"} (plus twinsWithoutTestId: true on this branch) replay tapped the second button, self-finalized, test passed missed, target-ambiguous, nothing tapped, handed to the executor
either, --strict-cache on the replay tapped the second button, test passed REPLAY_STALE, nothing tapped
  • 34 added tests: 22 fail on main and pass here; 12 pass on both on purpose, as guards for what must not change (an exact test id still on screen, a changed test id with no twin as in fix(cache): replay steps on nodes known only by a generated test id #1208, a text that tells two shared-test-id controls apart, a control recorded alone, an unnamed control in a named group that lost a twin, two twins of a flagged target handing off at once, a recorded point inside an unnamed control whose one look-alike is left, a full-screen list joined by a smaller namesake, a count marked countedOnEarlierLook replaying as main both with one match left and with the recorded count, a count taken on a fresh look between two presses, and a lone control acted on from an earlier look recorded with no count mark). Hand mutants of the changed relocation, recording, reading, dispatch and replay lines are each caught by an assertion: 28 on 8902df508 (this head without the empty-look rule in relocate), and 8 on da12d2e2b's replay lines, one of them dropping the refusal when a look shows no match.

  • 4 more tests on cfc8b0392, each failing on da12d2e2b and passing here: two "Preview" buttons with no name or test id that lose one (relocate-position); a drag end that keeps its refusal when a second look-alike renders (trace-replay); a drag whose destination is refused while its source is still loading (trace-replay); and a press right after scrollUntil on an engine without scrollTo, recorded with no countedOnEarlierLook (trace-cache-twin-gone).

  • Review fixes on 2443bd8c3 (kdy1's six threads): 6 new or rewritten tests in trace-replay.test.ts fail on cfc8b0392's replay.ts and pass here (one of two twins waits for the count, for each index and for a shared test id; it hands off after the wait and picks by order when a twin renders ahead; a drag waits for its source while the destination is ambiguous for one look; a drag keeps target-ambiguous for a refused end and reports target-not-found once it is back, at either end; a bare-point drag places both ends on one look when either end waits and the other moves). One new test in trace-cache-twin-gone (a press, a scrollUntil that takes no page, a press, all from one look, records countedOnEarlierLook) fails without the action-dispatcher.ts change. pnpm check passes; pnpm --filter e2e run test:unit 4380 passed, 2 skipped; the relocate, trace and twin-gone files 177 passed.

  • More cases, in tests/unit/trace-replay.test.ts and tests/unit/relocate-twins-without-test-id.test.ts:

    case main (b6e65ae37) this branch (cfc8b0392)
    two "Set up" buttons share one test id; the recorded one shows alone, then a twin renders after it completes waits for the count, taps the recorded one
    recorded by its own test id, which is gone; one twin shows, then a second renders under the recorded point completes on a twin target-ambiguous, nothing tapped
    the same with a list that filled the screen and a smaller namesake completes on a twin target-ambiguous, nothing scrolled
    the same list, then the twin disappears while the replay looks for the test id completes on a twin target-ambiguous, nothing scrolled
    two nameless buttons share a test id and differ by text: the recorded one is left / only the other is left finds it / takes the other finds it / stops

    In rows 2 to 4 the recorded control is on neither screen, so completing means acting on a twin. In row 1 main acts on the one button it sees, which here is the recorded one; this branch waits for the count and taps the button in the recorded place. trace-cache-twin-gone also runs the replay under --strict-cache (REPLAY_STALE, nothing pressed, no executor call) and checks the second run's exit code.

  • On cfc8b0392: pnpm check passes; pnpm --filter e2e run test:unit 4377 passed, 2 skipped; the relocate, trace and agent unit and integration files (40) 663 passed. On da12d2e2b: pnpm --filter @e2e-dev/testbed test 600 passed, 1 skipped. On b948c3c8f (this head without the empty-look rule and its tests): pnpm test passes except one @e2e-dev/desktop test (surface.test.ts, "quits the process carrying the launch token of a launch the app list never showed"), which fails the same way on main b6e65ae37 on this machine; pnpm test:web-benchmark 95 passed; the web benchmark's agent suite with --strict-cache and no model key: 26 passed, 0 REPLAY_STALE, and the same 8 steps that need a model fail on main too.

  • Merged with fix(cache): replay a control that leads its row in that row, not by its place #2053's head (1b3d16189), before this change's last fixes: two conflicts, both resolved by keeping both sides. In readDescriptor the two new field blocks sit side by side. In placementOf this change's placement follows fix(cache): replay a control that leads its row in that row, not by its place #2053's early return for a control that leads its row, and hasTwinsWithoutTestId passes false for fix(cache): replay a control that leads its row in that row, not by its place #2053's new leads argument. On that merge, the six relocate-* unit files, trace-replay, trace-recorder, trace-cache-twin-gone, trace-cache-replay and trace-cache-minted-test-id: 159 of 159 pass.

  • Not run: the agentic suites with a model key (the mobile ones run in CI only) and a recording made by a real model.

For maintainers

  • A known exception, by design: an action an executor takes from the same look as an earlier action of the step (no look between) records its count with countedOnEarlierLook and replays as on main, the wrong-twin case included. The built-in loop and the ACP and MCP tools look after every action and the decision executor every turn, so this mostly reaches custom executors that batch.
  • Left for follow-ups, all on main too:
    • A recorded point tap still lands on a twin under the pixel when two or more look-alikes are left.
    • A stale-node retry during replay re-finds the target without its recorded place, so it can take a twin.
    • scrollUntil records no place for its list, so neither a position nor the new field reaches it, and its viewport fallback stays as on main.
    • A control with more than 1,000 twins records no position, and a lone survivor is still taken.
    • Duplicate test ids: a position counted on one shared test id is applied on the role-and-name tier once the ids change, and two unnamed controls with the same generated test id accept a lone exact match.
  • feat(cache)!: keep one reviewable YAML file of replay recordings per test #2092 (one YAML file of recordings per test) merges with this one without a text conflict, and the merged tree fails until whichever lands second makes two changes. On a local merge of feat(cache)!: keep one reviewable YAML file of replay recordings per test #2092's head e92a62efc with da12d2e2b:
    • trace-cache-twin-gone reads entries with the synchronous readEntries helper, which feat(cache)!: keep one reviewable YAML file of replay recordings per test #2092 makes async, so the e2e package typecheck fails.
    • With only await added, typecheck passes and two of its four tests fail on an assertion: recording-file.ts writes a target's DESCRIPTOR_FIELDS, states and position only (renderTarget), its reader refuses any other key (TARGET_KEYS), and its store writes a test's file only when it reads back the same (readsBack in store.ts). A step that records twinsWithoutTestId or countedOnEarlierLook therefore leaves the test's whole file unwritten, and the next --strict-cache run finds no recording for that step and calls the executor, as for a step never recorded.
    • Writing both flags when they are true and adding both to TARGET_KEYS (two lines; readTraceEntry already validates them) makes the file pass, 3 runs of 3, and the six relocate-* unit files, trace-recorder, trace-replay, trace-store, trace-cache-replay and trace-cache-minted-test-id pass (213 tests).
    • Recordings converted from JSON carry no twinsWithoutTestId, so a target recorded by a unique test id keeps main's behavior until re-recorded, as for entries already on disk above.
  • Fewer twins than recorded now gets one answer, as kdy1 asked in review: look again for up to 15 seconds, then hand off. Once the count is back, the control in the recorded place is used, so a twin that renders ahead of the recorded control takes its place, as two of three already did on main.
  • fix(cache): replay a control that leads its row in that row, not by its place #2053 touches the same code, and they merge with two conflicts, both resolved by keeping both sides (readDescriptor and placementOf). Whichever lands second must count twinsWithoutTestId in the row scope it records: pass false for leads on the plain path, and compute the flag inside fix(cache): replay a control that leads its row in that row, not by its place #2053's early return for a control that leads its row too, with that row key and leads: true. Without the second part, a row-leading control that shares a test id and a row label with a twin can still be taken after it is removed.

🤖 Generated with Claude Code

…s gone

A step recorded on one of two same-named controls replayed onto the other
when its own control was gone: by place when the twins had no test id, and
by role and name once the recorded test id was gone. Relocation now accepts
a lone match only on a tier where the recording saw no twin, the recorder
notes twins beside a test id (twinsWithoutTestId), and replay marks the
refusal (twinLeft) so point and screen-scroll fallbacks and the extra look
apply only where main's behavior was safe. A count taken on a look an
earlier action of the step ran from is marked and replays as on main.

Fixes ENG-1404, ENG-1405.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 23, 2026
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e web: 95 passed

All 95 tests in 43 files
Test Time
🟢 tests/aria-hidden-flow.e2e.ts · 2 passed 670ms
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 482ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 188ms
🟢 tests/async-states.e2e.ts · 2 passed 6.9s
🟢 async states › reads the code off the transient toast and verifies it once the button enables 2.2s
🟢 async states › a wrong code is rejected after the toast has gone 4.7s
🟢 tests/canvas-only.e2e.ts · 2 passed 233ms
🟢 canvas only › taps square, circle, then diamond at their pixel coordinates 127ms
🟢 canvas only › a shape out of order paints the error and resets progress 106ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 317ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 183ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 134ms
🟢 tests/cart-totals.e2e.ts · 2 passed 325ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 194ms
🟢 cart totals › a quantity never drops below one 131ms
🟢 tests/checkout-review.e2e.ts · 1 passed 165ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 165ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 479ms
🟢 context menu trap › right-click opens nothing; the row menu renames the file 249ms
🟢 context menu trap › the decoy menu items refuse and keep the file 230ms
🟢 tests/control-inventory.e2e.ts · 8 passed 3.1s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 215ms
🟢 control inventory › check picks a radio the pick replaces with its summary 139ms
🟢 control inventory › a long press and a double click are told apart from a tap 995ms
🟢 control inventory › the file menu opens on right-click only and Rename renames the file 218ms
🟢 control inventory › setInputFiles attaches files named from the project root 124ms
🟢 control inventory › the details view is left through the browser history 136ms
🟢 control inventory › scrollIntoView brings the footnote into view 155ms
🟢 control inventory › every exercise done shows the success message 1.2s
🟢 tests/css-content-ui.e2e.ts · 2 passed 298ms
🟢 css content ui › the tile labelled Ship it advances and confirming ships 162ms
🟢 css content ui › a wrong tile shows the CSS-rendered error and keeps the picker 136ms
🟢 tests/date-picker.e2e.ts · 2 passed 542ms
🟢 date picker › navigates three months ahead and books the required date 311ms
🟢 date picker › confirming without the exact date shows the error 231ms
🟢 tests/debounced-search.e2e.ts · 2 passed 2.7s
🟢 debounced search › a decoy one character off is refused 1.4s
🟢 debounced search › picking the exact item adds it to the cart 1.3s
🟢 tests/deferred-dialog.e2e.ts · 1 passed 1.0s
🟢 one submit opens one confirm, even when double-clicked 1.0s
🟢 tests/div-soup.e2e.ts · 2 passed 577ms
🟢 div soup › a wrong code is rejected 261ms
🟢 div soup › the right code grants access after the delete tile fixes a typo 316ms
🟢 tests/drag-and-drop.e2e.ts · 2 passed 599ms
🟢 drag and drop › an out-of-order item resets the dropzone 299ms
🟢 drag and drop › dropping Banana then Cherry passes 300ms
🟢 tests/file-round-trip.e2e.ts · 2 passed 309ms
🟢 file round trip › downloads the issued voucher and verifies the same file uploaded back 151ms
🟢 file round trip › rejects a file that is not the voucher, then accepts the issued one 158ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 208ms
🟢 filter deep link › filtering writes the query to the URL 112ms
🟢 filter deep link › opening a shared link restores the filter 96ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 495ms
🟢 gift card purchase › refuses to buy without an amount 130ms
🟢 gift card purchase › refuses a recipient without an at sign 181ms
🟢 gift card purchase › sends the gift card 184ms
🟢 tests/hover-menu.e2e.ts · 2 passed 411ms
🟢 hover menu › a decoy leaf is refused 178ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 233ms
🟢 tests/iframe-form.e2e.ts · 2 passed 443ms
🟢 iframe form › a wrong code is refused by the host page 210ms
🟢 iframe form › the code read from one frame applies through the other 233ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 405ms
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 109ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 130ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 166ms
🟢 tests/infinite-scroll.e2e.ts · 1 passed 2.7s
🟢 scrolls the feed until the Golden Ticket loads, then claims it 2.7s
🟢 tests/kanban-board.e2e.ts · 3 passed 653ms
🟢 kanban board › pointer drags move both cards into the goal layout 336ms
🟢 kanban board › a swipe along a path drags a card as well 134ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 183ms
🟢 tests/login-form.e2e.ts · 4 passed 698ms
🟢 login form › rejects a malformed email 165ms
🟢 login form › rejects a short password 168ms
🟢 login form › rejects an unknown account 165ms
🟢 login form › signs in and logs out 200ms
🟢 tests/lying-labels.e2e.ts · 4 passed 580ms
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 133ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 94ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 186ms
🟢 lying labels › visible text drives the payment through 167ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 413ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 134ms
🟢 native dialogs › dismissing the confirm cancels the order 134ms
🟢 native dialogs › a wrong gift code is rejected 145ms
🟢 tests/new-tab-flow.e2e.ts · 2 passed 368ms
🟢 new tab flow › reads the code in the tab the app opens and enters it back in the original tab 198ms
🟢 new tab flow › a tap that opens a tab leaves the screen on the original tab, and activate shows the new one 170ms
🟢 tests/newsletter-signup.e2e.ts · 1 passed 2.2s
🟢 subscribe renders no feedback and logs a TypeError (planted bug) 2.2s
🟢 tests/onboarding-wizard.e2e.ts · 5 passed 4.2s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 226ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 299ms
🟢 onboarding wizard › the profile step steers the calendar three decades back 1.1s
🟢 onboarding wizard › the preferences step flips the toggles the brief names and leaves the trap off 1.2s
🟢 onboarding wizard › the review step repeats the brief and finishes with the PIN 1.3s
🟢 tests/order-history.e2e.ts · 2 passed 1.4s
🟢 order history › overview and settings render their panels 163ms
🟢 order history › the orders tab never leaves its loading state (planted bug) 1.2s
🟢 tests/otp-auto-advance.e2e.ts · 3 passed 1.3s
🟢 otp auto-advance › focus advances with each digit and the full code verifies 450ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 132ms
🟢 otp auto-advance › a wrong code clears every box and starts over 755ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 674ms
🟢 continues only after the banner and the overlay are gone 674ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 424ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 211ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 213ms
🟢 tests/price-sorting.e2e.ts · 3 passed 338ms
🟢 price sorting › opens in the featured order with sale prices struck through 94ms
🟢 price sorting › low to high sorts by the original price, not the paid one (planted bug) 119ms
🟢 price sorting › high to low is the same wrong order reversed (planted bug) 125ms
🟢 tests/product-reviews.e2e.ts · 1 passed 1.1s
🟢 the running-shoe page lists coffee-grinder reviews (planted bug) 1.1s
🟢 tests/promo-storefront.e2e.ts · 1 passed 1.3s
🟢 buys a deal once the promo chrome is out of the way 1.3s
🟢 tests/rich-text-editor.e2e.ts · 2 passed 428ms
🟢 rich text editor › bolding exactly the required word passes the check 211ms
🟢 rich text editor › bold that spills into the previous word fails the check 217ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 482ms
🟢 saved addresses › adds an address and clears the form 170ms
🟢 saved addresses › ignores an add with an empty field 149ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 163ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 349ms
🟢 shadow DOM form › rejects a wrong access code 167ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 182ms
🟢 tests/smoke.e2e.ts · 1 passed 248ms
🟢 home lists the scenarios and opens one 248ms
🟢 tests/stale-dom.e2e.ts · 1 passed 2.2s
🟢 taps the moving target three times across rebuilds of the list 2.2s
🟢 tests/sticky-chrome.e2e.ts · 1 passed 166ms
🟢 accepts the terms once the button clears the sticky footer 166ms
🟢 tests/virtualized-table.e2e.ts · 1 passed 14.5s
🟢 scrolls the windowed table to the Golden Row and claims it 14.5s
🟢 tests/wishlist.e2e.ts · 2 passed 1.4s
🟢 wishlist › saving toggles the button and the tab badge 195ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 1.2s

Tested by e2e 0.24.0 · 58.8s · web · run artifacts

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e web agent: 34 passed

36 agent steps · 26 replayed from cache · 25 model calls · 129.3k tokens (93% cached) · $0.0058

All 34 tests in 5 files
Test Agent Time
🟢 tests-agent/control-inventory.e2e.ts · 7 passed 7 steps 7.8s
🟢 control inventory › check sets the checkbox and the radio 1 step 857ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 325ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 951ms
🟢 control inventory › a right-click opens the file menu and Rename renames the file 1 step 2.6s
🟢 control inventory › upload attaches the named project files 1 step 2.4s
🟢 control inventory › back returns from the details view to the inventory 1 step 285ms
🟢 control inventory › scroll_to brings the footnote into view 1 step 398ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 390ms
🟢 act signs in with the benchmark account 1 step 390ms
🟢 tests-agent/planted-bugs.e2e.ts · 3 passed 5 steps · 8 calls 12.4s
🟢 cart totals: a judgment catches the stale order summary 2 steps · 3 calls 4.6s
🟢 checkout review: a judgment catches the broken copy 1 step · 1 call 1.2s
🟢 wishlist: a judgment catches the lost saved items 2 steps · 4 calls 6.5s
🟢 tests-agent/scenarios.e2e.ts · 22 passed 22 steps · 17 calls 1m 19s
🟢 act completes shadow-dom-form 1 step · 3 calls 3.4s
🟢 act completes lying-labels 1 step · 3 calls 5.0s
🟢 act completes iframe-form 1 step · 3 calls 4.0s
🟢 act completes infinite-scroll 1 step 3.4s
🟢 act completes virtualized-table 1 step 20.8s
🟢 act completes overlay-trap 1 step 926ms
🟢 act completes sticky-chrome 1 step 917ms
🟢 act completes async-states 1 step · 3 calls 7.2s
🟢 act completes debounced-search 1 step 2.3s
🟢 act completes hover-menu 1 step 519ms
🟢 act completes drag-and-drop 1 step 524ms
🟢 act completes kanban-board 1 step 728ms
🟢 act completes context-menu-trap 1 step 2.7s
🟢 act completes stale-dom 1 step 508ms
🟢 act completes otp-auto-advance 1 step 765ms
🟢 act completes date-picker 1 step 873ms
🟢 act completes rich-text-editor 1 step 10.1s
🟢 act completes playbook-cleanup 1 step 581ms
🟢 act completes promo-storefront 1 step 2.3s
🟢 act completes new-tab-flow 1 step · 5 calls 8.4s
🟢 act completes gift-card-purchase 1 step 2.5s
🟢 act filters the list and the URL carries the filter 1 step 265ms
🟢 tests-agent/unique-cache.e2e.ts · 1 passed 1 step 332ms
🟢 act adds an address with a run-unique label 1 step 332ms

Tested by e2e 0.24.0 · 1m 40s · web · run artifacts

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e android agent: 20 passed

24 agent steps · 15 replayed from cache · 50 model calls · 377.6k tokens (83% cached) · $0.0248

All 20 tests in 1 file
Test Agent Time
🟢 tests-agent/scenarios.e2e.ts · 20 passed 24 steps · 50 calls 6m 1s
🟢 act completes Login Form 1 step 22.8s
🟢 act completes Infinite Scroll List 1 step 23.3s
🟢 act completes Modal Flow 1 step 11.0s
🟢 act completes Bottom Tabs 1 step 7.4s
🟢 act completes Text Input Variations 1 step 6.1s
🟢 act completes Broken Accessibility 2 steps · 6 calls 15.9s
🟢 act completes Vision Only 2 steps · 1 call 6.3s
🟢 act completes Gestures 1 step · 7 calls 17.9s
🟢 act completes Async States 1 step · 24 calls 48.5s
🟢 act completes Debounced Search 1 step 6.7s
🟢 act completes Huge Virtualized List 1 step 1m 48s
🟢 act completes Flattened Registration Form 2 steps · 1 call 8.1s
🟢 act completes Flattened Login 2 steps · 6 calls 14.4s
🟢 act completes Sticky Chrome Target 1 step 8.7s
🟢 act completes WebView Accessibility 1 step · 5 calls 13.4s
🟢 act completes Permission Prompt 1 step 6.6s
🟢 act completes Product Catalog 1 step 8.2s
🟢 act completes Error Recovery 1 step 9.0s
🟢 act completes Choice Controls 1 step 8.7s
🟢 act completes Sequential Onboarding 1 step 10.1s

Tested by e2e 0.24.0 · 6m 3s · android-emulator · run artifacts

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e android: 61 passed, 1 skipped

All 62 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 24 passed, 1 skipped 2m 41s
🟢 control inventory › a label query resolves a labeled text field 24.3s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 11.4s
🟢 control inventory › a placeholder query and attribute reads find the field 5.0s
🟢 control inventory › a secure field takes a fill and denies value reads 5.6s
🟢 control inventory › press sends a character and Enter through the soft keyboard 8.4s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 8.2s
🟢 control inventory › toBeFocused follows the focus 8.0s
🟢 control inventory › a switch checks, unchecks, and reports its state 8.2s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 6.9s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 9.9s
🟢 control inventory › a tab role answers getByRole 3.4s
🟢 control inventory › a radio group reports the checked option 7.1s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 6.8s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 6.2s
🟢 control inventory › a header answers its accessible name 3.5s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 5.2s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 5.1s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 7.0s
🟢 control inventory › a double tap lands inside the 300 ms window 6.3s
🟢 control inventory › an ambiguous locator fails at once 4.8s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 6.5s
🟢 refusals › verbs a device never declares are refused before the engine 3ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 1.6s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 13 passed 1m 24s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 4.5s
🟢 device fixture › home leaves the app, openApp brings it back where it was 4.5s
🟢 device fixture › foregroundApp sees the home screen after home() 3.5s
🟢 device fixture › closeApp then openApp relaunches on the home list 5.9s
🟢 device fixture › closeApp leaves the next commands on the same device 6.4s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 3.8s
🟢 device fixture › openLink opens the scenario a deep link names 4.4s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 3.7s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 7.3s
🟢 device fixture › device.back pops the scenario 4.5s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 3.5s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 14.8s
🟢 device fixture › setLocation and clearLocation change what the app reads 17.5s
🟢 tests/device.e2e.ts · 6 passed 41.2s
🟢 permission prompt › allowing the system dialog enables the microphone 5.5s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 11.1s
🟢 sequential onboarding echoes the exact values 9.2s
🟢 a shake is sent without an error and leaves the screen readable 4.4s
🟢 onboarding rejects a malformed email before advancing 5.0s
🟢 dismissing the keyboard over choice controls leaves them as they were 6.0s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 3s
🟢 infinite scroll reaches the target item 27.3s
🟢 product catalog adds exactly two of the right variant 8.2s
🟢 gestures: long-press, then swipe left 7.6s
🟢 gestures: double-tap completes the flow 9.1s
🟢 sticky chrome: accept below the fold, then continue 10.3s
🟢 async states: load, pull to refresh, claim through the toast 11.6s
🟢 huge virtualized list reaches row 512 1m 49s
🟢 tests/flows.e2e.ts · 7 passed 48.3s
🟢 text inputs unlock the submit button 6.0s
🟢 filled text inputs report their values 5.3s
🟢 modal flow confirms through the native alert 8.5s
🟢 bottom tabs act inside the last tab 6.5s
🟢 error recovery retries, then confirms the delete 8.4s
🟢 choice controls place the exact order 5.6s
🟢 debounced search selects the target once results arrive 8.1s
🟢 tests/login-form.e2e.ts · 3 passed 26.2s
🟢 login form › rejects a malformed email 7.1s
🟢 login form › rejects an unknown account 6.9s
🟢 login form › signs in and logs out 12.2s
🟢 tests/smoke.e2e.ts · 1 passed 5.0s
🟢 home lists the scenarios and opens one 5.0s

Tested by e2e 0.24.0 · 9m 10s · android-emulator · run artifacts

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios: 60 passed, 1 skipped

All 61 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 23 passed, 1 skipped 3m 2s
🟢 control inventory › a label query resolves a labeled text field 14.6s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 15.3s
🟢 control inventory › a placeholder query and attribute reads find the field 5.7s
🟢 control inventory › a secure field takes a fill and denies value reads 7.4s
🟢 control inventory › press sends a character and Enter through the soft keyboard 9.0s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 10.0s
🟢 control inventory › toBeFocused follows the focus 8.9s
🟢 control inventory › a switch checks, unchecks, and reports its state 10.1s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 8.4s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 13.0s
🟢 control inventory › a radio group reports the checked option 9.3s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 7.9s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 7.5s
🟢 control inventory › a header answers its accessible name 5.1s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 6.4s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 6.6s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 8.6s
🟢 control inventory › pointer verbs land at the point asked for 9.6s
🟢 control inventory › an ambiguous locator fails at once 5.8s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 11.6s
🟢 refusals › verbs a device never declares are refused before the engine 2ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 181ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 14 passed 2m 7s
🟢 device fixture › setAppearance flips the color scheme the app reads 16.0s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 9.4s
🟢 device fixture › the clipboard reads back what was written 5.1s
🟢 device fixture › home leaves the app, openApp brings it back where it was 7.1s
🟢 device fixture › closeApp then openApp relaunches on the home list 8.2s
🟢 device fixture › closeApp leaves the next commands on the same device 12.3s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 6.0s
🟢 device fixture › openLink opens the scenario a deep link names 13.8s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 6.7s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 10.4s
🟢 device fixture › device.back pops the scenario 6.2s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 4.8s
🟢 device fixture › setLocation and clearLocation change what the app reads 10.5s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 10.4s
🟢 tests/device.e2e.ts · 5 passed 59.2s
🟢 sequential onboarding echoes the exact values 25.6s
🟢 isKeyboardShown follows the keyboard up and through a dismissal 7.8s
🟢 a shake is sent without an error and leaves the screen readable 5.0s
🟢 onboarding rejects a malformed email before advancing 9.6s
🟢 dismissing the keyboard over choice controls leaves them as they were 11.1s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 55s
🟢 infinite scroll reaches the target item 34.0s
🟢 product catalog adds exactly two of the right variant 10.1s
🟢 gestures: long-press, then swipe left 8.8s
🟢 sticky chrome: accept below the fold, then continue 12.7s
🟢 async states: load, pull to refresh, claim through the toast 11.4s
🟢 huge virtualized list reaches row 512 2m 25s
🟢 web view coupon form applies the code shown on the page 12.7s
🟢 tests/flows.e2e.ts · 7 passed 1m 7s
🟢 text inputs unlock the submit button 11.9s
🟢 filled text inputs report their values 10.1s
🟢 modal flow confirms through the native alert 9.6s
🟢 bottom tabs act inside the last tab 7.5s
🟢 error recovery retries, then confirms the delete 9.5s
🟢 choice controls place the exact order 7.6s
🟢 debounced search selects the target once results arrive 11.2s
🟢 tests/login-form.e2e.ts · 3 passed 43.8s
🟢 login form › rejects a malformed email 12.4s
🟢 login form › rejects an unknown account 12.5s
🟢 login form › signs in and logs out 18.9s
🟢 tests/smoke.e2e.ts · 1 passed 8.4s
🟢 home lists the scenarios and opens one 8.4s

Tested by e2e 0.24.0 · 6m 59s · ios-simulator · run artifacts

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios agent: 1 flaky, 20 passed, 1 skipped

25 agent steps · 11 replayed from cache · 80 model calls · 847.3k tokens (82% cached) · $0.0586

⚠️ 1 flaky test passed on a retry

⚠️ act completes Gestures
tests-agent/scenarios.e2e.ts:266

ACTION_FAILED at step 4 of 4: agent.act "Complete this scenario as the screen instructs: long-press the first target, swipe the card left, then double-tap the last target", after 57.2s and 15 model calls

agent.act failed: Long-pressed the first target and swiped the card left, advancing to Step 3. Double-tap attempts on the last target did not advance or show completion; the screen remains on “Double-tap the button below.”

  • Failed on 2 attempts: ASSERTION_FAILED at step 5, then ACTION_FAILED at step 4.
  • Turn 12: double_tap({"target":"n5285"}) → [double_tap] Double-tapped #n5285.
  • Turn 13: tap_at({"x":177,"y":465}) → [tap_at] Tapped the point (202, 530); no listed control is there (under it: #n5321 other "Double-tap me" testid="double-tap-target").
  • Turn 14: tap_at({"x":177,"y":465}) → [tap_at] Tapped the point (202, 530); no listed control is there (under it: #n5357 other "Double-tap me" testid="double-tap-target").
  • Screen: dev.e2e.benchmark / Gestures

Evidence: screenshot, log

All 22 tests in 1 file
Test Agent Time
⚠️ tests-agent/scenarios.e2e.ts · 1 flaky, 20 passed, 1 skipped 25 steps · 80 calls 9m 45s
🟢 act completes Login Form 1 step · 11 calls 1m 30s
🟢 act completes Infinite Scroll List 1 step 36.9s
🟢 act completes Modal Flow 1 step 9.8s
🟢 act completes Bottom Tabs 1 step 7.4s
🟢 act completes Text Input Variations 1 step 12.7s
🟢 act completes Broken Accessibility 2 steps · 5 calls 20.7s
🟢 act completes Vision Only 2 steps · 6 calls 24.1s
⚠️ act completes Gestures (2 failed attempts first) 1 step · 12 calls 46.3s
🟢 act completes Async States 1 step · 8 calls 23.3s
🟢 act completes Debounced Search 1 step · 1 call 28.3s
🟢 act completes Flattened Registration Form 2 steps · 1 call 24.8s
🟢 act completes Flattened Login 2 steps · 20 calls 1m 43s
🟢 act completes Sticky Chrome Target 1 step 13.3s
🟢 act completes WebView Accessibility 1 step 12.2s
🟢 act completes Permission Prompt 1 step 11.7s
🟢 act completes Photo Picker 1 step · 2 calls 27.1s
🟢 act completes Product Catalog 1 step 10.0s
🟢 act completes Error Recovery 1 step 10.4s
🟢 act completes Choice Controls 1 step · 5 calls 33.0s
🟢 act completes Stripe PaymentSheet 1 step · 9 calls 29.7s
🟢 act completes Apple Pay 1 step 10.8s
⏭️ act completes Apple Pay Billing Address (skipped: the CI simulator's Apple Pay sheet skips the billing-address step, so the scenario cannot be completed there)

Tested by e2e 0.24.0 · 11m 32s · ios-simulator · run artifacts

Review fixes for the twin-gone replay change:

- Look again on a refused twin only when the recorded test id named the
  control alone; a test id shared with a twin hands off at once instead of
  waiting and picking by order.
- Keep the refusal for the rest of that relocation, so a look-alike that
  renders later is not settled by the recorded point or by scrolling the
  screen.
- Find a nameless control that shares a test id when the one left shows
  the recorded text, as main does.
- Bring action-dispatcher.ts back under 1,000 lines; name e2e in the
  changeset; note the 15-second wait in the docs; cover strict mode, the
  second run's exit code, and a fresh look between two presses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
michal-e2e and others added 2 commits November 23, 2026 11:30
…rries no count mark

The twin fixture page takes `?done=1` for a lone "Done" button. One step
presses "Set up" and then "Done" from a single look; "Done" has no count,
so its recorded target must carry no `countedOnEarlierLook`. Without this
test, marking every placement taken from an earlier look survived.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@michal-e2e michal-e2e added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 23, 2026
michal-e2e and others added 2 commits November 23, 2026 18:23
A drag end recorded by its own test id stopped looking for that id as
soon as a second look-alike rendered beside the one refused, since
relocatePair judged each look on its own. It now keeps the refusal per
end, as relocate does for one target. The changeset names drags and
says scrollUntil is not covered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A nameless control known by its text and no test id: two "Preview"
  buttons counted on the strict tier took the one left, since the
  text exception meant for a shared test id applied without one.
- A drag whose source was still loading returned before judging the
  destination, so a later look picked the destination by order. Both
  ends are now judged on every look.
- A press right after scrolling to text on an engine without scrollTo
  was marked as counted on an earlier look, though the scroll read its
  last page after its last swipe; the stop now applies to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot removed the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 23, 2026
@michal-e2e michal-e2e added Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. e2e team Opened by the e2e team labels Nov 23, 2026

@michal-e2e michal-e2e 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.

Drafted by an AI agent and posted autonomously on Michal's behalf, without him reading it first.

I checked point-drag and node-drag replay at cfc8b0392 with scripted screen observations.

  • Point-drag replay can send a stale coordinate. When replay waited for one endpoint's test ID to return, the other endpoint moved on the next screen. Replay sent the old coordinate and reported success. I reproduced this while waiting for either endpoint. Resolve the endpoints together on each screen observation and dispatch the drag once both coordinates are valid on that screen. Point-drag replay
  • A node drag can lose its twin-refusal reason. When replay refused a same-named twin and later saw neither endpoint, it stopped without dragging and reported target-not-found. Preserve target-ambiguous while the refused endpoint is unresolved. If its original test ID returns, report the other endpoint as missing. Node-drag relocation

The local fixes passed the targeted replay and relocation tests, plus the core type check. GitHub still shows the reviewed commit.

@kdy1 kdy1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Note

This text was drafted with AI and posted after human approval.

  • Harnesses: T3 Code, Claude Code (coordinator and Claude reviewers), Codex (GPT reviewers)
  • AI agents: Claude Opus 5.5 (claude-opus-5-5), coordinator and reviewer, Claude Sonnet 5.5 (claude-sonnet-5-5), reviewer, GPT-6.2 Astra (gpt-6.2-astra), reviewer, GPT-6.2 Sol (gpt-6.2-sol), reviewer

Verdict: Approve with changes

This review approves the pull request with changes. Fix the P2 items before merge. The P3 items are optional and do not block the merge.

This PR stops a cache replay from acting on a same-named twin when the recorded control is gone. We ran the motivating case on the base (b6e65ae37) and on the head (cfc8b0392). Two "Set up" buttons, the recorded one removed: on the base, the --strict-cache replay taps the survivor and the test passes (exit 0). On the head, the replay stops with REPLAY_STALE and taps nothing (exit 2). This is true with and without test ids. The new relocation rules in relocateDescriptor and the read and write of the two new descriptor flags look consistent. We found one regression in drag relocation and one behavior change on a progressive render; both are listed below. We also found a pre-existing point-drag defect that this change can now trigger in a new way, and three small defects. The relocate and trace unit tests and trace-cache-twin-gone pass on the head (447 tests in 18 files).

Reviewed commit: cfc8b039202e33c959bd64251bb316e172c89ff7

  • P2 (fix before merge): 3 (3 inline)
  • P3 (non-blocking): 3 (3 inline)

Comment thread packages/core/src/agent/replay.ts Resolved
Comment thread packages/core/src/agent/replay.ts Resolved
Comment thread packages/core/src/agent/replay.ts Resolved
Comment thread docs/cache.mdx Resolved
Comment thread packages/core/src/agent/replay.ts Resolved
michal-e2e and others added 2 commits November 24, 2026 10:31
Review fixes from kdy1 on #2093:

- One of two recorded twins left now waits for the count, as two of
  three already did, and acts on the recorded place once it is back;
  it hands off after the 15 second wait. A twin that renders ahead of
  the recorded control takes its place, the same price the 2-of-3
  wait already paid.
- A drag judges its source first again, as on main, so a destination
  that is ambiguous for one look no longer ends the wait for a source
  still loading.
- A drag stops with target-ambiguous while an end refused as a twin is
  still missing, and with target-not-found once that end is back.
- A bare-point drag places both ends from the same look, so a box that
  moved while the other end loaded is read where it is now.
- The cache guide and changeset say when a count is waited for, and
  that a same-look action recorded before this change hands off once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es no page

On an engine without scrollTo, a scrollUntil whose text was already in
view returned with screens 0 and no new look, yet cleared actedFrom, so
the next action from that same look recorded its count without
countedOnEarlierLook. The mark now clears only after a real page read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot removed the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 24, 2026
@michal-e2e
michal-e2e added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit bccc638 Nov 24, 2026
41 checks passed
@michal-e2e
michal-e2e deleted the michal/cache-twin-stop branch November 24, 2026 14:50
okwasniewski pushed a commit to abhinavapasok/e2e that referenced this pull request Nov 25, 2026
…inc#2229)

- github, integrations/index, and the ci/ pages: github-actions,
  gitlab, vercel-previews, eas-workflows, bitrise, codemagic, norrix
- catch up English changes the pt pages were missing: authentication
  (e2e-inc#2131), mobile (e2e-inc#1903, e2e-inc#2192), ci (e2e-inc#2137), web (e2e-inc#2147), cache
  (e2e-inc#2093), models (e2e-inc#2146)
- ci: "step" for a CI step, as on the new pages
- README: glossary rows for the CI terms
kdy1 added a commit that referenced this pull request Nov 26, 2026
Text conflicts: the replay cache sections of docs/cache.mdx and both copies
of the skill's running.md, which main shortened, now keep main's wording
and say what this branch changed (one YAML and lock per test). The trace
page options in report/traces.ts keep main's publishedResultsRoot beside
this branch's recording file.

Semantic conflicts, so the merged tree builds and passes:

- #2093 added twinsWithoutTestId and countedOnEarlierLook to a target.
  The YAML now writes and reads both; without them readsBack failed and a
  test whose recording marked a twin was never written.
- trace-cache-twin-gone.test.ts awaits readEntries, which reads through
  the file store here.
- #2265's step-cache test spies on FileCacheStore.list, since keyHashes is
  gone; rekeyed.ts keeps #2265's reset of a failed listing only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e team Opened by the e2e team size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants