Files
open-design/e2e
lefarcenandGitHub 67ade60bce fix(e2e): seed win smoke onboarding into the live daemon data dir (#4444)
The packaged Windows smoke's onboarding seed derived its target path from
the installed app's baked config, which falls back to AppData and never
matches the data dir the running daemon actually reads. `tools-pack win
start` rewrites `namespaceBaseRoot` to the tools-pack runtime root and hands
it to the runtime via OD_PACKAGED_CONFIG_PATH, so the live daemon's
RUNTIME_DATA_DIR is always under `runtimeNamespaceRoot`. The seed landed in
the AppData fallback instead, so the daemon never read `onboardingCompleted`.

This stayed invisible until #4389 removed the step-0 "Skip" affordance from
the now-required Connect onboarding step: `ensureMainAppShell` used to click
Skip to reach home, so an ineffective seed didn't matter. With Skip gone and
the seed missing its target, the app sat on onboarding and the smoke failed
with "packaged windows runtime did not reach main app shell".

Write the seed to `<runtimeNamespaceRoot>/data/app-config.json` — the exact
dir the running daemon reads (already asserted for logs at line ~400) and the
same approach the macOS smoke uses. Drop the now-dead manifest-derivation
helper chain.
2026-06-17 12:12:56 +08:00
..