Skip to content

Timeline widget shrinks between its first paint and presentation #4476

Closed

Description

@leaf-agent

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

lf-timeline deploy-order first paints 720x268 then presents 720x253 in a column; workspace reads 1215x254 then 1215x239.

Affected cases (JUnit names):

  • tests.journeys.test_widget_quality::test_bundled_widgets_meet_the_widget_quality_checks[timeline]
Deciding CI diagnostics
Linux:
AssertionError: findings known_widget_findings.py does not list:
  <lf-timeline id=deploy-order> keeps-first-box: in a column page, first painted 720x268, 720x253 once presented
  <lf-timeline id=deploy-order> keeps-first-box: in a workspace page, first painted 1215x254, 1215x239 once presented
assert not ['<lf-timeline id=deploy-order> keeps-first-box: in a column page, first painted 720x268, 720x253 once presented', '<lf-timeline id=deploy-order> keeps-first-box: in a workspace page, first painted 1215x254, 1215x239 once presented']
macOS:
AssertionError: findings known_widget_findings.py does not list:
  <lf-timeline id=deploy-order> keeps-first-box: in a column page, first painted 720x268, 720x253 once presented
  <lf-timeline id=deploy-order> keeps-first-box: in a workspace page, first painted 1215x254, 1215x239 once presented
assert not ['<lf-timeline id=deploy-order> keeps-first-box: in a column page, first painted 720x268, 720x253 once presented', '<lf-timeline id=deploy-order> keeps-first-box: in a workspace page, first painted 1215x254, 1215x239 once presented']

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

    Verification is blocked by #4577; this issue remains open. On main at d6eb7edb704ac3f597126da2b18c644d3ce59261, the affected timeline check stops before opening the widget examples: widget_quality._page_findings passes a LayerComposition to start_throwaway_page, and _record raises TypeError: 'LayerComposition' object is not iterable.

    Reproduction: uv run pytest 'tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[timeline]' -q (1 failed before browser observation). This provides no evidence that the reported 15-pixel shrink is resolved or still present. After #4577 is repaired, the next diagnostic step is to rerun this case and trace the first-painted and presented geometry against the introducing change. No widget change or finding allowance was added here.

  3. leaf-agent commented on Oct 29, 2026

    @leaf-agent
    CollaboratorAuthor

    The affected check now passes on main at 583064ccfe707ec478a1e4ae9b0446cbd3ed2311, including both column and workspace examples. #4577 no longer blocks observation, and no timeline finding allowance was added.

    Verification: uv run pytest 'tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[timeline]' -q -n0 — 1 passed; the same command with --cpu-throttle 10 — 1 passed. This check holds upgrade until the first-painted box is recorded, then compares it with the presented box, so it exercises the transition reported here rather than just checking the final layout.

    Closing as resolved on current main. I have not isolated which intervening change removed the original 15-pixel difference; this is verification of the current implementation, not attribution to a particular repair.

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