Two mechanism beds install the catalogue's redis with the vault beside it
A module's name is its tool namespace and its broker scope, so a fixture running the module's runtime cannot carry another name (novox/hq ADR 0093). The grant and backend-network beds now read the catalogue's redis and install mesh-vault, which provides the secret it requires; the redis-node scenario stocks the vault's runtime. The remaining declared copies say why they stand (novox/hq 04-ISSUES/074).
This commit is contained in:
@@ -34,8 +34,11 @@ import { catalogueIsPresent, catalogueDir } from "./integration/harness.ts";
|
||||
* WEARING the bed proves a mesh mechanism (a grant, a credential, a restart, a route) with a
|
||||
* module cut down to the shape the mechanism needs — no upstream server, a secret in the
|
||||
* environment, a requirement edge removed — and gives it a catalogue name. It is a mesh
|
||||
* test wearing a catalogue module's name. It should carry a name of its own, or read the
|
||||
* catalogue and meet the module's real requirements.
|
||||
* test wearing a catalogue module's name. It cannot simply be renamed: a module's name
|
||||
* is its tool namespace and its broker scope, so a fixture running the module's runtime
|
||||
* must carry the module's name (novox/hq ADR 0093). It reads the catalogue and installs
|
||||
* what the module requires — the vault for a secret, the route module for a route — or
|
||||
* it runs no real runtime and carries a name of its own.
|
||||
* DIFFERS a module bed whose copy differs from the catalogue in more than the lab may rewrite
|
||||
* (an image, a port, an address). Reading the catalogue is the fix and needs a run.
|
||||
*/
|
||||
@@ -55,10 +58,8 @@ const STILL_CARRIED: Record<string, { modules: string[]; why: string }> = {
|
||||
"assigned-plex.test.ts": { modules: ["plex"], why: "WEARING: the sidecar alone, no Plex, the token in the environment" },
|
||||
"assigned-redis.test.ts": { modules: ["redis"], why: "WEARING: its own secret, a lab seal key in the environment" },
|
||||
"assigned-sonarr.test.ts": { modules: ["sonarr"], why: "WEARING: the sidecar alone against a forged config.xml" },
|
||||
"mesh-grant-end-to-end.test.ts": { modules: ["redis"], why: "WEARING: a grant mechanism test" },
|
||||
"minio-grant-end-to-end.test.ts": { modules: ["minio"], why: "WEARING: a grant mechanism test, the root password by env-file" },
|
||||
"postgres-grant-end-to-end.test.ts": { modules: ["postgres"], why: "WEARING: a grant mechanism test, the superuser by env-file" },
|
||||
"provider-on-backend-network.test.ts": { modules: ["redis"], why: "WEARING: a network mechanism test" },
|
||||
"provider-uses-mesh-credential.test.ts": { modules: ["redis"], why: "WEARING: a credential mechanism test" },
|
||||
"runtime-restart-on-config.test.ts": { modules: ["grafana"], why: "WEARING: a restart mechanism test" },
|
||||
"route-forwarding.test.ts": { modules: ["route-proxy", "hello-web"],
|
||||
|
||||
Reference in New Issue
Block a user