Skip to content

FormFabric 0.29.1: the window asks for live events only once it holds its key - #13

Merged
nodemode-ai merged 2 commits into
mainfrom
feat/finish-0.29.1
Nov 21, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
feat/finish-0.29.1

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

FormFabric 0.29.1: the window asks for live events only once it holds its key

This pull request carries 0.29.1: 2 commits on main (0.29.0, merged), the release commit last. Please merge it with a merge commit, not a squash and not a rebase.

What a person gets

  • At each start the window asked the engine for its live events a moment before it held its key, was refused once and asked again 1.5 seconds later. It now waits for its key first, so a normal start shows no refused request and live events reach the window from the first try. A page without the key is still refused.

Commits

Commit Subject
122b7eb fix(window): live events are asked for only after the window holds its key
97b7b20 chore(release): 0.29.1, the window asks for live events only once it holds its key

How it was checked

  • The cause: workspace/offline.ts and workspace/viz/api.ts subscribe to the engine's link state when their modules load, before main.ts claims the window key, so engine/events.ts opened GET /api/events with no key. The page's network record on 0.29.0: the events request first, 403, then POST /api/window/key. The window key module now exposes a promise that settles when the claim has finished, and the events stream opens after it.
  • The real engine here (formfabric_engine.py, stand-in agent programs and shell first on PATH), the built window in headless Chromium, 10 starts in a row at normal speed and 10 under 4x CPU throttling, a fresh engine and data folder each start: 0 refused requests on the events route in the page's network record and in the engine's access log, in 20 of 20 starts (0.29.0 in the same harness: 1 per start in each of 4 trial starts, 2 normal and 2 throttled). A page without the key, asking the events route of the same engine: 403 in 20 of 20.
  • The 14 pixels on the dark Home: the same screenshot taken three times on one commit, a fresh engine each time: the first and third are identical and the second differs from both by 11 pixels, in the same strip at the top edge of the template pictures, each by one colour level, and 7 of them are the very pixels of the 0.28.0 against 0.29.0 difference. It is run-to-run rendering noise in the pictures' edges, not a change of 0.29.0; nothing was changed for it.
  • setup/freeze_backend.bat read token by token against setup/freeze_backend: the PyInstaller line expands to the same 40 tokens as the POSIX line on Windows (only their order differs, which PyInstaller does not care about); CRLF on all 27 lines, no tab, no double space, no glued token. Nothing to change.
  • The engine module was built here for 0.29.1 from these native sources (maturin build --release, 7 min 42 s) and installed; on the release tree: backend tests 53 passed, 0 failed; --selfcheck exit 0 (engine built, 0.29.1, 255 commands); ./formfabric agents sync --check and ./formfabric agents check exit 0; version check one version, 0.29.1, across 10 sites and the changelog.
  • On 122b7eb and on the release edits before the module was built: language tables 350 of 350 in every table; npm ci --dry-run, npm ci, the window build with its type check exit 0; npm audit 0 vulnerabilities; the built window against the engine: no page error, only the two known 404s (src/styles/dock.css, engine/ffb_wasm.wasm, both as in 0.28.0 and 0.29.0) and no refused events request; bash -n on 23 scripts, Python byte-compile: 0 failures; no em dash, emoji or comment line added.

Not run

  • The window build, npm audit and the window check were not repeated on the release commit itself; they ran on the same tree, with the same version edits, before the module was built.
  • Nothing ran on Windows or macOS; the desktop shell was not compiled or started here (no system WebKit). This release changes only version fields under src-tauri (Cargo.toml, Cargo.lock, tauri.conf.json).
  • The engine CI job (clippy, browser engine) and the desktop-shell job were not run; no engine source changed.
  • The real Claude Code, Codex, Cursor and Antigravity were not run (stand-ins only).

@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 21, 2026 03:32
@nodemode-ai
nodemode-ai merged commit 723a5ac into main Nov 21, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the feat/finish-0.29.1 branch November 21, 2026 03:36
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