@linzumi/cli 1.0.233 → 1.0.235
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/README.md +1 -1
- package/dist/impl-res/cloud-supervisor.mjs +24 -24
- package/dist/impl-res/index.js +241 -239
- package/dist/impl-ts/cloud-supervisor.mjs +24 -24
- package/dist/impl-ts/index.js +511 -510
- package/package.json +1 -1
- package/scripts/build-core-lock-parity-oracle.mjs +9 -2
- package/scripts/build-pipeline-parity-oracle.mjs +1 -1
package/package.json
CHANGED
|
@@ -235,6 +235,9 @@ function handleLockLifecycle(testCase) {
|
|
|
235
235
|
configPath,
|
|
236
236
|
pid: action.pid,
|
|
237
237
|
...(action.launchSource === undefined ? {} : { launchSource: action.launchSource }),
|
|
238
|
+
...(action.processGroupLeader === undefined
|
|
239
|
+
? {}
|
|
240
|
+
: { processGroupLeader: action.processGroupLeader }),
|
|
238
241
|
now,
|
|
239
242
|
isPidAlive,
|
|
240
243
|
cliVersion: action.cliVersion,
|
|
@@ -326,8 +329,12 @@ async function handleTakeoverFlow(testCase) {
|
|
|
326
329
|
const lockReleased = () =>
|
|
327
330
|
schedule.lockReleasedAtMs !== undefined && virtualMs >= schedule.lockReleasedAtMs;
|
|
328
331
|
const deps = {
|
|
329
|
-
isPidAlive: () =>
|
|
330
|
-
|
|
332
|
+
isPidAlive: (pid) =>
|
|
333
|
+
pid < 0 && schedule.groupDeadAtMs !== undefined
|
|
334
|
+
? virtualMs < schedule.groupDeadAtMs
|
|
335
|
+
: schedule.pidDeadAtMs === undefined
|
|
336
|
+
? true
|
|
337
|
+
: virtualMs < schedule.pidDeadAtMs,
|
|
331
338
|
signalPid: (pid, signal) => {
|
|
332
339
|
signals.push({ pid, signal, atMs: virtualMs });
|
|
333
340
|
const code = signalFailures[signal];
|
|
@@ -355,7 +355,7 @@ function runTurnStallWatchdogCase(caseInput) {
|
|
|
355
355
|
if (op.op === 'advance') {
|
|
356
356
|
clock.nowMs = op.toMs;
|
|
357
357
|
timers.fireDue();
|
|
358
|
-
} else if (op.op === 'kick') watchdog.kick();
|
|
358
|
+
} else if (op.op === 'kick') watchdog.kick({ kind: 'transcript_visible' });
|
|
359
359
|
else if (op.op === 'stop') watchdog.stop();
|
|
360
360
|
else if (op.op === 'setActive') turnActive = op.active === true;
|
|
361
361
|
}
|