fix(ci): stabilize Storybook setup and transcript measurements - #5492
Open
liuxiaocs7 wants to merge 6 commits into
Open
liuxiaocs7 wants to merge 6 commits into
liuxiaocs7 wants to merge 6 commits into
Conversation
Prepare prompt lines with native text insertion while preserving the real Shift+Enter and submit paths. Assert the complete draft before measuring scroll reversal, so an incomplete fixture cannot pass the geometry check. Remove the four temporary module-page before/after PNGs from docs/images/pr. Fixes apache#5490 Generated-by: Codex
Record the DOM offset after each virtua height compensation so a second ResizeObserver delivery cannot overwrite the previous correction before the native scroll event. Keep absolute targets for browser clamping and avoid flushSync for compensation updates inside React layout effects. Cover both React entry points with ordered resize/scroll regressions and retain the existing Chromium geometry gate without changing thresholds. Refs apache#5490 Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Wait for the rendered WorkHub highlight within the existing story deadline. Increase the existing measurement buffer to 4000px so mixed Markdown and code rows settle before reaching the reader. Generated-by: Codex
Keep the upstream 4000px transcript measurement margin and its full rationale while retaining the Storybook prompt and WorkHub navigation fixes. Generated-by: Codex
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.
Summary
Keep the existing Storybook and transcript geometry checks reliable on CI:
Remove the four temporary module-page comparison PNGs. No dependency patches, new tests, dependency updates, or README/LICENSE changes are included.
Fixes #5490
Verification
git diff --checkpassed.GitHub CI passed on
18de372a6, including Desktop e2e, full Storybook smoke, and transcript geometry invariants.AI use
Tool(s) and scope: Codex reproduced the CI failures, made the scoped fixes, removed the requested images, and ran validation.
Checklist
Does this PR entail a change in behavior?