Repository navigation
FormWav 2.29.0: starting and stopping cleanly, engine side only - #22
Merged
Merged
Conversation
…ed, and the engine leaves when its app is gone The family's start and stop rules from FormTools 0.10.0, engine side, fitted to formwav. app/core/startup.py is FormTools's file at origin/main (with finished() from FormCut c2c2e221) with only the names at its top changed. desktop_entry.py's serving path starts a log file, keeps a missing standard error in Logs/formwav-engine-errors.log, opens the app or says the sentence (exit 4) when a frozen engine is started alone, takes engine.lock (a second engine is refused with the sentence and exit 2, a leftover whose shell is gone is ended and replaced), watches FORMWAV_SHELL_PID and gives up the lock when it leaves. The stdin watch is kept. src-tauri/src/main.rs gives the engine FORMWAV_SHELL_PID, one .env line. Seen on Linux with stand-ins: tests/test_startup.py 15 passed, with test_engine.py 21 passed; ruff 0.16.8 E9,F63,F7,F82 clean. Nothing ran on Windows or macOS; the shell was not compiled and no frozen engine was built.
…s no longer share one entry Every Antigravity tab ran in the one agent folder and so shared one formwav_tab entry in its .agents/mcp_config.json: a second tab took the first one's access and closing either removed the other's. Each tab now gets a new folder under [data folder]/agent-tabs/antigravity, its entry is written there and agy starts there; at close the entry goes with the tab's token and the folder is removed when nothing else is in it. A file that is not JSON gives the sentence, not a bare error. Seen on Linux with the stand-in agy: two tabs at once each keep their own entry and token, closing one leaves the other's. tests/test_agent_programs.py with test_agents.py: 17 passed, 1 skipped.
The family's standard (the owner's D1). The shell had no limit on the engine's address; a timer started with the engine now settles the start as timed out after 90 seconds and shows the dialog of a failed start, through the same start state as the key timer, so only one of the three can settle it. The Windows engine is not frozen with --noconsole (D3), on purpose: the shell starts it through tauri-plugin-shell 2.4.0, which already spawns it with CREATE_NO_WINDOW, and with no console of its own each program the engine starts would open a window of its own (src-tauri/HASHOUT_LOG.md #address-wait). Not compiled: the shell cannot be built here. rustfmt parses main.rs and reports no new place to format.
… shared panel module is 2.2.1 ui/agents.ts: the tooltip lists Claude Code, Codex, Cursor, Antigravity and Claude Desktop. It is the key of the 25 language tables, so the key and every table's value changed together; no native speaker has read them. src/dock/ is FormVis 23b01889's, copied unchanged (three files differ from 2.2.0: the guide says Codex, Cursor and Antigravity each get a button when installed); test_dock_manifest.py expects 2.2.1.
Moves every version site from 2.28.0 to 2.29.0, the same 18 files as 2.28.0: frontend package.json and both fields of package-lock.json, native/formwav-dsp and src-tauri Cargo.toml, the formwav-dsp and formwav-desktop entries in the four Cargo.lock files that carry them (edited by hand), tauri.conf.json, backend core/version.py and formwav_mcp/server.py, the README badge, and the Current build version header of the backend, frontend, native, demo, demos/produce and demos/repair HASHOUT_LOG.md. The release holds, engine side only of the family's Windows start: one engine per data folder with the sentence and exit 2 for a second one, a leftover engine replaced, the engine leaving about two seconds after its app, a packaged engine started alone opening the app, a log and kept errors; the app gives the engine its process id and waits 90 seconds for its address; each Antigravity tab has a folder of its own; the Settings tooltip and its 25 tables name Antigravity; the shared panel module is 2.2.1. Held: the Windows job object and the failure dialog with the engine's last lines. Run before the bump: npm run build passed; pytest tests, the whole backend suite with the interface tests, 623 passed, 62 skipped, 0 failed. After the bump test_every_version_site_states_the_same_version passes; git grep finds no 2.28.0 outside the logs' history and the shared panel folder. Not run: the shell was not compiled, nothing ran on Windows or macOS, no real agent program was started.
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.29.0: starting and stopping cleanly, engine side only
What a person now gets
Logs/formwav-engine.login its data folder, and a missing standard error goes toLogs/formwav-engine-errors.log, so a start that fails leaves its reason behind.Merge with a merge commit. Do not squash and do not rebase-merge.
Held
--noconsole: the app starts it through tauri-plugin-shell, which already gives it no console window, and without a console of its own every program the engine starts (ffmpeg and the others) would open a console window of its own.Not run
agy.Checks rehearsed
npm ci,npm run build(tsc and vite)--select E9,F63,F7,F82python -m pytest tests -q -rs(with the Chromium interface tests)/proc, a POSIX shell,HOME, path separators: the start tests skip off POSIX, read no/procwhen it is missing, and the tab test compares paths the engine itself made