Skip to content

fix: resolve Windows startup crash from Node entry path (#105) - #106

Merged
Talljack merged 5 commits into
mainfrom
codex/fix-105-windows-startup
Sep 10, 2026
Merged

Talljack merged 5 commits into
mainfrom
codex/fix-105-windows-startup

Conversation

@Talljack

@Talljack Talljack commented Sep 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

Fixes #105.

Use relative server.js when launching the bundled Node sidecar to avoid Windows verbatim-path resolution failures. Executable, working directory and environment remain unchanged.

Add automated startup checks on pull requests and main pushes for Windows, macOS, Linux, production Web and native iOS simulator.

Issues found and fixed by verification

  • iOS eagerly preloaded four hidden WebViews while the visible tab initialized the same IndexedDB; fresh simulator comparison reproduced a blank dashboard. Load tabs on first selection instead, preserving loaded tab state.
  • Releasing an unvisited iOS tab constructed its lazy WebView during deinitialization and crashed. Pair observer cleanup with an explicit registration flag.
  • Regression tests observed both original iOS failures before the fixes. No relaxed rendering assertions or timeout increases.

Final validation: 560168c

All startup checks passed on the current head:

  • Windows: bundled Node regression tests, NSIS build/install into a Unicode/space path, installed process and local server alive for 60 seconds, dashboard/library rendered in Chromium.
  • macOS: bundled app launched from a Unicode/space path; same process/server/browser checks.
  • Linux: deb installed, executable launched under Xvfb; same checks.
  • Web: production server and actual dashboard/library headings, no uncaught page errors, 60-second health observation.
  • iOS simulator: native unit and UI checks including three cold launches, real WKWebView dashboard content, 65-second survival, first Library load and return to Today.
  • Standard lint, typecheck and build checks passed.

Desktop/Web: https://github.com/Talljack/echo-type/actions/runs/34490025606
iOS: https://github.com/Talljack/echo-type/actions/runs/34490025466

Artifacts include screenshots, Windows/Linux test installers and iOS XCTest results/logs. Local smoke-harness tests also pass.

Scope and limits

Desktop page checks use separate Chromium against the bundled sidecar, not full embedded-window interaction. iOS uses an actual simulator WKWebView. These checks do not certify every OS/version/architecture, physical hardware, production signing, SmartScreen/Gatekeeper or external AI services. See docs/design/startup-verification.md.

No data migration, version bump, release publishing or merge performed.

@vercel

vercel Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
echo-type Ready Ready Preview Sep 10, 2026 2:35pm UTC

@Talljack
Talljack merged commit 2b8a194 into main Sep 10, 2026
11 checks passed
@Talljack
Talljack deleted the codex/fix-105-windows-startup branch September 10, 2026 15:21

This branch was successfully deployed

1 active deployment
Preview — 560168c2 Deployed Sep 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: app hangs ~30s on launch then crashes (0xc0000409) — bundled node.exe cannot resolve \\?\-prefixed server.js path (EISDIR 'C:')

1 participant