Skip to content

test(e2e): UC-B09 collapse seed survives teardown persist race - #854

Merged
rebuildup merged 1 commit into
release-0-14-0from
853
Nov 29, 2026
Merged

rebuildup merged 1 commit into
release-0-14-0from
853

Conversation

@rebuildup

Copy link
Copy Markdown
Contributor

概要

Closes #853

results-final-205730/workspace UC-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)と同クラス。

変更

  • seedCollapsedAndReload helper: seed → reload → waitFileCollapsed でファイル収束確認、clobber 時は1回だけ再試行
  • 2回目の seed+reload 後は新しい panel handle(reseeded)で DOM 検証

ファイルが seed 値を保持しない真の製品不具合(read path が collapsed を適用しない等)は引き続き FAIL になる。

検証

  • bun run typecheck / bunx biome check clean
  • 実機再検証は devnode で UC-B09 単独再実行予定

Generated with Devin

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>
@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 34b2b3a1-5e2f-4a3b-86db-e9d476a69f86

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
23b1aac 2026-11-29T12:35:26.413Z View logs ↗

@rebuildup
rebuildup merged commit de1b027 into release-0-14-0 Nov 29, 2026
12 of 13 checks passed
@rebuildup
rebuildup deleted the 853 branch November 29, 2026 13:00
@rebuildup
rebuildup restored the 853 branch November 30, 2026 01:52
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