Skip to content

Release v3.159.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 21:46
c4f178d

cratis extension verify can now run its two runtime checks for real instead of always reporting them as skipped. A check that cannot run is still reported as skipped with the reason, never as passed.

Added

  • cratis extension verify --run-frontend loads the package's built frontend with Node.js and checks that each component is exported with the kind and platforms its contract declares (EXTV060). This runs the package's code with your user's privileges, so it only runs when you pass the flag. Without Node.js the check is skipped with "Node.js not found". The check works offline because its JavaScript dependencies ship with the CLI. (#576)
  • cratis extension verify --backend <address> calls Describe and then Health on an already running backend and compares the extension name, ability names and effects, trigger names, and setting names and secret flags with the contract (EXTV070). The package version is compared when the package comes from a registry. The result lists the fields the contract cannot state, which are not compared. Point it at a dedicated test backend: Describe replaces the backend's host session.

Changed

  • The extension verify reference page documents the runtime checks, their prerequisites, their trust requirements, and every skip, timeout and failure outcome.