Skip to content

Keep user-view audits outside drawing style measurements - #3912

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-40161766827-drawing
Oct 25, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-40161766827-drawing

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Hold the optional user-view audit until the drawing test has measured both stroke release and preview capture. Its timer can run the page-wide layout probes inside the test's global getComputedStyle counter, producing the 40-card failure in main CI even when drawing capture stays local.

#3861 added the post-capture assertion to protect its smaller capture root, but that assertion also includes the audit work which #3786 had excluded from the earlier measurement. Holding /checks/view.js from navigation through the two measurements separates those operations without weakening either two-card bound or changing product behavior. The held audit is released afterward.

Validation: invoking the passive readViewChecks during the original measurement reproduces the same 40-card assertion. The isolated test passes normally and with 4× CPU throttling. Temporarily restoring body-rooted capture still fails its post-capture assertion with all 40 cards, confirming the regression remains covered. The separate user-view geometry test also passes.

@leaf-agent
leaf-agent merged commit 8a970a5 into main Oct 25, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-40161766827-drawing branch October 25, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant