@nsshunt/stsrunnerframework 1.0.117 → 1.0.119

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.
@@ -2390,9 +2390,10 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
2390
2390
  __publicField(this, "GetWorkersSmall", async () => {
2391
2391
  try {
2392
2392
  await __privateGet(this, _SyncWorkerDataFromWorkers).call(this);
2393
- const retVal = {};
2393
+ const retVal = [];
2394
+ retVal.push(__privateGet(this, _id));
2394
2395
  for (const [, workerEx] of Object.entries(__privateGet(this, _workersEx))) {
2395
- retVal[workerEx.id] = this.CreateWorkerCopySmall(workerEx);
2396
+ retVal.push(this.CreateWorkerCopySmall(workerEx));
2396
2397
  }
2397
2398
  return retVal;
2398
2399
  } catch (error) {
@@ -3227,7 +3228,10 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
3227
3228
  const retVal = {
3228
3229
  id: runnerEx.id,
3229
3230
  iteration: runnerEx.iteration,
3230
- state: runnerEx.state
3231
+ state: runnerEx.state,
3232
+ options: {
3233
+ plan: runnerEx.options.plan
3234
+ }
3231
3235
  };
3232
3236
  return retVal;
3233
3237
  } catch (error) {
@@ -3255,13 +3259,16 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
3255
3259
  }
3256
3260
  CreateWorkerCopySmall(workerEx) {
3257
3261
  try {
3258
- const { id, options, runnersEx, workerManagerId } = workerEx;
3259
- const workerCopy = {
3260
- id,
3261
- runners: {}
3262
- };
3263
- for (const [, runnerEx] of Object.entries(runnersEx)) {
3264
- workerCopy.runners[runnerEx.id] = this.CreateRunnerCopySmall(runnerEx);
3262
+ const workerCopy = [];
3263
+ workerCopy.push(workerEx.id);
3264
+ workerCopy.push(Object.entries(workerEx.runnersEx).length);
3265
+ for (const [, runnerEx] of Object.entries(workerEx.runnersEx)) {
3266
+ const runnerCopy = [];
3267
+ runnerCopy.push(runnerEx.id);
3268
+ runnerCopy.push(runnerEx.iteration);
3269
+ runnerCopy.push(runnerEx.state);
3270
+ runnerCopy.push(runnerEx.options.plan);
3271
+ workerCopy.push(runnerCopy);
3265
3272
  }
3266
3273
  return workerCopy;
3267
3274
  } catch (error) {