Skip to content

Published workspace readiness calls getComputedStyle on a missing region #4827

Closed

Description

@leaf-agent

The published-page journey stops in WORKSPACE_REGIONS_SCROLL_ALONE before checking independent scrolling. Identify the absent queried region on code-comparison and reconcile the predicate with the current workspace contract. Preserve live published-page coverage.

Observed in scheduled run 41043755219 at ad253a23bbe07de11cef86bf784dbe5519d21593. This is CI evidence, without current-main reproduction or an established introducing commit. Establish both before selecting a repair; preserve the introducing change’s intended interface.

tests.journeys.test_site::test_every_published_page_stands_as_a_live_page@site (macos)

playwright._impl._errors.Error: Page.wait_for_function: TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
    at eval (eval at predicate (eval at evaluate (:370:30)), <anonymous>:13:32)
    at Array.every (<anonymous>)
    at eval (eval at predicate (eval at evaluate (:370:30)), <anonymous>:13:16)
    at predicate (eval at evaluate (:370:30), <anonymous>:13:29)
    at next (eval at evaluate (:370:30), <anonymous>:29:33)
    at eval (eval at evaluate (:370:30), <anonymous>:42:13)
    at UtilityScript.evaluate (<anonymous>:372:16)
    at UtilityScript.<anonymous> (<anonymous>:1:44)

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Opened #4839 with the repair. #4274 intentionally made the playground instruction pane a footer-only action bar; the published-page predicate still looked for a non-header/footer body and called getComputedStyle(undefined) on code-comparison.

    The test now checks registered visible reading regions and their effective scrollers, preserving the compact bar, bounded workspace scrolling and the full live published-page sweep. That sweep reproduced the original failure and passes with the fix; a focused browser control also confirms that disabling the scrollers makes the new predicate fail.

    Pushed as 1ccd96c8c. The queued review and Tend landing workflow own PR CI verification and landing; this session does not wait for CI under await_ci: false.

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