docs(kanvas): relationship evaluation engine selection & diagnostics#1050
docs(kanvas): relationship evaluation engine selection & diagnostics#1050leecalcote wants to merge 1 commit into
Conversation
Add a Designer user-doc page covering the relationship-evaluation engine choice (Automatic / Meshery server / Client-side WASM), the relationship indicator states (evaluating / evaluated / error), the one-time non-blocking notifications, and a task-oriented section for diagnosing failing or unexpected relationship results using the Relationship Evaluation Diagnostics view. Documents the layer5labs/meshery-extensions#4247 feature. Signed-off-by: Yi Nuo <218099172+yi-nuo426@users.noreply.github.com>
There was a problem hiding this comment.
Code Review
This pull request introduces a new documentation page for the Kanvas Relationship Evaluation Engine, detailing the differences between the Meshery server and client-side WASM engines, how to configure preferences, and how to interpret relationship indicator states. The review feedback suggests enhancing the troubleshooting section by specifying the exact UI location of the Diagnostics view and using more precise terminology for the Relationships section to improve consistency and discoverability.
|
|
||
| 1. In Kanvas Designer, open **Settings**. | ||
| 2. Enable the **debugger** preference. | ||
| 3. Open the **Relationship Evaluation Diagnostics** view. |
There was a problem hiding this comment.
|
|
||
| Evaluation re-runs automatically whenever you change the design — for example, | ||
| by adding, removing, or reconfiguring a component, or by toggling a relationship | ||
| kind on or off from the relationships section of the design. Making any such |
There was a problem hiding this comment.
Consider using the specific UI name for the relationships section (e.g., Relationships section or Relationships Layers Panel) to be consistent with other documentation and help users locate the toggle more easily.
| kind on or off from the relationships section of the design. Making any such | |
| kind on or off from the **Relationships** section of the Designer. Making any such |
There was a problem hiding this comment.
Pull request overview
Adds end-user documentation for Kanvas Designer’s new “Relationship Evaluation Engine” selection feature, explaining how evaluation works, how to change the engine preference, how to interpret indicator states, and how to diagnose problems using the diagnostics view.
Changes:
- Introduces a new Designer doc page describing the two evaluation engines (Meshery server vs client-side WASM) and their behavior.
- Documents the engine selection preference (Automatic / Meshery server / Client-side WASM) and session-scoped selection.
- Adds troubleshooting/diagnostics guidance, including fallback behavior and what to include when filing bugs.
| {{< alert type="info" title="Related reading" >}} For what relationships are and | ||
| the kinds Kanvas supports, see |
| - **Meshery server** — the policy engine running inside your Meshery server. It | ||
| is always available and is the default. | ||
| - **Client-side (WASM)** — the same policy engine, compiled to WebAssembly and | ||
| run inside a background worker in your browser. Because it runs locally, there | ||
| are no round-trips to the server, so evaluation is typically faster. It is | ||
| available only when your Meshery server provides the WebAssembly artifact. |
|
🚀 Preview deployment: https://layer5io.github.io/docs/pr-preview/pr-1050/
|
Summary
Adds a new Kanvas Designer documentation page: Relationship Evaluation Engine (
content/en/kanvas/designer/relationship-evaluation/index.md).The page documents the just-shipped relationship-evaluation engine selection feature for end users:
Relationship Evaluation Enginesetting (Designer ▸ Settings) and what each value does: Automatic (recommended, one-time health check), Meshery server, Client-side (WASM); selected once per session.Conventions followed
<dir>/index.md) matching siblings likeunderstanding-edges,interpreting-component-badges.title,description,weight,categories,tags,aliases) matches sibling pages;weight: 11orders it after existing Designer pages./kanvas/concepts/relationships/and/kanvas/getting-started/creating-relationships/pages; no fabricated screenshots (none required by the section's convention here).Validation
prettier --checkpasses (repo.prettierrc,proseWrap: always).hugofull build succeeds with no errors; page renders, shortcodes expand, internal links and in-page anchors resolve.Related
Documents the feature shipped in layer5labs/meshery-extensions#4247.