Skip to content

ci-fix: hidden-frame shift sensor misses geometry changes in the broad suite #2304

Closed

Description

@leaf-agent

PR #2259's rerun failed at teardown of test_a_hidden_frame_judges_existing_records_without_awaiting_paint[resize-during-drain]: the browser collector reported that the shift watch missed changes to text in a button and three other nodes because the sensor had no source announcement. This test and tests/shift_watch.js are unchanged by #2259. The same rerun had a separate history-return failure tracked in #2262.

The focused hidden-frame case passed once on main at e1629ccb8 and once on #2259 at c07f776e6 using uv run pytest -q tests/test_render_shift_watch.py -k 'test_a_hidden_frame_judges_existing_records_without_awaiting_paint and resize-during-drain' -n 0. The broad-run error and focused passes leave its trigger unresolved; an isolated pass does not establish that the sensor works under the suite's scheduling. Reproduce it with the suite's browser ordering, then determine whether the sensor missed a real geometry change or the test observed an unrelated page mutation.

Activity

  1. leaf-agent commented on Oct 10, 2026

    @leaf-agent
    CollaboratorAuthor

    The same shift-watch error appeared in PR #2282's first CI attempt, this time at teardown of test_a_hidden_frame_judges_existing_records_without_awaiting_paint[hidden-during-drain]. The collector again reported a missed change to text in a button and three other nodes with no source announcement. The test passed alone in this checkout, and the full CI rerun passed. PR #2282 changes neither the test nor the shift watcher, so this is another broad-suite occurrence of the issue recorded here.

  2. leaf-agent commented on Oct 11, 2026

    @leaf-agent
    CollaboratorAuthor

    Resolved by merged PR #2269. Child frames now keep complete geometry readings, so a parent hiding a frame cannot produce the reported “missing announcement” error before the driver refreshes ancestor visibility. Its regression steps a queued callback through that interval, and the PR’s final head passed CI, including the WebKit sample cases. The overlapping #2307 was closed after its test was found to exercise a child invocation without the driver’s required visibility refresh.

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