@norskvideo/ctl-test-harness 0.1.96 → 0.1.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/daemon.d.ts CHANGED
@@ -102,8 +102,8 @@ export declare function seedDaemonConfig(storeDir: string): void;
102
102
  * (and each daemon start `rm -f`s the cpu-monitor sidecar by name). The port
103
103
  * alone is not unique there -- two repos' slugs can hash into the same band --
104
104
  * so the names carry the store dir too, which is per run and per job. A ctl
105
- * that predates an override ignores it. The node MoQ relay has no per-daemon
106
- * name, so a test daemon runs without it. */
105
+ * that predates an override ignores it. A test daemon runs without the node
106
+ * MoQ relay: one of its own would need its own name and three host ports. */
107
107
  export declare function daemonSpawnEnv(o: {
108
108
  storeDir: string;
109
109
  port: number;
package/daemon.js CHANGED
@@ -231,8 +231,8 @@ export function seedDaemonConfig(storeDir) {
231
231
  * (and each daemon start `rm -f`s the cpu-monitor sidecar by name). The port
232
232
  * alone is not unique there -- two repos' slugs can hash into the same band --
233
233
  * so the names carry the store dir too, which is per run and per job. A ctl
234
- * that predates an override ignores it. The node MoQ relay has no per-daemon
235
- * name, so a test daemon runs without it. */
234
+ * that predates an override ignores it. A test daemon runs without the node
235
+ * MoQ relay: one of its own would need its own name and three host ports. */
236
236
  export function daemonSpawnEnv(o) {
237
237
  // A spawned daemon must boot GUARDED: exercising the real ingress secret is
238
238
  // the point of the tiers that spawn one. The unit tier's marker would
@@ -243,10 +243,10 @@ export function daemonSpawnEnv(o) {
243
243
  return {
244
244
  NORSK_CTL_PROXY_CONTAINER: `norsk-proxy-${id}`,
245
245
  NORSK_CTL_CPU_MONITOR_CONTAINER: `norsk-ctl-cpu-monitor-${id}`,
246
- // No node MoQ relay: it is a box-global singleton the daemon never removes,
247
- // so a test daemon would leave one behind or adopt another job's (probe's
248
- // smoke ran in relay mode on 2026-10-10). Instances keep their own MoQ
249
- // listener. A caller that wants the relay sets it explicitly.
246
+ // No node MoQ relay: the daemon never removes it, so a test daemon would
247
+ // leave one behind (probe's smoke ran in relay mode on 2026-10-10).
248
+ // Instances keep their own MoQ listener. A caller that wants the relay
249
+ // sets it explicitly, with NORSK_CTL_MOQ_RELAY_CONTAINER and its ports.
250
250
  NORSK_CTL_MOQ_RELAY_ENABLE: "0",
251
251
  ...inherited,
252
252
  NORSK_CTL_STORE_DIR: o.storeDir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/ctl-test-harness",
3
- "version": "0.1.96",
3
+ "version": "0.1.97",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {