overlord-cli 0.2608061150.0 → 0.2608071121.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/index.js +11 -8
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22184,11 +22184,11 @@ The runner will not register a target for you \u2014 declare this machine first,
|
|
|
22184
22184
|
} catch {
|
|
22185
22185
|
}
|
|
22186
22186
|
}
|
|
22187
|
-
const launchingResponse = asRecord5(
|
|
22188
|
-
await runtime.backend.post({ path: `/api/runner/requests/${requestId}/launching` })
|
|
22189
|
-
);
|
|
22190
|
-
const sessionChannel = asRecord5(launchingResponse.sessionChannel);
|
|
22191
22187
|
try {
|
|
22188
|
+
const launchingResponse = asRecord5(
|
|
22189
|
+
await runtime.backend.post({ path: `/api/runner/requests/${requestId}/launching` })
|
|
22190
|
+
);
|
|
22191
|
+
const sessionChannel = asRecord5(launchingResponse.sessionChannel);
|
|
22192
22192
|
const mutation = parseMutationFromMetadata(requestRecord.metadata);
|
|
22193
22193
|
if (mutation) {
|
|
22194
22194
|
const mutationResult = await executeLocalTargetMutation({ mutation });
|
|
@@ -22269,10 +22269,13 @@ The runner will not register a target for you \u2014 declare this machine first,
|
|
|
22269
22269
|
}
|
|
22270
22270
|
return { launched: true, longPoll };
|
|
22271
22271
|
} catch (error) {
|
|
22272
|
-
|
|
22273
|
-
|
|
22274
|
-
|
|
22275
|
-
|
|
22272
|
+
try {
|
|
22273
|
+
await runtime.backend.post({
|
|
22274
|
+
path: `/api/runner/requests/${requestId}/failed`,
|
|
22275
|
+
body: { error: error instanceof Error ? error.message : String(error) }
|
|
22276
|
+
});
|
|
22277
|
+
} catch {
|
|
22278
|
+
}
|
|
22276
22279
|
throw error;
|
|
22277
22280
|
}
|
|
22278
22281
|
};
|