Skip to content

Lost-update timelines put selectable words inside form controls #4243

Closed

Description

@leaf-agent

Scheduled CI run 40311120380 on f919fdebec5313bfbc0e67a4d989fa76c3652bf8 records this failure on Linux, macOS.

  • tests.journeys.test_render_gate::test_page_fixture_renders[lost-update]

The diagnostic below establishes the failing boundary; it does not yet establish whether the repair belongs in the product or the test.

Deciding CI diagnostics

macOS, tests.journeys.test_render_gate::test_page_fixture_renders[lost-update]:

AssertionError: words in form controls:
  <lf-timeline id=race-before> says "0 sJob A: Reads balance: 100Balance: 100" inside a form control, where no selection can reach it
  <lf-timeline id=race-before> says "0.2 sJob A: Adds 50" inside a form control, where no selection can reach it
  <lf-timeline id=race-before> says "1 sJob B: Reads balance: 100" inside a form control, where no selection can reach it
  <lf-timeline id=race-before> says "1.2 sJob B: Subtracts 30 from the stale " inside a form control, where no selection can reach it
  <lf-timeline id=race-before> says "4.2 sJob A: Writes 150Balance: 150" inside a form control, where no selection can reach it
  <lf-timeline id=race-before> says "5.2 sJob B: Writes 70Balance: 70: A's de" inside a form control, where no selection can reach it
  <lf-timeline id=race-after> says "0 sJob A: Locks and reads: 100Balance: 1" inside a form control, where no selection can reach it
  <lf-timeline id=race-after> says "0.2 sJob A: Adds 50" inside a form control, where no selection can reach it
  <lf-timeline id=race-after> says "1 sJob B: Waits for A's lock" inside a form control, where no selection can reach it
  <lf-timeline id=race-after> says "4.2 sJob A: Writes 150, unlocksBalance: " inside a form control, where no selection can reach it
  <lf-timeline id=race-after> says "4.3 sJob B: Locks and reads: 150" inside a form control, where no selection can reach it
  <lf-timeline id=race-after> says "4.5 sJob B: Subtracts 30" inside a form control, where no selection can reach it
  <lf-timeline id=race-after> says "8.5 sJob B: Writes 120, unlocksBalance: " inside a form control, where no selection can reach it
assert {'words in fo...ach it', ...]} == {}
  
  Left contains 1 more item:
  {'words in form controls': ['<lf-timeline id=race-before> says "0 sJob A: '
                              'Reads balance: 100Balance: 100" inside a form '
                              'control, where no selection can reach it',
                              '<lf-timeline id=race-before> says "0.2 sJob A: '
                              'Adds 50" inside a form control, where no '
                              'selection can reach it',
                              '<lf-timeline id=race-before> says "1 sJob B: '
                              'Reads balance: 100" inside a form control, where '
                              'no selection can reach it',
                              '<lf-timeline id=race-before> says "1.2 sJob B: '
                              'Subtracts 30 from the stale " inside a form '
                              'control, where no selection can reach it',
                              '<lf-timeline id=race-before> says "4.2 sJob A: '
                              'Writes 150Balance: 150" inside a form control, '
                              'where no selection can reach it',
                              '<lf-timeline id=race-before> says "5.2 sJob B: '
                              'Writes 70Balance: 70: A\'s de" inside a form '
                              'control, where no selection can reach it',
                              '<lf-timeline id=race-after> says "0 sJob A: Locks '
                              'and reads: 100Balance: 1" inside a form control, '
                              'where no selection can reach it',
                              '<lf-timeline id=race-after> says "0.2 sJob A: '
                              'Adds 50" inside a form control, where no '
                              'selection can reach it',
                              '<lf-timeline id=race-after> says "1 sJob B: Waits '
                              'for A\'s lock" inside a form control, where no '
                              'selection can reach it',
                              '<lf-timeline id=race-after> says "4.2 sJob A: '
                              'Writes 150, unlocksBalance: " inside a form '
                              'control, where no selection can reach it',
                              '<lf-timeline id=race-after> says "4.3 sJob B: '
                              'Locks and reads: 150" inside a form control, '
                              'where no selection can reach it',
                              '<lf-timeline id=race-after> says "4.5 sJob B: '
                              'Subtracts 30" inside a form control, where no '
                              'selection can reach it',
                              '<lf-timeline id=race-after> says "8.5 sJob
[Remaining repetitive diagnostic omitted; full traceback is in the run artifact.]

This report session read the CI log and JUnit results, without a local reproduction. Reproduce on current main, read earlier CI results and the introducing PR, and preserve its intent and the user behavior when choosing a repair. Do not clear an intermittent failure on a passing rerun alone.

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4265 fixes this by using Leaf's selectable controls for timeline steps, while preserving click, touch, keyboard stepping and printed event text. The reported lost-update render test failed before the change and passes after it; the added selection check confirms that dragging over an event's words leaves the playhead unchanged.

    CI passed on 6f1af70fb669b695ea31c23072a12686a5358418, independent review found no issues, and all four desktop, keyboard, dark and phone visual comparisons were unchanged. Tend's landing session has taken ownership of the merge.

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