@norskvideo/ctl-test-harness 0.1.105 → 0.1.107
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/demo/run.d.ts +2 -1
- package/demo/run.js +7 -1
- package/package.json +3 -3
package/demo/run.d.ts
CHANGED
|
@@ -226,7 +226,8 @@ export interface MoqRelayHandle {
|
|
|
226
226
|
/** Engines publish into the relay on this one. */
|
|
227
227
|
quicPort: number;
|
|
228
228
|
statusPort: number;
|
|
229
|
-
/** The relay's operator surface
|
|
229
|
+
/** The relay's operator surface: the host's loopback, or the relay by name
|
|
230
|
+
* on norsk-net in direct reach. */
|
|
230
231
|
statusUrl: string;
|
|
231
232
|
}
|
|
232
233
|
export interface SessionOptions {
|
package/demo/run.js
CHANGED
|
@@ -333,6 +333,8 @@ export function defaultDemoDeps(cwd) {
|
|
|
333
333
|
log: (line) => console.log(`[demo] ${line}`),
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
|
+
/** ctl's MOQ_RELAY_STATUS_INTERNAL_PORT: the relay's status surface inside its container. */
|
|
337
|
+
const MOQ_RELAY_STATUS_INTERNAL_PORT = 6791;
|
|
336
338
|
/** Where the store's config is: what `config set` with no daemon writes. */
|
|
337
339
|
const CONFIG_FILE = "config.yaml";
|
|
338
340
|
/** `config set` aimed at a port nothing listens on, so it takes its no-daemon
|
|
@@ -614,7 +616,11 @@ export class DemoSession {
|
|
|
614
616
|
port,
|
|
615
617
|
quicPort,
|
|
616
618
|
statusPort,
|
|
617
|
-
|
|
619
|
+
// Published on the host's loopback only, which a runner container
|
|
620
|
+
// cannot reach; on norsk-net with it, it reaches the relay by name.
|
|
621
|
+
statusUrl: netReachMode() === "direct"
|
|
622
|
+
? `http://${container}:${MOQ_RELAY_STATUS_INTERNAL_PORT}`
|
|
623
|
+
: `http://127.0.0.1:${statusPort}`,
|
|
618
624
|
};
|
|
619
625
|
this.deps.log(`MoQ relay ${container}: :${port}, quic :${quicPort}, status :${statusPort}, auth ${auth}`);
|
|
620
626
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norskvideo/ctl-test-harness",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.107",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@types/bun": "latest",
|
|
107
107
|
"@types/node": "^22.10.0",
|
|
108
|
-
"@norskvideo/norsk-studio": "1.30.0-2026-10-
|
|
109
|
-
"@norskvideo/norsk-studio-built-ins": "1.30.0-2026-10-
|
|
108
|
+
"@norskvideo/norsk-studio": "1.30.0-2026-10-23-8e050eb4",
|
|
109
|
+
"@norskvideo/norsk-studio-built-ins": "1.30.0-2026-10-23-8e050eb4",
|
|
110
110
|
"@norskvideo/norsk-sdk": "1.3.1-2026-10-22-aeac91a4"
|
|
111
111
|
},
|
|
112
112
|
"peerDependenciesMeta": {
|