CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

fix(runtime): app has no window on v1.0.8 — tokio::spawn from setup() panics silently #4777

Merged⚡ AI-generatedXSccantynz wants to mergeclaude/setup-workers-local-dev-OIn7Rmainopened Apr 22, 2026
ccantynzcommented Apr 22, 2026

Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/voxlen/pull/24


The "installed but no window appears" fix

You installed v1.0.8 and saw nothing. The app was running but no UI ever appeared. Root cause:

The AudioProcessor I added in PR #20 was spawned via tokio::spawn from inside Tauri's setup() closure. tokio::spawn requires the calling thread to have a current tokio runtime — but Tauri's setup doesn't guarantee that. When the spawn panicked, the whole setup chain failed, and Tauri silently aborts window creation when setup errors.

Fix: swap tokio::spawntauri::async_runtime::spawn. This is Tauri's runtime-safe variant that binds to Tauri's own runtime regardless of the calling thread.

Version bumped 1.0.8 → 1.0.9 so it ships as a distinct MSI.

After merge

New installer at: https://github.com/ccantynz-alt/voxlen/releases/download/v1.0.9/Voxlen_1.0.9_x64_en-US.msi

Uninstall v1.0.8 first (Settings → Apps → Voxlen → Uninstall), then install v1.0.9. You should see the onboarding wizard on first launch.

If the window still doesn't appear, next suspects are: WebView2 failed to install, or something else in setup() panics. I'll need you to check Windows Event Viewer → Windows Logs → Application for any crash entry named Voxlen or tauri-runtime to confirm.

https://claude.ai/code/session_01setup-workers

ccantynzcommented Apr 22, 2026

Originally written by @vercel[bot] on GitHub.


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

Project Deployment Actions Updated (UTC)
voxlen Error Error Apr 22, 2026 6:17am

Request Review

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts