@dudousxd/nestjs-durable-core 0.40.1 → 0.42.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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -2
- package/dist/index.d.ts +61 -2
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3062,6 +3062,7 @@ var WorkflowEngine = class {
|
|
|
3062
3062
|
error: cmd.error
|
|
3063
3063
|
});
|
|
3064
3064
|
} else if (cmd.kind === "call") {
|
|
3065
|
+
if (await this.store.getCheckpoint(run.id, cmd.seq)) continue;
|
|
3065
3066
|
await this.store.saveCheckpoint(stepCheckpoint({
|
|
3066
3067
|
runId: run.id,
|
|
3067
3068
|
seq: cmd.seq,
|
|
@@ -3073,7 +3074,11 @@ var WorkflowEngine = class {
|
|
|
3073
3074
|
workerGroup: cmd.group,
|
|
3074
3075
|
enqueuedAt: at,
|
|
3075
3076
|
startedAt: at,
|
|
3076
|
-
finishedAt: at
|
|
3077
|
+
finishedAt: at,
|
|
3078
|
+
// A `ctx.gather_calls([...])` fan-out stamps every dispatched `call` in the fan with the
|
|
3079
|
+
// same group, so the dashboard renders the remote steps as one parallel fan (parity with
|
|
3080
|
+
// the gathered `recordStep`/`startChild` tags). Undefined for a lone sequential `ctx.call`.
|
|
3081
|
+
parallelGroup: cmd.parallelGroup
|
|
3077
3082
|
}));
|
|
3078
3083
|
await this.pool.dispatch({
|
|
3079
3084
|
runId: run.id,
|