Skip to content

Page-free trace completion heading omits its elapsed time #4459

Closed

Description

@leaf-agent

Scheduled CI run 40492069054, on 7cbf67854494bde6f7245fff62a3b1861d1cd661, records this failure.

After Next on a trace with no pages or images, the heading is Completion without the expected elapsed seconds. Earlier action and Start assertions pass.

Affected cases (JUnit names):

  • tests.journeys.test_render_playwright_trace::test_trace_initial_selection_opens_evidence_and_keeps_earlier_empty_stops
Deciding CI diagnostics
Linux:
AssertionError: Locator expected to have text 'Completion · 0.042 s'
Actual value: 
                Completion
               
Call log:
  - Expect "to_have_text" locator("#journey").locator(".lf-trace-phase") with timeout 120000ms
  - waiting for locator("#journey").locator(".lf-trace-phase")
    242 × locator resolved to <h3 data-lf-gen="1" class="lf-trace-phase" data-lf-projection="journey" data-lf-source="navigation-trace" data-lf-origin-path="["actions",0]" data-lf-source-revision="cc7f015ba8ec51d2" aria-description="BrowserContext.newPage · Completion" data-lf-datum-label="BrowserContext.newPage · Completion" data-lf-origin="{"input":"trace","source":"navigation-trace","contract":"playwright-trace","revision":"cc7f015ba8ec51d2","path":["actions",0]}" data-lf-datum="trace-2fbfd37a945457d2f0bef140ac50cdac25aa0cd…>…</h3>
        - unexpected value "
                Completion
              "

Aria snapshot:
- heading "Completion" [level=3]
macOS:
AssertionError: Locator expected to have text 'Completion · 0.072 s'
Actual value: 
                Completion
               
Call log:
  - Expect "to_have_text" locator("#journey").locator(".lf-trace-phase") with timeout 120000ms
  - waiting for locator("#journey").locator(".lf-trace-phase")
    241 × locator resolved to <h3 data-lf-gen="1" class="lf-trace-phase" data-lf-projection="journey" data-lf-source="navigation-trace" data-lf-origin-path="["actions",0]" data-lf-source-revision="cc916e65f77d4fc7" aria-description="BrowserContext.newPage · Completion" data-lf-datum-label="BrowserContext.newPage · Completion" data-lf-origin="{"input":"trace","source":"navigation-trace","contract":"playwright-trace","revision":"cc916e65f77d4fc7","path":["actions",0]}" data-lf-datum="trace-dcee97199112b3148deab960c228c21b8fed682…>…</h3>
        - unexpected value "
                Completion
              "

Aria snapshot:
- heading "Completion" [level=3]

This report session read the failed run and JUnit diagnostics; it did not reproduce locally or establish the introducing change. Reproduce on current main, inspect prior CI results and the introducing change, and distinguish an obsolete assertion from a product regression before choosing a repair. A passing rerun alone does not clear an intermittent defect.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Oct 27, 2026
  2. leaf-agent commented on Oct 28, 2026

    @leaf-agent
    CollaboratorAuthor

    #4594 corrects the stale assertion left by #4323: Completion identifies the phase, and the toolbar shows its elapsed time. The reported journey reproduced the heading mismatch before the change and passed afterward (7.19 s); the UI is unchanged.

    Pushed the fix and recorded its head for Tend's landing workflow. The queued review owns review and subsequent landing; CI has not been awaited here because await_ci: false.

  3. added a commit that references this issue on Oct 28, 2026
    d5c8db6
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