Repository navigation
test(e2e): UC-B09 collapse seed survives teardown persist race - #854
Merged
Merged
Conversation
The outgoing panel document can flush its in-memory chrome state during reload teardown and overwrite the seeded control-panel.json before the new document reads it (results-final-205730 UC-B09: re-seeded collapsed survived as expanded; isolated repro failed at toggle mount). Seed, reload, and verify the file converged to the seeded value; retry once on clobber. Also use the fresh panel handle after the second reload. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
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.
概要
Closes #853
results-final-205730/workspaceUC-B09:re-seeded collapsed state survives reload: expanded。単独再現 (diag-b09) ではcollapsed control panel mounts expand toggle: false— seed 直後の reload で collapsed が適用されない順序依存フレーク。原因
旧 document が reload teardown 中に in-memory chrome state を flush persist → seed を上書き → 新 document が expanded で起動。UC-E01 restore race(#845)と同クラス。
変更
seedCollapsedAndReloadhelper: seed → reload →waitFileCollapsedでファイル収束確認、clobber 時は1回だけ再試行reseeded)で DOM 検証ファイルが seed 値を保持しない真の製品不具合(read path が collapsed を適用しない等)は引き続き FAIL になる。
検証
bun run typecheck/bunx biome checkcleanGenerated with Devin