Skip to content

form.ext 0.12.2: the engine tests pass again - #17

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/tests-after-fcite-0.12.2
Nov 29, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/tests-after-fcite-0.12.2

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

form.ext 0.12.2: the engine tests pass again

Summary

./formext test engine failed with 20 tests. The checker and the host list were right in every case; the tests had not followed two changes.

  • 19 code-rule tests (tests/validate/test_code_rules.py). Their setup() copies the hello example, replaces its permissions, and expects a clean package. Since 0.12.0 the hello example also has services: ["formcite"]. With fcite.addon gone from the permissions, the checker correctly reports services needs the fcite.addon permission, and an API 1 host refusing it. setup() now removes services with the permissions. The unused-permission tests failed for the same reason: the error stopped the check before that warning.
  • test_spec_extensions_win (tests/test_hosts.py). It looked for the text manifest.extensions: formcut, which held only while FormCut was the first app in that joined list. Since the family spec copy was refreshed on 26 November, sixteen apps declare extensions and FormCut is fourth. The test now looks for FormCut anywhere in the list.

No engine, interface or contract file changed.

Commits

  • test: the code-rule and host-list tests follow the hello example's formcite service and the larger family spec
  • chore(release): 0.12.2

Version

0.12.2 in backend/app/__init__.py, frontend/package.json, package-lock.json, frontend/src/shell/version.ts, the demo's health answer in frontend/src/demo/engine/router.ts, src-tauri/Cargo.toml, Cargo.lock, tauri.conf.json and the README badge. CHANGELOG.md has the v0.12.2 section.

Checks

  • Before: the same 20 failures as the CI log.
  • After: tests/test_hosts.py and tests/validate/test_code_rules.py, 44 passed. One test in that file could not run here at all: it needs Starlette's test client package, which the sandbox lacks and CI has.
  • The rest of the suite was not run here, for the same reason.

Merging

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

@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 29, 2026 06:34
@nodemode-ai
nodemode-ai merged commit 8ac6d62 into main Nov 29, 2026
3 checks passed
@nodemode-ai
nodemode-ai deleted the fix/tests-after-fcite-0.12.2 branch November 29, 2026 06:37
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