You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(ui-kit): the artifact static-loading check still races with the file tree's loading placeholder #3340
artifact full state matrix light 1280 preserves named static loading and truthful controls checks every .bk-ghost element on the page. At 1280px the file panes also show the file tree's own "Loading files" placeholder, and it is removed as soon as the directory listing arrives. locator.evaluateAll collects the elements in one browser task and runs the check in a later one. If the tree placeholder is removed in between, its detached ghosts report an empty animationName and REDUCED_MOTION_STATIC_LOADING fails. Nothing is animating: this is a test race. It caused red-main incident #3315.
#3334, the declared fix for #3315, narrows the window with a two-frame wait. A deterministic forcing still fails on #3334's head 780f13661 (["","","","","none","none","none","none","none"]). Full evidence: #3315 (comment)
Acceptance criteria
The check reads only the file viewer's own loading area (getByRole("group", { name: "Loading file", exact: true }).locator(".bk-ghost")), with no added waits, retries or timeout changes.
The deterministic forcing fails on the current main and passes on the fix. The forcing holds the tree listing and removes the tree placeholder between the query and the check. It is temporary and not committed.
A loaded run of light 1280, with 16 busy cores and at least 80 runs, shows no REDUCED_MOTION_STATIC_LOADING.
A fix exists on branch fix/3315-artifact-static-loading (head 407f1e12b, based on c23a5811c). It lands as an ordinary PR after #3315 clears.
Activity
fix(ui-react): scope the artifact static-loading check to the file's …
schlessera commentedon Nov 3, 2026
Blocker #3401 closed: its fix, #3433, merged to main as
adf371ffa. Removingblocked. PR #3341 is queued for confirmation against the new main.fix(ui-react): scope the artifact static-loading check to the file's …