Module state is hq ADR 0202: 0201 landed first for a provider's derivations

This commit is contained in:
jochen
2026-10-04 03:44:56 +02:00
parent 0677cebb9b
commit d937c7bc2f
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[] = [];