Repository navigation
FormWav 2.31.1: the Windows build freezes the engine again - #26
Merged
Merged
Conversation
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.
FormWav 2.31.1: the Windows build freezes the engine again
This branch (
feat/finish-2.31.1) sits onorigin/mainat 2.31.0 (pull request 25 merged). It carries one fix and the release.What a person gets
ERROR: Script file '--noconsole--clean --noconfirm --onefile --name formwav-engine ... desktop_entry.py' does not exist.Inbuild_windows_app.ps1the no-console switch was set with$Windowed = if (...) { @() } else { @("--noconsole") }. PowerShell unrolls what anifgives as a value, so the one-element list arrived as a plain string, and string plus list on the next line joined every PyInstaller argument into one string, which PyInstaller took as its script's name. The switch is now an empty list, given--noconsoleby an assignment inside theif(unless FORMWAV_ENGINE_WINDOWED=0), so PyInstaller gets its arguments one by one again. The pitfall came in with the no-console change (5fda9e48); no release had built on Windows since v2.28.0.$Taurihas two or three elements in both branches and is sliced inside@(),$ConfigArgsis set by plain assignments, and no string is added to a list.formwav.bat,formwav_oc_install.batand theoc_install.batfiles they call were read token by token: no glued token, and no.batruns PyInstaller. CRLF line endings kept.Merge with a merge commit. Do not squash and do not rebase-merge.
Commits
59ca9f77fix(windows): the engine freeze gets its arguments one by one again (build_windows_app.ps1, its entry inbackend/HASHOUT_LOG.md)46fe67d8chore(release): 2.31.1 (the same 18 version sites as 2.31.0)How it was checked
All on Linux, on the fix commit (before the version), lane J, started 21:25 Eastern.
npm ci,npm ci --dry-run,npm audit --audit-level=low,npm run build(tsc, then vite)dist/core)--select E9,F63,F7,F82 --target-version py312(the workflow's selection)python -m pytest tests -q -rs, the whole suite with the interface testswindow_rehearsal.sh,frontend/tests/window)maturin build --release --locked --auditwheel skip --features python, scratch copy)-k version6 passed;test_engine.pywithtest_no_window.py13 passed;test_claims.py(the README) 10 passedThe fix commit was amended once after the gate started, to add the log entry's
refers-to,kindandloggedlines; the amend changed onlybackend/HASHOUT_LOG.md, so the code gated is the code committed.Not run
src-taurionly the version changed (Cargo.toml,Cargo.lock,tauri.conf.json); the shell was not compiled here.For reference, already merged