@norskvideo/ctl-test-harness 0.1.70 → 0.1.71
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.js +6 -1
- package/package.json +1 -1
package/daemon.js
CHANGED
|
@@ -316,7 +316,12 @@ export async function cleanupDaemon(opts) {
|
|
|
316
316
|
console.error(`cleanup: delete ${id} failed: ${e}`);
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
|
|
319
|
+
// Stop the proxy unless the caller says it never ran one (`proxy: false`).
|
|
320
|
+
// It used to need `proxy: true`, and three callers passing a real stopProxy
|
|
321
|
+
// omitted it — so `shutdown --daemon-only` left their proxy pair running.
|
|
322
|
+
// On the shared ar-arm-vm runner a leftover pair then answered for the next
|
|
323
|
+
// job's proxy (2026-10-02, norsk-ctl Checks 37048720935).
|
|
324
|
+
if (opts.proxy ?? true)
|
|
320
325
|
try {
|
|
321
326
|
await opts.stopProxy();
|
|
322
327
|
}
|