trigger.dev 0.0.0-v3-schedules-beta-20240417103105 → 0.0.0-v3-prelease-20240419151535

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
@@ -800,7 +800,7 @@ import invariant from "tiny-invariant";
800
800
  import { z as z4 } from "zod";
801
801
 
802
802
  // package.json
803
- var version = "0.0.0-v3-schedules-beta-20240417103105";
803
+ var version = "0.0.0-v3-prelease-20240419151535";
804
804
  var dependencies = {
805
805
  "@clack/prompts": "^0.7.0",
806
806
  "@depot/cli": "0.0.1-cli.2.55.0",
@@ -816,7 +816,7 @@ var dependencies = {
816
816
  "@opentelemetry/sdk-trace-base": "^1.22.0",
817
817
  "@opentelemetry/sdk-trace-node": "^1.22.0",
818
818
  "@opentelemetry/semantic-conventions": "^1.22.0",
819
- "@trigger.dev/core": "workspace:0.0.0-v3-schedules-beta-20240417103105",
819
+ "@trigger.dev/core": "workspace:0.0.0-v3-prelease-20240419151535",
820
820
  "@types/degit": "^2.8.3",
821
821
  chalk: "^5.2.0",
822
822
  chokidar: "^3.5.3",
@@ -4865,6 +4865,12 @@ var TaskRunProcess = class {
4865
4865
  kill
4866
4866
  });
4867
4867
  this._isBeingKilled = kill;
4868
+ setTimeout(() => {
4869
+ if (this._child && !this._child.killed) {
4870
+ logger.debug(`[${this.execution.run.id}] killing task run process after timeout`);
4871
+ this._child.kill();
4872
+ }
4873
+ }, 5e3);
4868
4874
  }
4869
4875
  async executeTaskRun(payload) {
4870
4876
  let resolver;
@@ -4921,6 +4927,7 @@ var TaskRunProcess = class {
4921
4927
  break;
4922
4928
  }
4923
4929
  case "READY_TO_DISPOSE": {
4930
+ logger.debug(`[${this.execution.run.id}] task run process is ready to dispose`);
4924
4931
  this.#kill();
4925
4932
  break;
4926
4933
  }
@@ -4983,6 +4990,7 @@ var TaskRunProcess = class {
4983
4990
  }
4984
4991
  #kill() {
4985
4992
  if (this._child && !this._child.killed) {
4993
+ logger.debug(`[${this.execution.run.id}] killing task run process`);
4986
4994
  this._child?.kill();
4987
4995
  }
4988
4996
  }