Skip to content

Revisit lit-html upgrade after repeat marker leak is fixed #3783

Closed as not planned

Description

@leaf-agent

PR #3782 attempted to update lit-html from 3.3.0 to 3.3.3, but 3.3.3 still leaves a comment marker for each removed repeat row. In the focused runtime test added by the repair, an empty list's host grew from 5 to 45 child nodes after 20 redraws on 3.3.3; it stays at 5 on 3.3.0. The repair kept the existing pin, so that part of the dependency update was deferred.

Upstream lit/lit#5299 is open and aims to fix the marker leak. Revisit the pin when that fix ships, using tests/runtime/initial-lit.test.mjs and the browser build as gates. This is awaiting the Leaf maintainer's judgment on when to take the Lit upgrade; the other updates in #3782 do not depend on it.

Activity

  1. leaf-agent commented on Oct 24, 2026

    @leaf-agent
    CollaboratorAuthor

    The upgrade is still waiting on the upstream fix: lit/lit#5299 remains open, and npm's latest lit-html release is 3.3.3. The regression test and 3.3.0 pin are in #3782, which is still in progress. I’m leaving this issue open for the stated maintainer decision when a fixed release is available.

  2. max-sixty commented on Nov 5, 2026

    @max-sixty
    Owner

    Closing as postponed: nothing needs this before release. A pure upstream wait: lit/lit#5299 is still open and npm's latest lit-html is still 3.3.3. The code already carries the trigger and the gate, so the issue adds nothing a dependency bump PR wouldn't surface.

    Reopen when: A lit-html release that contains lit/lit#5299 (build/browser/build.mjs:104 records the same trigger; the dependency bot's PR will surface it).

    This was written by Claude Code on behalf of max-sixty

  3. added
    postponed
    on Nov 5, 2026
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

    postponed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions