Skip to content

fix(install): build on Windows (0.15.1) - #11

Merged
nodemode-ai merged 5 commits into
mainfrom
fix/windows-build-venv-0.15.1
Dec 6, 2026
Merged

nodemode-ai merged 5 commits into
mainfrom
fix/windows-build-venv-0.15.1

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

fix(install): build on Windows (0.15.1)

Summary

  • FormCompiler's Windows build stopped at [formshot] installing backend with ./oc_install: line 6: venv/bin/activate: No such file or directory. Python on Windows puts the venv's activate script in venv/Scripts/, and backend/oc_install only looked in venv/bin/. It now sources venv/bin/activate when it exists and venv/Scripts/activate otherwise, the same two places setup/lib.sh fsh_venv already tries, and it makes the venv with the Python the setup suite picks (3.12 or newer, python when python3 is missing).
  • backend/boot_backend (./formshot backend) had the same line and takes the same two places.
  • The farm's token folder (fsh-farm/src/token.rs) builds without an unused mut warning on Windows, where the 0700 mode does not apply.
  • Patch release 0.15.1 so FormCompiler can build compile_v0.15.1 from the fixed main.

Commits

Oldest first. The short hashes change when formpr signs the commits.

  • fix(install): find the backend venv on Windows (1a4e17ae)
  • fix(farm): build the token store on Windows without a warning (b2c8a9c8)
  • fix(backend): boot the service from the Windows venv (c2970d47)
  • docs(changelog): describe 0.15.1 (d338cac7)
  • chore(release): 0.15.1 (6b294eaf)

Version

0.15.0 to 0.15.1 (patch: build fixes, no feature change). The release commit bumps every version site: VERSION, the frontend's package.json, package-lock.json and version.ts, tauri.conf.json, the shell's and the 19 engine crates' manifests and both lock files, fsh-py's pyproject.toml, the backend's __version__, the docs, the harness skill and the README badge. The generated tool references were rewritten by ./formshot agents sync from the 0.15.1 engine.

Checks

  • The native workspace and the desktop shell type-check for x86_64-pc-windows-msvc with no warnings (cross-checked on Linux with a stub for the ufbx C build).
  • backend/oc_install and backend/boot_backend: bash -n, and both on Linux (the venv made, the service started on 127.0.0.1:8300).
  • The Linux release engine builds and reports formshot-engine 0.15.1; the backend imports at 0.15.1; cargo metadata --locked in native and src-tauri; tsc and vite build; ./formshot i18n check; ./formshot agents check clean; the harness skill validator passes; the JSON files parse; the em dash, emoji and trailer scans are clean.

Not run: the Windows desktop build itself, which only FormCompiler's Windows runner can run. The next FormCompiler run after this merge is the real test of the install, the PyInstaller freeze and the Tauri bundle on Windows.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

formcompiler's Windows build runs ./formshot install in Git Bash, and backend/oc_install sourced venv/bin/activate, which Python on Windows never makes (it makes venv/Scripts/activate), so the build stopped before anything was installed. The script now sources venv/bin/activate when it exists and venv/Scripts/activate otherwise, the same two places setup/lib.sh's fsh_venv already tries for every other script.
make_folder's DirBuilder is mutable only for the Unix mode call, so a Windows build warned that the variable need not be mutable. The binding now allows unused_mut on non-Unix targets. cargo check of the whole engine workspace for x86_64-pc-windows-msvc is clean.
@nodemode-ai
nodemode-ai merged commit 157a5f3 into main Dec 6, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the fix/windows-build-venv-0.15.1 branch December 6, 2026 02:56
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