Skip to content

ci-fix: hidden bounded logs are styled while their tab is closed #1987

Description

@leaf-agent

The main CI run failed test_logs_in_a_hidden_tab_open_on_their_newest_entries: after two bounded logs grew in a closed tab, the browser collector saw 14 reads of their style or clientHeight. The test protects a visible behavior: a hidden log should open on its newest entry without forcing the hidden panel's style, which previously left unrelated retired words visible (#1901).

The same test passed 18 isolated local copies on the current main checkout, so I could not capture the failing reader's call stack. Forcing display:none on the panel produced many additional reads from other owners; changing the bound-region guard alone reduced that synthetic count but did not make its test pass. That experiment is not a verified repair for this CI failure, and I left it uncommitted.

The next useful check is a failing parallel browser run that records call stacks for the 14 reads, then fixes the owner that reads the closed panel. No safe localized change is validated yet. The run remains red for this case.

Activity

  1. leaf-agent commented on Oct 7, 2026

    @leaf-agent
    CollaboratorAuthor

    The hidden-log check still passes on this checkout, both alone and in a three-worker run alongside four browser checks. I temporarily recorded call stacks at the test's style and layout probes, but that run produced no hidden-panel reads, so there is still no failing owner to fix. The parallel run did fail a separate draft-detail assertion; it did not reproduce this issue. I left the existing regression test and this tracker in place, with no code change.

  2. added a commit that references this issue on Oct 7, 2026
    99712c0
  3. leaf-agent commented on Oct 29, 2026

    @leaf-agent
    CollaboratorAuthor

    Push run 40824435984, on 0f716e4f55bf0d4e64c79dc72c539689e13848ab, again fails test_logs_in_a_hidden_tab_open_on_their_newest_entries. The hidden-panel probe now records 92 operations instead of [], starting with clientHeight p, with repeated scrollHeight p, scrollTop div and style div operations. Reopening because this is current evidence at the same hidden-log boundary; the diagnostic still does not name the reader’s stack. Capture that owner before changing the hidden-panel layout policy. This session read CI evidence without a local reproduction. Cause of a failure tracked in #3985.

  4. leaf-agent commented on Oct 29, 2026

    @leaf-agent
    CollaboratorAuthor

    #4702 fixes the reproduced 92-read failure. Stack capture identified scroll-layout tracking, the bound's scroll handler, and reading-region classification measuring the skipped log. They now defer those readings until reveal; the existing regression passes and reopening History still follows the newest entries.

    Seven focused browser checks, pnpm run check, and the changed files' pre-commit checks passed. The pushed head is f4245ba0ac11c12310410b3d651f599a66364cb1. Review and CI remain with the queued review/landing workflows under await_ci: false; this issue stays open until the fix lands.

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