@norskvideo/ctl-dev-kit 0.2.102 → 0.2.104
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.
|
@@ -100,6 +100,14 @@ On 2026-10-02 a reuters tier and a commentary tier each `compose up`ed
|
|
|
100
100
|
(`daemon+2`, and `daemon+3+n` for further launches), and the dev backend's
|
|
101
101
|
port (bound inside the runner container, so not shared). In `direct` reach
|
|
102
102
|
mode with `--internal-only` the studio port is not published at all.
|
|
103
|
+
- A test daemon runs WITHOUT the node MoQ relay (`NORSK_CTL_MOQ_RELAY_ENABLE=0`):
|
|
104
|
+
the daemon never removes its relay, so a test one would leave it behind. A
|
|
105
|
+
suite that needs it (MoQ auth end to end) passes `moqRelay: { auth:
|
|
106
|
+
"required" }` to its `ProductHarness`: the private daemon gets a relay named
|
|
107
|
+
per run (`norsk-moq-relay-<slug>-<hash>`) on three free host ports, with
|
|
108
|
+
`moqRelayAuth` set through `config set` before `serve`, and teardown removes
|
|
109
|
+
the relay and its `-certs` volume. `harness.moqRelay` names the container and
|
|
110
|
+
`statusUrl` (`/relay/info`) for the test's evidence.
|
|
103
111
|
|
|
104
112
|
### One suite per host
|
|
105
113
|
|
package/dashboard/uses.ts
CHANGED
|
@@ -133,12 +133,24 @@ export function dashboardUses(files: readonly { path: string; source: string }[]
|
|
|
133
133
|
for (const arg of node.arguments) visit(arg);
|
|
134
134
|
return;
|
|
135
135
|
}
|
|
136
|
+
// fleet.instance(): which instance the page is (RFC 0008), which a
|
|
137
|
+
// registration does not list either.
|
|
138
|
+
if (
|
|
139
|
+
ts.isCallExpression(node) &&
|
|
140
|
+
ts.isPropertyAccessExpression(node.expression) &&
|
|
141
|
+
node.expression.name.text === "instance" &&
|
|
142
|
+
ts.isIdentifier(node.expression.expression) &&
|
|
143
|
+
clients.has(node.expression.expression.text)
|
|
144
|
+
) {
|
|
145
|
+
for (const arg of node.arguments) visit(arg);
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
136
148
|
if (ts.isIdentifier(node) && (clients.has(node.text) || factories.has(node.text))) {
|
|
137
149
|
const parent = node.parent;
|
|
138
150
|
const declaring = ts.isImportSpecifier(parent) || (ts.isVariableDeclaration(parent) && parent.name === node);
|
|
139
151
|
if (!declaring) {
|
|
140
152
|
problems.push(
|
|
141
|
-
`${where(node)}: ${node.text} is used other than by calling its query, watch, call, live or state.get/put, so the build cannot see what it reaches`,
|
|
153
|
+
`${where(node)}: ${node.text} is used other than by calling its query, watch, call, live, instance or state.get/put, so the build cannot see what it reaches`,
|
|
142
154
|
);
|
|
143
155
|
}
|
|
144
156
|
}
|