You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(graphstore): give users actionable paths when the ladybug provider is a stub
Before this, cloning the repo and running `go run ./cmd/umodel-server`
without `-tags ladybug` gave:
local.ladybug provider is disabled in this build
with no hint about what to do next. The stub's Health, OpenWorkspace,
EnsureSchema, and every other operation now all report:
build with -tags ladybug to enable local.ladybug,
or run with --graphstore file.memory for local development
Two clear paths, one line — no need to dig through source or ask around.
DefaultProviderType stays local.ladybug. file.memory is not the new default.
The real ladybug provider (built with -tags ladybug) is completely unaffected.
Zero changes to REST, CLI, MCP schema, SDK, Query, Web UI, or runtime storage.
Copy file name to clipboardExpand all lines: cmd/README.en.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ Entry Layer: process entry points.
14
14
15
15
`umodel-server` and `umodel-mcp` both support `--graphstore`:
16
16
17
+
When `--graphstore` is omitted, Go entrypoints use `local.ladybug`. Builds without `-tags ladybug` report clear startup guidance: build with the Ladybug tag, or pass `--graphstore file.memory` for local development.
18
+
17
19
| Provider | Description |
18
20
|---|---|
19
21
|`memory`| In-memory provider for fast local verification; data is lost on process exit. |
Copy file name to clipboardExpand all lines: docs/en/graphstore-providers.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
UModel stores UModel elements, CMS 2.0 entities, and topology relations behind the `GraphStore` interface. Go entry binaries default to `local.ladybug` when `--graphstore` is omitted; select another provider with `--graphstore` on `umodel-server` or `umodel-mcp`.
6
6
7
+
If a build omits the `ladybug` tag, the default `local.ladybug` provider reports an unavailable health status. Build with `-tags ladybug` to enable the real `local.ladybug` provider, or pass `--graphstore file.memory` for local development without Ladybug.
8
+
7
9
```bash
8
10
go run ./cmd/umodel-server --addr :8080 --data data --graphstore file.memory
0 commit comments