nightralph 0.0.32 → 0.0.33

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/index.js CHANGED
@@ -1513,14 +1513,21 @@ function killProcessGroup(pid) {
1513
1513
  try {
1514
1514
  process.kill(-pid, "SIGKILL");
1515
1515
  } catch {
1516
+ try {
1517
+ process.kill(pid, "SIGKILL");
1518
+ } catch {
1519
+ }
1516
1520
  }
1517
1521
  }
1518
1522
  __name(killProcessGroup, "killProcessGroup");
1519
1523
  var runningAgents = /* @__PURE__ */ new Set();
1520
1524
  function killRunningAgents() {
1525
+ let killed = 0;
1521
1526
  for (const pid of runningAgents) {
1522
1527
  killProcessGroup(pid);
1528
+ killed++;
1523
1529
  }
1530
+ return killed;
1524
1531
  }
1525
1532
  __name(killRunningAgents, "killRunningAgents");
1526
1533
  function spawnAgent(opts) {
@@ -2515,6 +2522,7 @@ async function runWavesIsolated(opts) {
2515
2522
  }
2516
2523
  }
2517
2524
  } else {
2525
+ failedNums.add(ticket.num);
2518
2526
  d.log(
2519
2527
  ` ${ticket.filename}: merge failed, staying ready-for-agent`
2520
2528
  );