@opengeni/worker-bundle 0.26.0-canary.1 → 0.26.0-canary.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.
|
@@ -9792,7 +9792,8 @@ function createSessionStateActivities(services, overrides = {}) {
|
|
|
9792
9792
|
sessionId: input.sessionId,
|
|
9793
9793
|
workflowId,
|
|
9794
9794
|
trigger: input.trigger,
|
|
9795
|
-
error: input.error ?? "Agent turn admission failed before attempt claim."
|
|
9795
|
+
error: input.error ?? "Agent turn admission failed before attempt claim.",
|
|
9796
|
+
...input.preClaimFailure ? { admissionFailure: input.preClaimFailure } : {}
|
|
9796
9797
|
});
|
|
9797
9798
|
if (failed.action === "terminal") return { action: "terminal" };
|
|
9798
9799
|
if (failed.action === "stale") return { action: "stale" };
|
|
@@ -10089,7 +10090,7 @@ function createSessionStateActivities(services, overrides = {}) {
|
|
|
10089
10090
|
await publishDurableSessionEventsFn(bus, input.workspaceId, input.sessionId, settled.events);
|
|
10090
10091
|
}
|
|
10091
10092
|
await refreshQueuedTurnsGauge(db, observability, countQueuedTurnsFn, recordTurnsQueuedGaugeFn);
|
|
10092
|
-
if (settled.action === "stale") {
|
|
10093
|
+
if (settled.action === "stale" || !settled.notifyParent) {
|
|
10093
10094
|
return;
|
|
10094
10095
|
}
|
|
10095
10096
|
await notifyParentOfChildIdleFn(
|
|
@@ -10199,4 +10200,4 @@ export {
|
|
|
10199
10200
|
createControlActivities,
|
|
10200
10201
|
createControlActivitiesFromServices
|
|
10201
10202
|
};
|
|
10202
|
-
//# sourceMappingURL=activities-control-
|
|
10203
|
+
//# sourceMappingURL=activities-control-3SKLDTXQ.js.map
|