@nsshunt/stsrunnerframework 1.0.98 → 1.0.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.
@@ -2258,11 +2258,14 @@ class STSWorkerManager {
2258
2258
  runnerEx.publishInstrumentController.EndPublish();
2259
2259
  }
2260
2260
  if (runnerEx.state !== IRunnerState.terminated) {
2261
+ __privateGet(this, _debug2).call(this, chalk.grey(`Archive runner: [${JSON.stringify(runnerEx.asyncRunnerContext)}]`));
2261
2262
  const runner = this.CreateRunnerCopy(runnerEx);
2262
2263
  __privateGet(this, _archiveList).push(runner);
2263
2264
  if (__privateGet(this, _archiveList).length > __privateGet(this, _options2).maxArchiveListLength) {
2264
2265
  __privateGet(this, _archiveList).shift();
2265
2266
  }
2267
+ } else {
2268
+ __privateGet(this, _debug2).call(this, chalk.grey(`Runner has been terminated and will not be archived, runner: [${JSON.stringify(runnerEx.asyncRunnerContext)}]`));
2266
2269
  }
2267
2270
  delete workerEx.runnersEx[removeList[i].runnerId];
2268
2271
  }
@@ -2809,28 +2812,28 @@ class STSWorkerManager {
2809
2812
  });
2810
2813
  return retVal;
2811
2814
  });
2812
- __publicField(this, "StartAllWorkers", (workerIds) => {
2815
+ __publicField(this, "StartWorkers", (workerIds) => {
2813
2816
  return __privateGet(this, _HandleAllWorkers).call(this, workerIds, "Start");
2814
2817
  });
2815
- __publicField(this, "StopAllWorkers", (workerIds) => {
2818
+ __publicField(this, "StopWorkers", (workerIds) => {
2816
2819
  return __privateGet(this, _HandleAllWorkers).call(this, workerIds, "Stop");
2817
2820
  });
2818
- __publicField(this, "PauseAllWorkers", (workerIds) => {
2821
+ __publicField(this, "PauseWorkers", (workerIds) => {
2819
2822
  return __privateGet(this, _HandleAllWorkers).call(this, workerIds, "Pause");
2820
2823
  });
2821
- __publicField(this, "ResumeAllWorkers", (workerIds) => {
2824
+ __publicField(this, "ResumeWorkers", (workerIds) => {
2822
2825
  return __privateGet(this, _HandleAllWorkers).call(this, workerIds, "Resume");
2823
2826
  });
2824
- __publicField(this, "ExecuteAllWorkers", (workerIds) => {
2827
+ __publicField(this, "ExecuteWorkers", (workerIds) => {
2825
2828
  return __privateGet(this, _HandleAllWorkers).call(this, workerIds, "Execute");
2826
2829
  });
2827
- __publicField(this, "ResetAllWorkers", (workerIds) => {
2830
+ __publicField(this, "ResetWorkers", (workerIds) => {
2828
2831
  return __privateGet(this, _HandleAllWorkers).call(this, workerIds, "Reset");
2829
2832
  });
2830
- __publicField(this, "TerminateAllWorkers", (workerIds) => {
2833
+ __publicField(this, "TerminateWorkers", (workerIds) => {
2831
2834
  return __privateGet(this, _HandleAllWorkers).call(this, workerIds, "Terminate");
2832
2835
  });
2833
- __publicField(this, "UpdateAllWorkers", (workerIds, options) => {
2836
+ __publicField(this, "UpdateWorkers", (workerIds, options) => {
2834
2837
  return __privateGet(this, _HandleAllWorkers).call(this, workerIds, "UpdateOptions", options);
2835
2838
  });
2836
2839
  __privateAdd(this, _ExecuteCommandOnRunners, (workerId, runnerIds, command, executionProfile) => {