Merge pull request 'Module state is hq ADR 0202 (0201 landed first for a provider's derivations)' (#19) from fix/adr-0202-module-state into main
mesh/delivery held for a person: merged without a passing check: only a person decides that it goes on

This commit is contained in:
2026-10-04 09:01:24 +00:00
8 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// A launched bundle that keeps state through its runtime (novox/hq ADR 0201): it watches its servers as
// A launched bundle that keeps state through its runtime (novox/hq ADR 0202): it watches its servers as
// it is imported, before it says what it serves, and its tools write, read and list them.
import { state } from "../../dist/state/index.js";
import { registerModuleTools } from "../../dist/tools/index.js";
+1 -1
View File
@@ -160,7 +160,7 @@ test("a launched bundle subscribes as it is imported, handles events the runtime
}
});
test("a launched bundle watches its state as it is imported, has the current values before it goes on, and keeps state through the runtime (ADR 0201)", async () => {
test("a launched bundle watches its state as it is imported, has the current values before it goes on, and keeps state through the runtime (ADR 0202)", async () => {
const child = spawn(process.execPath, [fileURLToPath(new URL("./fixtures/stdio-state.mjs", import.meta.url))],
{ stdio: ["pipe", "pipe", "pipe"], env: { ...process.env, MESH_SERVED_MODULE: "keeper" } });
const seen: any[] = [];