Skip to content

test(e2e): fix harness false-FAILs from release-0-14-0 Windows verification (#860) - #861

Open
rebuildup wants to merge 5 commits into
release-0-14-0from
860
Open

rebuildup wants to merge 5 commits into
release-0-14-0from
860

Conversation

@rebuildup

Copy link
Copy Markdown
Contributor

Summary

Closes #860. release-0-14-0 包括 e2e 検証(devnode Windows, results-verify-a765a6e-005844 / results-verify-rerun-a765a6e-013633)で残った harness 起因の FAIL を修正。プロダクト変更は tutorial bubble への data-tutorial-bubble 属性付与のみ。

  • UC-C14: no blocking modal over panel が dialog[open] を広く拾い、非モーダルの widget tutorial bubble(scrim は pointerEvents:none)を blocking modal と誤検出していた。fresh sandbox profile では tutorial が必ず出るため deterministic FAIL だった。product 側に data-tutorial-bubble を付けて selector から除外。
  • UC-E01: settings/app.json restored after case が test(e2e): poll for app.json restore convergence (UC-E01 false FAIL) #846 の poll 収束後も FAIL。sandbox の app.json は real root のコピーで panel boot 正規化を経ておらず、restore が before を書き戻しても panel 再 persist が正規化キーを再追加するため deepEqual が永遠に不一致(case 1 のみ FAIL・case 2 以降 PASS という実測と整合)。比較を「before ⊆ live(snapshot のキーは全て一致・panel 追加キーは許容)」に変更し、restore 失敗(値の未復帰・キー欠落)は引き続き検出する。
  • UC-C04: restoreManagedRoot が rm 直後に live panel watcher の managed root 再生成と競合し cp の mkdir が EEXIST で落ちた(1回のみ観測)。transient リトライ集合に EEXIST を追加。
  • UC-C07: clickWsAction が [data-ws-action] anchor の存在を待たず missing-anchor を返していた。snapshot restore 直後の panel reload 中は chrome 未 hydrate で anchor が無い。bounded wait(20s)を追加。

Test plan

  • bunx biome check 対象5ファイル
  • bun run vitest run scripts/verify/e2e — 22 tests pass
  • bun run vitest run src/management/tutorial — 17 tests pass
  • bun run typecheck:test / typecheck:main
  • devnode での e2e 再検証(別途実施: settings/workspace/preset-create/journeys)

Generated with Devin

…cation (#860)

- UC-C14: exclude the non-modal tutorial bubble (`data-tutorial-bubble`)
  from the blocking-modal probe — `dialog[open]` alone false-positives on
  every fresh sandbox profile.
- UC-E01: compare the app.json snapshot as a subset of the live file.
  The sandbox copy is not boot-normalized, so the panel's post-restore
  persist legitimately re-adds keys and deep equality never converges.
- restoreManagedRoot: retry EEXIST — a live panel watcher can recreate
  the managed root between rm and cp.
- UC-C07: wait (bounded) for a ws-action anchor before injecting the
  context-menu probe button instead of failing instantly post-reload.
@coderabbitai

coderabbitai Bot commented Nov 30, 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: d8a94144-edf9-4bef-af67-5e027aec7559

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

cloudflare-workers-and-pages Bot commented Nov 30, 2026 •

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 ↗
7608ea1 2026-11-30T02:43:00.730Z View logs ↗
  • Build: Failed ❌

View logs ↗
4b7a56b 2026-11-30T02:08:04.111Z View logs ↗
  • Build: Failed ❌

View logs ↗
59abc08 2026-11-30T01:15:43.998Z View logs ↗
  • Build: Failed ❌

View logs ↗
8d026de 2026-11-30T00:42:24.623Z View logs ↗
  • Build: Failed ❌

View logs ↗
e8f6c93 2026-11-30T00:13:47.196Z View logs ↗

rebuildup and others added 2 commits November 30, 2026 09:39
ExtendScript confirm() shows an owned top-level #32770 "Script Alert"
window on the AfterFX pid — it is not a descendant of MainWindowHandle,
so the child-window enumeration never found it (verified by live Win32
dump on the devnode). Enumerate top-level windows filtered by the
AfterFX pid, keep the child-window path as fallback, and fix a
PowerShell parse error where the button-name JSON was interpolated as
a bare array literal instead of a quoted ConvertFrom-Json string.
Verified live: BM_CLICK on the No button dismisses queued Script Alert
dialogs and evalScript unblocks.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
rebuildup and others added 2 commits November 30, 2026 11:06
Five simultaneous panel reloads serialize their boot-time ExtendScript
work on the single shared engine; on the loaded Windows devnode panel-1
took ~3 min to finish booting, so the 45s accent probe aborted
mid-boot and the restored locator stranded every surface on the real
root (settings/online/debug/journeys all failed "panel did not resolve
sandbox root"). Reload panel-1 alone first, raise per-surface reload
and probe deadlines, and refresh the live-surface cache around the
reload/probe so a mid-run CEPHtmlEngine respawn cannot leave requireSurface
pointing at a dead target.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Each sandbox copies the whole managed root; 130 accumulated dirs filled
the devnode system drive to 0 bytes, after which bun could not start
and dialog surfaces failed to spawn. Keep the newest five siblings.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

This branch has not been deployed

No deployments
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