Skip to content

Threads list teardown reports a passive panel movement #4448

Closed

Description

@leaf-agent

Push CI run 40503090888, on 7edb75c0fb1007dcd56e5b651a0c5e539da59364, records this failure.

Affected cases:

  • tests/browser/test_render_floating_panel.py::test_each_view_s_list_is_one_tab_stop_its_keys_walk

The test body passes, then teardown reports the minimize button moving downward 2.35089111328125px, from y=830.6491088867188 to y=833. The same frame moves the panel card, row and away dot. Both scroll credit and animation credit are zero. This is a position finding, distinct from #3991’s clipping diagnostic. Establish whether entrance motion or layout owns it.

This report session read the CI diagnostic; it did not reproduce locally or establish the introducing change. Reproduce on current main and read the introducing change’s intent before choosing a repair. Consolidate with another cause only when reproduction establishes a shared mechanism.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    This remains unresolved. The focused test passes on 7edb75c0fb1007dcd56e5b651a0c5e539da59364 (still main's tip), normally and with Chromium CPU slowed at 6×, 10× and 20×. These passes do not clear the intermittent CI finding, and I made no code change without a failing reproduction.

    The preceding run, 40494038541 on b45b8e143b6747b3a5131b895d1878a3c53fe577, also records this exact test passing in its JUnit artifact. The failure's screenshot shows the final Threads list with its second row focused; it cannot distinguish an incorrect layout change from incorrectly accounted animation. I have not established an introducing commit or a shared mechanism with #4230, so the causes remain separate.

    Focused reproduction
    uv run pytest tests/browser/test_render_floating_panel.py::test_each_view_s_list_is_one_tab_stop_its_keys_walk -q -n0
    # Also run separately with --cpu-throttle 6, --cpu-throttle 10 and --cpu-throttle 20.

    All four executions passed, including browser-health teardown. I read the failing run's geometry diagnostic and screenshot, the preceding run's JUnit result, and #4330's motion diff; none establishes the cause of this movement.

    @max-sixty, the remaining blocker is a failing reproduction that captures the panel's active animations alongside the watch's geometry samples. That evidence is needed before deciding whether box motion or the watch needs repair; the passing runs do not justify weakening the stability check.

  3. leaf-agent commented on Oct 28, 2026

    @leaf-agent
    CollaboratorAuthor

    The recorded geometry is reachable during the panel's translation: a temporary frame recorder on current main captured the minimize button at y=830.6631469726562 with computed translate: 0px -2.33687px, while its --lf-box-carry animation was at progress 0.994724890839477. The next recorded pose was y=832.9988403320312 with the same animation nearly complete. This closely matches the original y=830.6491 → 833 comparison, but the instrumented run passed, so it does not establish why the failing watch comparison lost credit or justify a fix.

    The issue remains unresolved and Tend-owned; no maintainer action is needed. The outstanding diagnostic is the ownership and retained animation samples for this final translation interval in a failing run. A passing panel animation alone cannot distinguish a missing owned effect, a missing endpoint reading, or an independent layout move.

    Current verification and diagnostic recipe

    At 781de5ee1, the unmodified focused case passed with --cpu-throttle 2, 6 and 20. Temporary instrumentation also passed normally and at 10; it was removed, leaving the checkout clean. The normal-speed recording supplied the translation values above. The watch file is unchanged between the original failing commit and this checkout.

    The focused command is:

    uv run pytest tests/browser/test_render_floating_panel.py::test_each_view_s_list_is_one_tab_stop_its_keys_walk -q -n0 --cpu-throttle 2

    For the next capture, record .lf-fp-minimize.getBoundingClientRect().y alongside each native effect's target, keyframes, computed timing progress, computed translate and inline translate binding on animation frames. The normal-speed capture reached the small fractional endpoint interval that the heavily throttled capture skipped. To establish the cause, pair that interval with the watch's rendering.own, frame motion membership and animated readings at the deciding comparison; the original CI diagnostic retains none of those rejected-credit inputs. #4497's native-anchor rollback reproduction does not establish this direct translation's cause.

  4. leaf-agent commented on Oct 29, 2026

    @leaf-agent
    CollaboratorAuthor

    The missing diagnostic capture is now available on main: #4612 retains relevant gesture animations, their selection for credit, and sampled property values at both comparison endpoints. The next failing comparison should therefore distinguish an omitted animation from missing endpoint values without temporary instrumentation.

    The original cause remains unresolved. At cf15e6231, the exact reported test passed nine normal-speed executions, including browser-health teardown. The same test also passes in push run 40833812834 on b04b5d9230b04d474ae0dc4ecfd02ee80767a803; that run fails elsewhere. These passes do not clear the intermittent movement, and I made no code change.

    Tend retains ownership. The next engineering step is to inspect the failing comparison's animations entries (selected, before, after) alongside its accepted animation terms. Until that comparison is captured, neither a product-motion repair nor a change to credit admission has supporting evidence.

  5. leaf-agent commented on Oct 31, 2026

    @leaf-agent
    CollaboratorAuthor

    The new failing comparison supplies the animation endpoint evidence this thread was waiting for. Run 41156218565 records:

    The minimize button moves from y=830.6174926757812 to 833px. The translate effect is selected, its before value is 0px -2.38252px, and its after values are empty. Animation credit and accepted animation terms are zero. This narrows the next investigation to endpoint retention/credit; it does not itself establish the repair.

    First failing comparison
    {
      "before": {
        "at": 1562.1000000000931,
        "rect": {
          "x": 859,
          "y": 830.6174926757812,
          "width": 20,
          "height": 20,
          "top": 830.6174926757812,
          "right": 879,
          "bottom": 850.6174926757812,
          "left": 859
        },
        "layout": {
          "left": 859,
          "top": 830.6174926757812
        }
      },
      "after": {
        "at": 1608.8999999999069,
        "rect": {
          "x": 859,
          "y": 833,
          "width": 20,
          "height": 20,
          "top": 833,
          "right": 879,
          "bottom": 853,
          "left": 859
        },
        "layout": {
          "left": 859,
          "top": 833
        }
      },
      "observed": {
        "left": 0,
        "top": 2.38250732421875
      },
      "scroll_credit": {
        "left": 0,
        "top": 0
      },
      "animation_credit": {
        "left": 0,
        "top": 0
      },
      "residual": {
        "left": 0,
        "top": 2.38250732421875
      },
      "scroll_terms": [],
      "animation_terms": [],
      "animations": [
        {
          "target": [
            "button.lf-mark-action.lf-corner-mark.lf-fp-minimize.lf-ui.lf-ui-face"
          ],
          "selected": true,
          "properties": [
            "translate"
          ],
          "before": {
            "at": 1562.1000000000931,
            "values": {
              "translate": "0px -2.38252px"
            }
          },
          "after": {
            "at": 1608.8999999999069,
            "values": {}
          }
        }
      ]
    }

    No local reproduction or repair in this report session; Tend retains the engineering work here.

  6. leaf-agent commented on Oct 31, 2026

    @leaf-agent
    CollaboratorAuthor

    #4830 repairs a reproducible endpoint-credit defect: cleanup can remove a completed animation's temporary translate binding, changing the computed value from 0px to none. The watch compared those strings and discarded the return endpoint despite their identical displacement. It now compares parsed translations, while still reporting independent child motion and changes to the underlying translation.

    The clean regression fails on the original watch and passes with the fix. All 23 selected checks pass with every frame verified, including the reported floating-panel case and the animation-credit controls.

    This issue stays open: the original panel case also passed before the repair, so the synthetic reproduction does not prove that this was the sole reason for its empty endpoint. Tend retains that verification work. The next step is to compare any subsequent failing panel diagnostic against the repaired endpoint check. Review and CI for #4830 remain with the queued review and landing workflows; this session recorded its push for that handoff, with CI waiting disabled as requested.

  7. leaf-agent commented on Nov 2, 2026

    @leaf-agent
    CollaboratorAuthor

    #4830 has merged. The reported panel test also passes in push run 41395985405, but the connection between its repair and this intermittent failure remains unproven.

    A new controlled experiment exercised the real panel rather than the synthetic translation fixture: in the reported keyboard test, I held animations before opening Threads, sought the active effects to 98% with linear easing, painted two frames, then finished them through the existing finish_held helper. The minimize button had computed translation 0px 2.28px before finishing. With every watch frame verified, this passed both with the repaired comparison and with the old string comparison restored. Thus holding a small remaining displacement and finishing normally does not reproduce the missing endpoint; it does not justify closing this issue.

    Temporary instrumentation is removed. On checkout 5daa30285, the unmodified panel case and the six direct custom-property translation cases pass (7 checks). No code change or new PR was made.

    The remaining engineering question is which cleanup ordering caused the real panel's selected animation to retain an empty return endpoint. The next discriminating capture needs the origin translation, inline binding and finish/cancel ordering alongside the retained endpoints; the earlier diagnostic records the empty endpoint but not those rejection inputs. Tend retains this investigation; no maintainer decision is needed.

  8. max-sixty commented on Nov 5, 2026

    @max-sixty
    Owner

    Closing as done. The failing comparison showed exactly the defect #4830 repaired: a selected translate effect whose return endpoint was discarded because '0px' and 'none' compared unequal. The test has passed on every run since #4830 landed. The reporting session couldn't prove #4830 was the sole cause, so reopen on recurrence.

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

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