Repository navigation
Conversation
Tauri's per-user installer uses %LOCALAPPDATA%\Frostmail as the install directory, so maild's database, blobs, secrets and logs move into its Data folder, apart from what an install replaces. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The bridge opens maild's named pipe at the identification level and starts maild.exe from beside the app when no pipe is there; paths.rs resolves the pipe and cache on Windows; a release build is a GUI program; the navigation guard admits WebView2's http://tauri.localhost on Windows only; parts URLs take WebView2's http://mailpart.localhost form in what the app shows and maild's form in what it saves; Windows' runnable file types never open; FROSTMAIL_OPEN_LOG logs what would open, for the end-to-end tests; and the filter strip hides the scrollbar WebView2 draws. Co-Authored-By: Claude Opus 5.5 <[email protected]>
maild runs it once per change with one JSON operation, which shows or removes a toast under Frostmail's AppUserModelID. Clicks, and a reminder's Snooze and Dismiss, are frostmail-toast: URIs Windows hands back to it: it opens the app or the message, or calls calendar.snooze and calendar.dismiss over the pipe. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… tests tauri.windows.conf.json sets the Windows CSP and a per-user NSIS bundle with maild, mailctl and the notifier beside the app; hooks.nsh moves running sidecars aside, registers the toast scheme and AppUserModelID, and starts maild at sign-in and now. CI's Windows app job builds the installer, uploads it, and runs hostile, links, smoke and remote on WebView2 through tauri-driver; make app-check-windows type-checks the shell and notifier in nsl. Co-Authored-By: Claude Opus 5.5 <[email protected]>
desktop.md, testing.md, overview.md, app.md, the protocol spec, ADR-0005 and ADR-0038 in place, and Phase 5's progress in plan 0010. Co-Authored-By: Claude Opus 5.5 <[email protected]>
It differed from EventWindow.tsx only in case, so on Windows' case- insensitive file system "./EventWindow" resolved to it and the Windows build's typecheck failed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
EDGEWEBDRIVER, which the image documents, is not in the job's environment; fall back to the path it names. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-driver A session msedgedriver launched looked for the DevTools port in a data folder of its own while Tauri gives WebView2 the app's, so every session failed (DevToolsActivePort file doesn't exist). The harness now starts the app with a DevTools port through WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS and attaches msedgedriver to it with debuggerAddress, and stops what it started when a launch fails, so a single-instance app left running cannot take the next one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Report the app's exit code and output when its DevTools port never opens, track the app as soon as it starts, and print the job's session and whether it is interactive (WebView2 needs a window). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he Windows tests On Windows a window built in a synchronous command deadlocks the app (WebView2), so opening compose, an event, settings or the reminders froze Frostmail; those commands are now async. Every window comes from one builder, so they share the WebView2 arguments their environment needs: wry's defaults, plus a DevTools port when FROSTMAIL_DEVTOOLS_PORT names one. The end-to-end harness uses that port, since the runner's WebView2 let the app's arguments override WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
bketelsen
marked this pull request as ready for review
October 16, 2026 22:28
This was referenced Oct 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan 0010, Phase 5: the app on Windows. Draft until CI's new Windows app job is green and the installer has been tried in the VM and on one of the user's machines.
What changes
%LOCALAPPDATA%\Frostmail\Data, out of the per-user install directory Tauri's installer uses (%LOCALAPPDATA%\Frostmail).maild.exebeside the app when no pipe is there), Windows paths, a GUI-subsystem release build, the navigation guard admitting WebView2'shttp://tauri.localhost(Windows only), parts URLs in WebView2'shttp://mailpart.localhostform with a Windows CSP, Windows' runnable attachment types refused, and the WebKit workarounds behindcfg(target_os = "linux").frostmail-notify.exe(app/notify): toasts underorg.frostyard.Frostmail. A click, Snooze or Dismiss is afrostmail-toast:URI Windows hands back to the notifier, which opens the app or the message, or callscalendar.snooze/calendar.dismissover the pipe. The trade-off (any program the user runs can send such a URI, with no more power than a click) is in ADR-0038.tauri.windows.conf.json(per-user NSIS, sidecars) andwindows/hooks.nsh, which move running sidecars aside before an upgrade copies over them, register the toast scheme and AppUserModelID, start maild at sign-in and now, and delete maild's data only with "Delete the application data".frostmail-windows-installer), and runs hostile, links, smoke and remote on WebView2. The harness starts the app with a DevTools port (FROSTMAIL_DEVTOOLS_PORT, added to every window's WebView2 arguments, since WebView2 lets an app's arguments overrideWEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS) and attaches the runner's msedgedriver to it;FROSTMAIL_OPEN_LOGstands in for the Linux opener fakes.make app-check-windowstype-checks the shell and notifier in nsl.eventWindow.tsis nowopenEvent.ts: it differed fromEventWindow.tsxonly in case, which broke the build on Windows.Checked
make check,make ui-check,make app-test,make app-check-windows.make ui-e2e F="hostile links smoke remote"on Linux with the ported harness: 5 of 5.frostmail-win11, with a local (MinGW, not committed) build: toasts show, replace and go; a reminder carries Snooze and Dismiss; Windows handsfrostmail-toast:URIs to the notifier verbatim; Dismiss reaches maild over the pipe; the app reads the Outlook.com test account over the pipe; the CSP admitshttp://mailpart.localhostand blocks loopback andmailpart:. That run found the navigation-guard bug fixed here (the window stayed blank).Still to do before ready
%LOCALAPPDATA%\Frostmail, starts maild there, and registers the Run value,frostmail-toast:, the AppUserModelID and the shortcuts; upgrading over a running app and maild restarts maild with nothing left aside and the data kept; uninstall removes all of that and keepsDataandCache.mailctl verify; with the app closed, a new-mail toast whose click started the app on the message, and a Remind Me reminder's toast.🤖 Generated with Claude Code