Skip to content

Contents interface reconciliation grows less than the fixture expects #5164

Closed

Description

@leaf-agent

The first painted interface is visible and measures 275.125, from authored span 139.1875; the assertion demands growth greater than 200. Determine what semantic readiness guarantee the fixture should protect instead of retaining an arbitrary growth threshold.

Evidence: push run 41576718956.

  • tests/browser/widgets/test_contents_and_glosses.py::test_generated_page_interface_reconciles_before_semantic_interaction

AssertionError: (139.1875, {'visible': True, 'span': 275.125, 'actual': 275.125})

>       assert first_paint["actual"] > authored_span + 200, (
E       AssertionError: (139.1875, {'visible': True, 'span': 275.125, 'actual': 275.125})
E       assert 275.125 > (139.1875 + 200)

This report triage has not run a local reproduction or established the cause. Reconcile current main, existing repairs and active workers, reproduce the focused boundary, then repair the owner of the rule. Split independent mechanisms if the grouped observations require different fixes. The complete failed log and pytest-results artifact on each run retain the traceback and screenshots.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Fixed by #5210, now merged. The threshold went stale when #4872 started reading drafts as Markdown. The fixture's sixteen lines are joined by single newlines, so they now render as one wrapped paragraph, and replay grows the section by 136px instead of 200+. The test passes on #4872's parent and fails at #4872 with the numbers CI reports.

    The guarantee the test protects is unchanged: the first presented contents span matches the live geometry (span ≈ actual within 1px), not the stale authored span. The growth assertion was only a positive control for that check. It now requires the replayed geometry to differ from the authored span by more than the 1px tolerance, which is all the check needs to tell a stale span from a fresh one. The PR's CI went green on its head before tend-land merged it.

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