Repository navigation
test(ui): include moved elements in Systems layout failures - #193792
Merged
Merged
Conversation
Retain node paths, before/after rectangles, timestamps and recent-input attribution for each layout-shift entry without changing the zero-shift assertion. Add native browser proof for the diagnostic.\n\nThe intermittent scheduled-CI shift remains unconfirmed locally; delayed webfonts can reproduce a small shift in the header link and Backup details button. Allocate 108 test/helper lines for actionable failure evidence.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 6, 2026
…#193792) * test(ui): report Systems layout shift sources Retain node paths, before/after rectangles, timestamps and recent-input attribution for each layout-shift entry without changing the zero-shift assertion. Add native browser proof for the diagnostic.\n\nThe intermittent scheduled-CI shift remains unconfirmed locally; delayed webfonts can reproduce a small shift in the header link and Backup details button. Allocate 108 test/helper lines for actionable failure evidence. * test(ui): preserve the cold Systems scenario order
This was referenced Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Scheduled CI reports a tiny nonzero Systems layout shift without naming the element that moved. This is the diagnostic stage of the maintainer-requested HF-SYSTEMS-SMALL-SHIFT investigation, following #193426.
User Impact
No production rendering change. Systems layout assertions still require exactly zero unexpected shift; failures now include every entry's node path, previous/current rectangle, timestamp, value, and recent-input attribution.
Why This Change Was Made
The shared test helper snapshots source details when the observer delivers an entry, and drains queued records before reading. A small browser contract test deliberately moves one element to verify the reported source and geometry. It runs after the existing scenarios so the original cold-start case remains first.
The historical CI cause is still unconfirmed. Run 42121402635 actually failed the 400 px / one disk / backups off case at 0.0002235138888888889, so investigation is not limited to four disks. The original scenarios remained green under CPU throttling and neighboring-suite load. Deliberately delaying webfonts beyond the recent-input window does produce a separate 0.00009049623842592592 shift: the header help-link text changes width and the Backup details button moves 3.765625 px. That is a candidate mechanism, not proof of the historical failure, and does not justify a speculative font or layout change.
Evidence
pnpm tsgo:uigit diff --checksystems-workspace.e2e.test.ts, one worker, production bundleThe focused runner reused one lane-owned production bundle with the repository's browser/global fixtures; local investigation used only headless browsers and synthetic Gateway data. A shared 32-logical-CPU macOS host had load averages around 14–17. Full-shard/Linux reproduction remains unproven. No remote leases were acquired.
Production LOC: unchanged. Test/helper LOC: 696 → 803 (+107); allocation metadata: +2 lines. No startup import, asset, CSS, tag, route, or selector changed, so startup bytes and screenshot comparison are not applicable to this diagnostic-only PR.