Skip to content

FormPDF 0.64.0: the engine ends with the app on Windows, a failed start says why, and no console window - #14

Merged
nodemode-ai merged 5 commits into
mainfrom
feat/sprint-finish-0.64.0
Nov 20, 2026
Merged

nodemode-ai merged 5 commits into
mainfrom
feat/sprint-finish-0.64.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

FormPDF 0.64.0: the engine ends with the app on Windows, a failed start says why, and no console window

This branch sits on merged main (0.63.0) and covers the five commits after it, the release commit last.

What changes for people

  • On Windows the engine now ends together with FormPDF however FormPDF ends, a crash or Task Manager included.
  • When FormPDF cannot start, its message says why: the engine program is missing, another copy holds the data folder, the data folder cannot be used, the engine stopped (with its exit code), or a wait ran out. Below the sentence come the engine's last lines and the full path of its log. The message shows before the loading window closes.
  • FormPDF waits at most 90 seconds for its engine to say where it serves. Before this, an engine that never said so left the loading window up for good.
  • On Windows the engine runs with no console window beside the app. Setting FORMPDF_ENGINE_WINDOWED=0 before freezing the engine keeps the console.
  • On macOS a leftover engine that has ended but was not yet collected no longer blocks a new start.
  • The first-run guide of the agent panel now says that Codex, Cursor and Antigravity each get a button of their own when they are installed.

How it was checked

job command result
scripts bash -n over the workflow's file list, on a scratch copy of the commit before the release exit 0
scripts the workflow's em dash and emoji scan over git ls-files clean
backend compileall, formpdf_engine.py --selfcheck, uvicorn on 8198, /api/health and /api/version all exit 0
test python -m pytest tests -q -p no:cacheprovider (Python 3.12) 196 passed, before and after the version commit
frontend npm ci --dry-run, npm audit, npm run build, tsc --noEmit exit 0, 0 vulnerabilities
window window_rehearsal.sh formPDF (headless Chromium, Playwright 1.63.0) 3 passed
agents setup/agents.py sync --check in step
shell, plain functions the two new shell files in a scratch crate: cargo check --target x86_64-pc-windows-msvc, cargo test exit 0, 4 passed
shell for Windows win_shell_check.sh formPDF HEAD on the release commit: the real src-tauri type-checked for x86_64-pc-windows-gnu (no link, nothing run) exit 0, 0 errors, 0 warnings
shell, lock cargo update --workspace --offline on a copy of src-tauri 0 packages changed, Cargo.lock the same
version tests/test_f4_versions.py after the release commit 3 passed

Also seen: formpdf_engine.py --selfcheck with its standard output and error closed exits 0.

Not run

  • Nothing was run on Windows or macOS. No Windows build has shown the console change.
  • The desktop shell was not built or run; it was only type-checked for Windows (no link). The first full build is the release build.
  • The real Claude Code, Codex, Cursor and Antigravity were not run (stand-ins only).
  • The browser demo was not rebuilt; its version string was set by hand, as in the last release.

Held

  • The agent program sentences in the window still list three programs in places; changing them means every language table at once.
  • A path setting for Codex, Cursor and Antigravity like the one for Claude Code: it belongs under the same seal, and adding keys to the seal needs care so that an update does not count as a broken seal.
  • Sweeping leftover Antigravity tab folders at start: not one small change.
  • An engine of 0.62.0 or older that was left running is not ended: it wrote no lock. It does not block the new engine.

FormPDF has no CHANGELOG; none was created.

Merge

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

…s as gone on macOS (0.64.0)

Ending a leftover engine waits until it is gone. Where there is no /proc a
process that has ended and that its parent has not collected still answers a
signal, so the wait ran out and the start was refused. The wait now asks ps
for the process's state there and takes an ended one as gone. Linux and
Windows are untouched. Carried from FormCut's fix, with a test that points
the start-up file at a /proc that does not exist.
…t says why (0.64.0)

The engine is put in a job object on Windows, so it ends with the app
however the app ends. A failed start now shows a sentence for its reason,
the engine's last lines, its exit code and the full path of its log, before
the loading window closes. The wait for the engine's address is 90 seconds;
an engine that never gave it left the loading window up. The engine is still
started through tauri-plugin-shell, as FormVis does.
Both freeze scripts give PyInstaller --noconsole on Windows, as FormWeb
does, so no console window opens beside FormPDF. FORMPDF_ENGINE_WINDOWED=0
keeps the console. The entry already puts the null device in place of a
missing stream, so the self-check still runs.
…Cursor and Antigravity (0.64.0)

The panel folder is copied unchanged from FormVis 23b01889. The first-run
guide's two sentences for a computer that has Claude Code now say that
Codex, Cursor and Antigravity each get a button of their own when they are
installed. The manifest test expects 2.2.1.
Bumps every version site from 0.63.0 to 0.64.0, the same set as 0.63.0:
frontend and demo package.json and package-lock.json (both fields each),
version.ts, backend __version__, src-tauri Cargo.toml, the formpdf entry in
Cargo.lock, tauri.conf.json, the README badge, the version field in the two
skill SKILL.md files under .claude and their .agents mirrors, and the version
string in the tracked demo bundles demo/assets/demo.js and
demos/protect/assets/protect.js (hand-edited, not rebuilt). The repo has no
CHANGELOG.

Verified on this tree before the commit: backend pytest 196 passed,
tsc --noEmit clean, agents sync --check in step; git grep -F 0.63.0 outside
the HASHOUT logs prints nothing. On the commit before it, every job of the
pull request workflow was rehearsed on a scratch copy: scripts clean,
compileall and --selfcheck exit 0, the engine booted on 8198 and answered
health and version, 196 passed, npm ci --dry-run, npm audit (0
vulnerabilities) and npm run build exit 0, the window check 3 passed. The
desktop shell was not compiled, and nothing was run on Windows or macOS.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 20, 2026 08:44
@nodemode-ai
nodemode-ai merged commit d79b7cf into main Nov 20, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the feat/sprint-finish-0.64.0 branch November 20, 2026 22:15
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