smoke

package
v0.1.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package smoke is a test-only package: its integration tests boot the tier-0 graph stack the way a product's own main would, from one JSON configuration through config.Manager, ServiceManager and ComponentManager, in a child process, and check what a consumer can read of it (openspec change test-557-composed-stack-smoke, capability composed-stack).

The stack is graph-ingest, graph-index, graph-embedding (BM25, no provider), graph-clustering, graph-query, graph-gateway and an applied-state websocket output on one NATS server. The test is the producer, publishing a fixed set of entities on entity.>, and the observer: graph.query.* answers (semantic, similar, localSearch and the text search among them), graph-gateway's GraphQL answers over HTTP, the websocket output's frames folded against ENTITY_STATES, the GRAPH_STATUS readiness keys, component health over HTTP and the EMBEDDING_INDEX records. Every wait is ordered after the write it checks; a community answer waits on its record's entity_revision.

A second composition has no graph-embedding, neither configured nor registered: TestSmoke_NoEmbedderAnswers boots it and asks pkg/fusion, over pkg/fusion/fusionnats, the questions a stack without an embedder answers, and the word question it refuses.

The package holds no production code; everything else is in integration-tagged test files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL