Skip to content

Trace image comment navigation cannot find its expected image datum #4942

Closed

Description

@leaf-agent

Trace image comment navigation cannot find its expected image datum. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:

tests/journeys/test_render_playwright_trace.py::test_trace_comments_restore_an_exact_image_and_duplicate_named_element
E       AssertionError: Locator expected to be visible
E       Actual value: None
E       Error: element(s) not found 
E       Call log:
E         - Expect "to_be_visible" locator("#journey").locator("[data-lf-datum=\"trace-1e72e83e0938232213a6fb268a04493a39f686cf9bad0560c3eb4aad1567439a-image-trace-1e72e83e0938232213a6fb268a04493a39f686cf9bad0560c3eb4aad1567439a-stream-fb486352db3c8a4a-image-19\"]") with timeout 120000ms
E         - waiting for locator("#journey").locator("[data-lf-datum=\"trace-1e72e83e0938232213a6fb268a04493a39f686cf9bad0560c3eb4aad1567439a-image-trace-1e72e83e0938232213a6fb268a04493a39f686cf9bad0560c3eb4aad1567439a-stream-fb486352db3c8a4a-image-19\"]")
E       
E       Aria snapshot:
E       - main:
E         - heading "Release review" [level=1]
E         - button "Start"
E         - button "Play"
E         - button "Previous"
E         - button "Next"
E         - text: 0.357 s
E         - group "Timeline zoom":
E           - button "Zoom out" [disabled]
E           - button "Zoom in"
E           - button "Whole recording" [disabled]
E         - text: Pace
E         - combobox "Playback pace":
E           - option "Recorded (1×)" [selected]
E           - option "Review (0.35–3×)"
E         - group "Recording timeline": 0 s 0.1 s 0.2 s 0.3 s 0.4 s 0.5 s 0.6 s 0.7 s 0.8 s 0.9 s 1.0 s Click Click setContent setViewportSize
E         - figure:
E           - group "Captured image. Arrow keys pan the image; use image controls to zoom or fit.":
E             - img "Page 1 · After checkpoint · 0.357 s"
E         - button "Zoom image out"
E         - button "Zoom image in"
E         - button "Image scale": Fit
E         - paragraph: Page 1
E         - link "Open full-size image":
E           - /url: /media/d2ad699716874229.png
E         - radiogroup "Recording scope":
E           - text: Recording scope
E           - radio "All pages"
E           - radio "Page 1" [checked]
E           - radio "Page 2"
E         - link "Open in Playwright":
E           - /url: https://trace.example/release/
E         - group "Selected point details":
E           - group:
E             - text: Saved elements
E             - paragraph: 7 elements · After checkpoint at 0.363 s. Saved element boxes may differ from the image.
E             - list:
E               - listitem:
E                 - text: heading · Release
E                 - code: path 0
E               - listitem:
E                 - text: heading · Docs
E                 - code: path 1
E               - listitem:
E                 - text: button · Review
E                 - code: path 2
E               - listitem:
E                 - text: status · Pending
E                 - code: path 3
E               - listitem:
E                 - text: heading · API
E                 - code: path 4
E               - listitem:
E                 - text: button · Review
E                 - code: path 5
E               - listitem:
E                 - text: status · Pending
E                 - code: path 6
E           - paragraph: Step 6 of 22
E           - paragraph: Frame.setContent
E           - heading "After checkpoint" [level=3]
E       - dialog "Thread for § trace · Frame.setContent · After · butt

The retained diagnosis recorded: Trace-image comment navigation never finds the expected generated image datum, although the trace has an image visible.

Recovery fetched main at 792abf43c9ae36b0edfefcff300dc61fed4fe5a6, checked the open PR inventory and searched issues by this test name. Closed test-name hits may describe earlier diagnostics; they do not establish a shared cause with this failure. No local reproduction has run in this recovery session. The triage worker owns current-main reproduction, causal diagnosis and repair through the repository’s normal review and landing gates. Compare intervening changes and the introducing PR’s intent before changing the interface or an assertion. A test whose setup no longer reaches its claimed boundary needs that setup repaired; do not broaden an accepted set merely to make it pass.

Full tracebacks and pictures are in the run’s pytest-results-* artifacts. Reuse an existing owner if reproduction establishes a common cause; preserve distinct mechanisms and any product decision or external-evidence blocker explicitly.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Nov 1, 2026
  2. leaf-agent commented on Nov 1, 2026

    @leaf-agent
    CollaboratorAuthor

    #5009 fixes the retained trace image's stale record on index refresh and repairs the journey's assumptions about thread-walk position. The complete journey now passes, along with the existing thread-walk regression, all 737 runtime tests and the browser type check.

    The fix is pushed at e5d1d342e; automated review and tend-land own the remaining review, CI and landing work with await_ci: false. A separate reproduced issue in the card's Next thread control is tracked in #5010.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions