@rallycry/conveyor-agent 10.8.2 → 10.10.0

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/dist/cli.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  runStartCommand,
29
29
  sampleKeyUsage,
30
30
  terminateProcessGroup
31
- } from "./chunk-LBMFXTIV.js";
31
+ } from "./chunk-BN5TDTW7.js";
32
32
  import "./chunk-7TQO4ZF4.js";
33
33
 
34
34
  // src/cli.ts
@@ -43,7 +43,7 @@ import { dirname } from "path";
43
43
  var POSTGRES_TIMEOUT_MS = 12e4;
44
44
  var FIREBASE_TIMEOUT_MS = 6e4;
45
45
  var FALLBACK_TIMEOUT_MS = 3e4;
46
- var DEFAULT_POLL_INTERVAL_MS = 1e3;
46
+ var DEFAULT_SIDECAR_POLL_INTERVAL_MS = 1e3;
47
47
  var DEFAULT_PROBE_TIMEOUT_MS = 2e3;
48
48
  var POSTGRES_DEFAULT_PORT = 5432;
49
49
  var FIREBASE_DEFAULT_PORT = 9099;
@@ -187,7 +187,7 @@ async function waitForSidecars(opts = {}) {
187
187
  onLog = () => {
188
188
  },
189
189
  timeoutMs,
190
- pollIntervalMs = DEFAULT_POLL_INTERVAL_MS,
190
+ pollIntervalMs = DEFAULT_SIDECAR_POLL_INTERVAL_MS,
191
191
  probe = defaultProbe,
192
192
  startLazy = true,
193
193
  signal
@@ -650,7 +650,8 @@ var ProjectSessionRunner = class {
650
650
  type: "rate_limit_update",
651
651
  rateLimitType: sample.rateLimitType,
652
652
  utilization: sample.utilization,
653
- status: sample.status
653
+ status: sample.status,
654
+ gauges: sample.gauges
654
655
  });
655
656
  }
656
657
  }
@@ -997,7 +998,8 @@ var AdhocSessionRunner = class {
997
998
  type: "rate_limit_update",
998
999
  rateLimitType: sample.rateLimitType,
999
1000
  utilization: sample.utilization,
1000
- status: sample.status
1001
+ status: sample.status,
1002
+ gauges: sample.gauges
1001
1003
  });
1002
1004
  }
1003
1005
  }
@@ -1171,7 +1173,6 @@ var ReviewChildSupervisor = class {
1171
1173
  // src/runner/session-child.ts
1172
1174
  import { spawn as nodeSpawn2 } from "child_process";
1173
1175
  var logger3 = createServiceLogger("SessionChild");
1174
- var KILL_WAIT_MS2 = 5e3;
1175
1176
  function buildSpawnedChildEnv(baseEnv, data) {
1176
1177
  const env = { ...baseEnv };
1177
1178
  env.CONVEYOR_TASK_TOKEN = data.sessionJwt;
@@ -1281,7 +1282,7 @@ var SessionChildSupervisor = class {
1281
1282
  } catch {
1282
1283
  }
1283
1284
  resolve();
1284
- }, KILL_WAIT_MS2);
1285
+ }, KILL_WAIT_MS);
1285
1286
  timer.unref();
1286
1287
  child.once("exit", () => {
1287
1288
  clearTimeout(timer);