Skip to content

FormWav 2.30.0: on Windows the engine ends with the app, a failed start says why, and no console windows - #24

Merged
nodemode-ai merged 1 commit into
mainfrom
feat/final-2.30.0
Nov 20, 2026
Merged

nodemode-ai merged 1 commit into
mainfrom
feat/final-2.30.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

FormWav 2.30.0: on Windows the engine ends with the app, a failed start says why, and no console windows

This release follows 2.29.0 (branch feat/sprint-finish-2.29.0, not merged yet): merge that one first; this branch starts at its release commit.

What a person now gets

  • On Windows the engine ends with the app, however the app ends. The app puts its engine in a job object, so a crash, a forced end in Task Manager or an ordinary quit leaves no engine and nothing the engine started behind. An ordinary quit still lets the engine leave on its own first (up to five seconds), so the engine still removes its unpacked files from the temporary folder.
  • A start that fails says why. Instead of "The formwav engine failed to start. Please relaunch formwav.", the dialog says what happened (the engine program is missing, could not be started, stopped with its exit code, or did not give its address within 90 seconds or its key within 10), shows the engine's last lines and gives the path of the engine's log. It is shown before the loading window closes, so the app never disappears without a word. A window that cannot be built now takes the same path; before, the loading window closed and nothing was shown.
  • A second copy of FormWav says so. Its engine meets the first one's record of the data folder and stops; the dialog says that another copy of its engine holds its data folder, with the engine's own line under it: "formwav is already running on [folder] (engine process N)."
  • No console windows on Windows. Every program the engine starts (ffmpeg, ffprobe, the plug-in, Nyquist, Vamp and LV2 helpers and the others) is started with no console window, and the Windows engine is now built with no console of its own. FORMWAV_ENGINE_WINDOWED=0 builds it with a console again. macOS and Linux are unchanged.
  • The Windows build now waits for the engine's self check after building it and stops when it fails.
  • The README's status now says released, built and tested on macOS, Windows and Linux (the owner's statement).

Merge with a merge commit. Do not squash and do not rebase-merge.

How it was checked

Job / step Result here
engine, Linux: python -m compileall ..., ruff 0.16.8 --select E9,F63,F7,F82 --target-version py312 exit 0, clean
engine, Linux: python -m pytest tests -q -rs (with the Chromium interface tests), on the last commit before the version 630 passed, 62 skipped, 0 failed (the skips are model tests and the systems' own skips)
engine: the audio core built from the tree (maturin build --release --locked, Python feature, no debug information) built at 2.29.0 and at 2.30.0; with it the version test that failed in 2.29.0 passes
version tests after the bump, with the core at 2.30.0 6 passed (-k version over the suite); test_engine.py with test_no_window.py 10 passed
interface: npm ci, npm audit --audit-level=low, npm run build passed, 0 vulnerabilities
browser window check (window_rehearsal.sh, frontend/tests/window) 2 passed
shell, Windows-only code: a scratch crate holding win_job.rs and engine_start.rs cargo check --target x86_64-pc-windows-msvc and -gnu: no error, no warning; cargo test: 4 passed
shell, Cargo.lock the hand-added windows-sys 0.61.2 line equals what cargo update --workspace writes in a scratch copy
engine, no console windows: tests/test_no_window.py 7 passed: a walk of the engine's source finds 105 program starts, all through subprocess.Popen, and only four known exceptions (the POSIX terminal's exec after fork, the Windows terminal's pseudoconsole)
engine on macOS and Windows not runnable here; the new tests were read for what those systems lack or add (below)

Read for macOS and Windows: test_no_window.py reads files as UTF-8 and compares paths in POSIX form; it never passes creationflags to a real start (the Windows case uses a recorder in place of Popen's start), and on Windows asyncio's Popen is a subclass of subprocess.Popen, so its test holds there too. No /proc, POSIX shell, HOME, password store, Command key or path separator in it.

Not verified

  • The desktop shell was not compiled on this machine; its first compile is the release build. main.rs was read line by line against FormVis's, whose shell starts its engine the same way.
  • Nothing was run on Windows or macOS: not the job object, the failure dialog, the order of dialog and last window, the five-second leave on quit, the no-console starts, or the PowerShell build script (there is no PowerShell here; it was read).
  • Whether an engine built with no console still writes its address to the pipe the app gives it has not been seen on Windows (FormWeb's engine is built that way).
  • The real Claude Code, Codex, Cursor and Antigravity were not run (stand-ins only).
  • The Firefox interface job, the shell's own cargo check and clippy, and the core's Rust tests were not run here.

Held

  • The clip chip that moves when a late instrument re-render changes a clip's length: reproduced (an 800 ms late answer moved it 305 px with nobody touching the page); a fix that anchors it where the clip starts removed that move, but with the same delay the interface file still showed two other late moves and a timeout, so it is not in this pull request.
  • The README commit (343eab0f) sits on the 2.30.0 release commit and was not given a version of its own: the 2.31.0 release did not fit before the stop time.
  • An engine of 2.28.0 or older holds no record of its data folder, so the first start after updating from it does not see one left running.

…ndows and Linux

The status badge reads released, as FormTray's does, and the status line says that
FormWav is built and bundled for macOS, Windows and Linux and has been tested on all
three, on the owner's statement. The clauses about the Windows scripts not having run
on Windows and the models running against stand-ins are gone. No other README in the
repository said the app was in development or unverified.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 20, 2026 20:05
@nodemode-ai
nodemode-ai merged commit abf02e9 into main Nov 20, 2026
9 checks passed
@nodemode-ai
nodemode-ai deleted the feat/final-2.30.0 branch November 20, 2026 21:59
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