Honor resident swarm state configuration
This commit is contained in:
parent
2e6dd30748
commit
a4a5bd9a3c
2 changed files with 6 additions and 1 deletions
|
|
@ -34,7 +34,10 @@ const swarmOperatorViewSchemaId = "voidbot.swarm_operator_view.v1";
|
|||
|
||||
const args = parseArgs(process.argv.slice(2));
|
||||
|
||||
const env = await readDotEnv(resolve(repoRoot, ".env"));
|
||||
const env = {
|
||||
...(await readDotEnv(resolve(repoRoot, ".env"))),
|
||||
...process.env,
|
||||
};
|
||||
const swarmCultMeshRudpEndpoint = String(
|
||||
args.rudpEndpoint ||
|
||||
args["rudp-endpoint"] ||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ import test from "node:test";
|
|||
|
||||
const source = readFileSync(new URL("./render-voidbot-swarm-dashboard.mjs", import.meta.url), "utf8");
|
||||
|
||||
assert.match(source, /\.\.\.process\.env/, "the resident renderer must honor daemon process configuration");
|
||||
|
||||
test("the operator surface is composed from metrics and typed lists", () => {
|
||||
for (const componentId of [
|
||||
"voidbot-status-metrics",
|
||||
|
|
|
|||
Loading…
Reference in a new issue