Skip to content

Add Windows WebView2 host with CI and release jobs - #3

Merged
dominicletz merged 6 commits into
masterfrom
windows-webview2-host
Aug 24, 2026
Merged

Add Windows WebView2 host with CI and release jobs#3
dominicletz merged 6 commits into
masterfrom
windows-webview2-host

Conversation

@dominicletz

Copy link
Copy Markdown
Contributor

Summary

  • Implement the Windows WebView2 host (C++/Win32/WebView2) under native/windows/, with scripts/build_windows.ps1 producing priv/native/windows/DesktopWebView.exe.
  • Extend shared Elixir E2E for Windows (taskkill cleanup) and update docs/status/windows.md for E2E-covered features.
  • Add CI windows-e2e job (build host + mix test) and release packaging for DesktopWebView-windows-x64.exe.

Test plan

  • CI windows-e2e job is green
  • Locally: .\scripts\build_windows.ps1 then mix test --only e2e with DESKTOP_WEBVIEW_BINARY set
  • Confirm listening <port> smoke and WebView2 Runtime is present on the runner
  • Tag release draft includes DesktopWebView-windows-x64.exe (+ .sha256)

dominicletz and others added 6 commits August 5, 2026 10:43
Implement the C++/Win32/WebView2 native host, wire shared Elixir E2E on Windows, and add windows-e2e CI plus release artifact packaging.

Co-authored-by: Cursor <cursoragent@cursor.com>
Deduplicate UTF-8/path helpers, drop dead icon/menu state, harden RPC framing and permission deferrals, and fix the Windows build script generator fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
CI failed because test.webview.eval ran while CreateCoreWebView2Controller was still pending and returned an error map instead of a string.

Co-authored-by: Cursor <cursoragent@cursor.com>
…iew2 ready.

Master E2E now requires test.tray.list and test.session.reset. Also stop waiting on NavigationCompleted before eval, which timed out on GitHub runners.

Co-authored-by: Cursor <cursoragent@cursor.com>
GitHub windows-latest was hanging test.webview.eval; show the controller and pass software/GPU flags used by other CI WebView2 hosts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dominicletz
dominicletz merged commit cac66d8 into master Aug 24, 2026
4 checks passed
@dominicletz
dominicletz deleted the windows-webview2-host branch August 24, 2026 10:10
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