@tempo-ai/visual-review 0.0.108-staging.1 → 0.0.108-staging.2
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/bin.js +1 -1
- package/dist/{chunk-WGNWCWMJ.js → chunk-2EWJG76K.js} +21 -6
- package/dist/chunk-2EWJG76K.js.map +1 -0
- package/dist/{cli-DPVTULCN.js → cli-DIZKG7EY.js} +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-WGNWCWMJ.js.map +0 -1
- /package/dist/{cli-DPVTULCN.js.map → cli-DIZKG7EY.js.map} +0 -0
package/dist/bin.js
CHANGED
|
@@ -6,7 +6,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
6
6
|
const [command, ...commandArgs] = argv;
|
|
7
7
|
switch (command) {
|
|
8
8
|
case "capture":
|
|
9
|
-
return await (await import("./cli-
|
|
9
|
+
return await (await import("./cli-DIZKG7EY.js")).main(commandArgs);
|
|
10
10
|
case "claim":
|
|
11
11
|
return await (await import("./claim-WI2ZVIDS.js")).main(commandArgs);
|
|
12
12
|
case "report":
|
|
@@ -2896,7 +2896,10 @@ var AppDevServer = class _AppDevServer {
|
|
|
2896
2896
|
await this.stopPromise.catch(() => {
|
|
2897
2897
|
});
|
|
2898
2898
|
}
|
|
2899
|
-
this.startPromise =
|
|
2899
|
+
this.startPromise = (async () => {
|
|
2900
|
+
if (this.child) await this.killChild();
|
|
2901
|
+
return await this.runStartCycle(0, signal);
|
|
2902
|
+
})().finally(() => {
|
|
2900
2903
|
this.startPromise = null;
|
|
2901
2904
|
});
|
|
2902
2905
|
return this.startPromise;
|
|
@@ -3098,7 +3101,8 @@ var AppDevServer = class _AppDevServer {
|
|
|
3098
3101
|
startSpawned = true;
|
|
3099
3102
|
this.wireProcessEvents(outputEpoch);
|
|
3100
3103
|
const onAbort = () => {
|
|
3101
|
-
void this.killChild()
|
|
3104
|
+
void this.killChild().catch(() => {
|
|
3105
|
+
});
|
|
3102
3106
|
};
|
|
3103
3107
|
signal?.addEventListener("abort", onAbort, { once: true });
|
|
3104
3108
|
removeAbortListener = () => signal?.removeEventListener("abort", onAbort);
|
|
@@ -3197,7 +3201,14 @@ Cleanup also failed: ${cleanupError}` : message;
|
|
|
3197
3201
|
});
|
|
3198
3202
|
cleanupError = describeShellCommandFailure(stopResult);
|
|
3199
3203
|
}
|
|
3200
|
-
|
|
3204
|
+
try {
|
|
3205
|
+
await this.killChild();
|
|
3206
|
+
} catch (error) {
|
|
3207
|
+
return [
|
|
3208
|
+
cleanupError,
|
|
3209
|
+
error instanceof Error ? error.message : String(error)
|
|
3210
|
+
].filter(Boolean).join("\n");
|
|
3211
|
+
}
|
|
3201
3212
|
this.launcherFinished = false;
|
|
3202
3213
|
this.commandEnv = null;
|
|
3203
3214
|
return cleanupError;
|
|
@@ -3553,9 +3564,13 @@ Hint: ${hint.hint}` : ""}`;
|
|
|
3553
3564
|
}
|
|
3554
3565
|
} catch {
|
|
3555
3566
|
}
|
|
3556
|
-
await waitForChildExit(child, 2e3)
|
|
3567
|
+
if (!await waitForChildExit(child, 2e3)) {
|
|
3568
|
+
throw new Error(
|
|
3569
|
+
`App dev server process ${pid} survived termination. Retry cleanup before starting a replacement.`
|
|
3570
|
+
);
|
|
3571
|
+
}
|
|
3557
3572
|
}
|
|
3558
|
-
this.child = null;
|
|
3573
|
+
if (this.child === child) this.child = null;
|
|
3559
3574
|
}
|
|
3560
3575
|
async ensureParentDeathWatchdog() {
|
|
3561
3576
|
if (process.env.TEMPO_DEVSERVER_WATCHDOG === "0") return null;
|
|
@@ -13871,4 +13886,4 @@ export {
|
|
|
13871
13886
|
main,
|
|
13872
13887
|
VISUAL_REVIEW_OIDC_AUDIENCE
|
|
13873
13888
|
};
|
|
13874
|
-
//# sourceMappingURL=chunk-
|
|
13889
|
+
//# sourceMappingURL=chunk-2EWJG76K.js.map
|