@norskvideo/ctl-test-harness 0.1.98 → 0.1.100

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.
Files changed (2) hide show
  1. package/demo/run.js +13 -3
  2. package/package.json +4 -4
package/demo/run.js CHANGED
@@ -307,11 +307,21 @@ export function defaultDemoDeps(cwd) {
307
307
  brokenSymlinks: findBrokenSymlinks,
308
308
  state: fileStateStore(cwd),
309
309
  hold: (abort) => new Promise((res) => {
310
+ // A timer, not just listeners: once `demo down` has taken the daemon
311
+ // child away, signal listeners are all that keep this process alive,
312
+ // and bun (1.3.13, 1.4.2) busy-waits in that state -- every `up` torn
313
+ // down from another shell sat at 100% of a core until SIGKILLed. With
314
+ // a timer pending the event loop sleeps. The period is far beyond any
315
+ // hold; if it ever fires it does nothing and re-arms.
316
+ const keepAlive = setInterval(() => { }, 1 << 30);
317
+ const release = () => {
318
+ clearInterval(keepAlive);
319
+ res();
320
+ };
310
321
  if (abort?.aborted)
311
- return res();
312
- abort?.addEventListener("abort", () => res(), { once: true });
322
+ return release();
323
+ abort?.addEventListener("abort", release, { once: true });
313
324
  if (!abort) {
314
- const release = () => res();
315
325
  process.once("SIGINT", release);
316
326
  process.once("SIGTERM", release);
317
327
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/ctl-test-harness",
3
- "version": "0.1.98",
3
+ "version": "0.1.100",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -96,9 +96,9 @@
96
96
  "devDependencies": {
97
97
  "@types/bun": "latest",
98
98
  "@types/node": "^22.10.0",
99
- "@norskvideo/norsk-studio": "1.30.0-2026-10-17-4468cc12",
100
- "@norskvideo/norsk-studio-built-ins": "1.30.0-2026-10-17-4468cc12",
101
- "@norskvideo/norsk-sdk": "1.3.1-2026-10-16-e43e0f90"
99
+ "@norskvideo/norsk-studio": "1.30.0-2026-10-20-6fb182ff",
100
+ "@norskvideo/norsk-studio-built-ins": "1.30.0-2026-10-20-6fb182ff",
101
+ "@norskvideo/norsk-sdk": "1.3.1-2026-10-21-c97178c2"
102
102
  },
103
103
  "peerDependenciesMeta": {
104
104
  "@norskvideo/norsk-studio": {