Skip to content

store_weaviate declares two different defaults for the same profile choice (preconfig cloud vs field local) #1777

Description

@ptlnextdoor

nodes/src/nodes/store_weaviate/services.json sets the node's connection profile twice, to different values.

Parsed from develop @ b8068d7:

preconfig.default        : "cloud"
weaviate.profile.default : "local"

Both describe the same choice — whether the node talks to a Weaviate Cloud cluster or a local instance — so which one takes effect depends on whether the profile arrives through preconfig or falls through to the field default.

Why it matters

The two branches are not interchangeable. cloud and local differ in host, port, and authentication, so a user who lands on the wrong one gets a connection failure whose cause is not visible from the node's own documentation — the README correctly reports local, because that is what weaviate.profile.default says, while the preconfig path says otherwise.

Fix

Decide which is correct for a fresh node, set both to it, then re-run nodes:docs-generate so the README follows. I did not pick one: it is a behaviour decision for whoever owns this node, not something to settle from the schema alone.

Provenance

Surfaced by CodeRabbit during review of #1773 (a docs regeneration PR). Filing it here rather than fixing it there, since changing a connection default is a functional change and would have been buried in a diff of 25 regenerated files. The generated table in that PR is faithful to the schema; the schema is what disagrees with itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions