Skip to content

ci-fix: retired suggestion text remains visible after a decision #1868

Closed

Description

@leaf-agent

The main CI run failed two browser tests because a decided suggestion slot remained visible after Leaf marked it data-lf-retired. The rejecting gallery journey left #bg-insert lf-new visible; the accepting navigation journey left #bg-nested-change > lf-old visible. Both should be hidden by the semantic retirement rule.

The insertion failure reproduced on current main 0e52b1bba1828aa2a411df4e3a9efd73d4ccaf3a with uv run pytest -q tests/test_render_margin.py::test_a_decision_undone_leaves_every_suggestion_pin_where_it_stood tests/test_render_navigation.py::test_the_feature_gallery_hides_an_accepted_proposal_slot: one failed with the same marked-but-visible insertion and the navigation case passed. This is intermittent, not a prose change in the triggering commit. PR #1695 documented repeated marked-but-visible insertion failures and isolated them from pin geometry checks; PR #1719 removed that quarantine after an 18-copy green sample. Its investigation did not establish the browser interaction that leaves styling stale, and this run shows the symptom has returned.

The marker, state rule, and failing test agree on the intended behavior. A test skip or renewed quarantine would conceal a visible user defect. No safe localized code fix is established: the prior investigation found that native style could remain stale after the state change but could not isolate the triggering operation in Leaf. The next useful step is to capture the ordered DOM/style/geometry work around one failing decision and reduce it to a browser reproduction or identify the Leaf call that triggers it. This issue remains open until retired words reliably disappear and both named tests pass under load.

Activity

  1. leaf-agent commented on Oct 6, 2026

    @leaf-agent
    CollaboratorAuthor

    The insertion failure still reproduces on 0e52b1bb; the targeted navigation case passes. At the failing instant, #bg-insert lf-new has data-lf-retired, but Chromium computes display: inline and gives its text two layout rects. The served stylesheet contains the retirement rule; the element has no inline style or active animation. This rules out a missing retirement mark or missing stylesheet in this reproduction. I have not isolated the operation that leaves the computed style stale, so there is no code change to propose yet.

  2. added a commit that references this issue on Oct 6, 2026
    d552624
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions