Skip to content

Commit e003ebb

Browse files
fix(automation): a flow's answer also names the read-only fields its map items and resumed subflow children dropped (#33019) (#33068)
<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} --> _Requested by **Elon** · [project thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DYHwnzH3Wsm7FkVeU3Pz4b3)_ Fixes #33019 Clause-②: yes (widening) Metadata-protocol: none ## 维护者速读 - 改了什么:流程回答里的 `droppedFields`(哪些字段因只读没写进去)现在也带上「逐条处理(map)」每条子运行丢掉的字段,以及暂停后再恢复的子流程丢掉的字段,不论恢复时调用方给的是父流程的运行号还是子流程自己的。三条路共用同一个折叠函数,仍按对象+原因合并成一条。折叠函数同时加固:外部注册的节点交回格式不对的 `droppedFields` 时直接跳过,不会把已完成的运行变成失败或重试。 - 为什么改:#33007 之后,回答里 `summary` 写着「改了 N 条」,这 N 条包括 map 每条子运行和恢复过的子流程写的,但 `droppedFields` 只算流程自己的写步骤和不暂停的子流程。最常见的「对每一行提交」场景(map 里每条都写只读的 `status`)回答里一个字都没有。 - 风险与回滚:放宽(回答在这两种形状下多出事件,成员形状不变,没丢字段时仍不出现)。剩下的两个缺口写进了说明:失败的子运行不报丢弃字段(被 `try_catch` / 故障边接住时,回答里没有该成员不能当作「没丢」);暂停后被操作员取消的 map 条目也不报(map 在该条目位置放「已取消」标记继续)。回滚即 revert。 - 先看:`packages/services/service-automation/src/run-dropped-fields.ts`(`foldDropEvents`:唯一的折叠 + 跳过格式不对的输入);`run-resume.ts`(`creditChildRun` 把子运行的丢弃字段记到等待它的那一步,两个恢复路径都走它);`builtin/map-node.ts`(map 四个出口带上本轮已完成条目的丢弃字段)。 - 两分钟验证:`pnpm --filter @objectstack/service-automation exec vitest run --maxWorkers=2 src/run-dropped-fields.test.ts`,应见 `Tests 18 passed (18)`。 - 需要你做的:无,席位落地。本 PR 关 #33019;它也是 #32861 的一部分,#32861 还等控制台那一半 #33009,所以不在这里关。 ## What changes This is the delegated half of #32861 (Part of #32861, which stays open for its console half #33009). The contract review of PR #33007 (record 6843734657, should-fix S1; delta 6844555869) measured that `summary` credits a child run's writes from a `subflow` and from each `map` item, on the synchronous leg and on both resumed legs, while `droppedFields` rolled up only from a `subflow` child that completed without pausing. Re-read at `c54a23d2` (main, with #33007 merged): `builtin/map-node.ts` never read a child's `droppedFields`, and the delegated resume leg and `bubbleToParent` carried `output` and `summary` only. Every leg that credits a child run's writes to the parent's `summary` now folds the child's `droppedFields` into the parent's answer, through one fold: - **`run-dropped-fields.ts`**: the fold body moves into `foldDropEvents(lists)`, and `dropEventsOf(steps)` becomes the fold over the steps' lists. There is no second copy; `run-resume.ts`'s terminal exit computes `dropEventsOf(steps)` once and uses it for both its answer and its up-bubble. - **`builtin/map-node.ts`**: each entry collects the answers of the items that completed synchronously and rolls them onto its step at all four exits (completion, the exit that suspends on a pausing item, failure, refusal), beside the totals those exits already carry. The failure exit keeps the earlier items' drops because a `try_catch` or `fault` edge that contains the failure lets the run complete, and its answer folds that step. - **`run-resume.ts` `creditChildRun`** takes the child's drop events and folds them onto the same awaiting step its totals land on. Both callers pass them: the up-bubble (`childDroppedFields`, a new trailing `resumeInternal` parameter) and the delegated leg (`childRes.droppedFields`). - **`engine.ts` `bubbleToParent`** takes the completing child's drop events (the ones its own answer carries) and hands them to the parent's `resumeInternal`. The refusal arm passes none: a refused run's answer carries none, the same as the synchronous `subflow` / `map` refusal arms. - **Hardening (review nit N1)**: the fold checks each list with `Array.isArray` and each event with `DroppedFieldsEventSchema.safeParse`, and skips what fails. The callers run inside the `try` whose `catch` reads a throw as a node or run failure, so a host-registered executor's malformed `droppedFields` can no longer turn a completed run into a failed or retried one. - **Published sentences**: the `TriggerFlowResponseSchema.data.droppedFields` describe and the `AutomationResult.droppedFields` jsdoc drop the "do not yet" sentence and state the rule as built. The "absent is not proof" clause is narrowed, not removed, because two delegated legs still do not report: a child run that FAILED answers no drops, while `summary` still credits its writes; and a `map` item whose paused run an operator cancelled (#27971) answers none, as it is credited to `summary` nowhere either. The regenerated `content/docs/references/api/automation-api.mdx` row equals the describe. Card ids stay in the adjacent `//` comment (`check:doc-authoring`). ## Tests `packages/services/service-automation/src/run-dropped-fields.test.ts` (8 → 18): - `map` items that each drop `status` answer one event on the parent, with `summary.acted: 3`. - A `map` item that paused and was resumed through its own run id rolls its drop up (the up-bubble). - A `map` item that completed before a later item paused keeps its drop (the map's suspend exit). The later item drops nothing, so the parent can only learn of the drop from that exit. - A `map` whose first item drops and whose second item fails under a `fault` edge: the run completes and the first item's drop reaches the answer through the map's failure exit. - A paused child's drops merge with the drops its awaiting step already holds: item `a` drops `amount` synchronously, item `b` pauses and, resumed, drops `memo`; the answer holds one event with both fields. - A `subflow` child that paused, resumed through the parent's run id (the delegated leg), rolls its drop up. - A `subflow` child that paused, resumed through its own run id (the up-bubble), rolls its drop up. - A host executor's malformed events (`null`, a string, `fields` not a list, an unknown `reason`) are skipped: the run completes and the well-typed event beside them still answers. - A `droppedFields` that is array-like but not a list (it reaches the step, and iterating it would throw) leaves the run completed with no member. - `foldDropEvents` is total, does not mutate its inputs, and answers `undefined` when nothing well-typed remains. The children that pause write `status` only after their resume, so each resumed-leg case can pass only if the resumed child's drops reach the parent. The up-bubble cases park the parent once more on a `hold` node after the `subflow` / `map`, so the parent's own answer (given on its resume) is the thing asserted. <details><summary>Ablation: each leg cut alone (the test imports src, so no rebuild is involved)</summary> All on committed heads, through `scripts/ablation-replace.mjs`, each restored with `blob == HEAD` and `git diff HEAD` empty. - A. `map` synchronous exit (`itemDrops.push(child.droppedFields);` x1 -> x0): `Tests 1 failed | 14 passed (15)`, the map synchronous case red. - B. up-bubble credit (`childDroppedFields` removed from `resumeInternal`'s `creditChildRun` call): `Tests 2 failed | 13 passed (15)`, the map up-bubble and subflow up-bubble cases red. - C. delegated credit (`childRes.droppedFields` removed): `Tests 1 failed | 14 passed (15)`, the subflow delegated case red. - D. `bubbleToParent` hand-off (`droppedFields` removed from its `resumeInternal` call): `Tests 2 failed | 13 passed (15)`, the same two up-bubble cases red. - E. `map` suspend exit (`...rolledDrops()` removed there): `Tests 1 failed | 15 passed (16)`, the earlier-item case red. - F. fold `safeParse` guard (raw event used as-is): `Tests 2 failed | 14 passed (16)`, the malformed-event engine case and the `foldDropEvents` unit case red. - G. fold `Array.isArray` guard: `Tests 11 failed | 5 passed (16)`. The direction is broader than the not-a-list case: the guard also skips the `undefined` list every step without drops carries, so every engine case that reaches a terminal exit reds. - H. `map` failure exit (`...rolledDrops()` removed there; on `4bc2b134`): `Tests 1 failed | 17 passed (18)`, the fault-edge case alone red. - I. `creditChildRun` merge (`foldDropEvents([steps[i].droppedFields, childDroppedFields])` -> the child's list alone; on `4bc2b134`): `Tests 1 failed | 17 passed (18)`, the merge case alone red. </details> ## Acceptance notes - **What remains of the limit**: a child run that FAILED answers no `droppedFields` (only a terminal success carries the member), so a failed `subflow` child or `map` item contained by `try_catch` or a `fault` edge contributes its writes to `summary` but its drops to nothing. Carrying drops on a failed answer would widen `AutomationResult`'s failure shape; not done here. And a `map` item whose paused run an operator cancelled (#27971) answers none: `continuePastCancelledMapItem` lets the map go on with the cancelled marker in that item's `results` slot, and neither its totals nor its drops reach the parent. Both clauses are published on the describe, the jsdoc and the changeset. - The #32861 changeset (`.changeset/32861-flow-answer-dropped-fields.md`, not yet released) still says a paused child and a `map` item "do not yet" roll up. It is left as written; this PR's changeset states that it lifts that limit, so the release notes read in order. - `builtin/subflow-node.ts` is unchanged: its synchronous roll-up already reads the child's answer, which is the fold's output. - Clause-② `yes (widening)`: the answer carries more events in two shapes; the member's shape and the omit-when-empty rule are unchanged, so `Metadata-protocol: none` and a patch changeset for `@objectstack/spec` and `@objectstack/service-automation`. ## Verification Head `d7a8d98f`. Round 2 executes seat rulings 6846930076 item 1 (contract review record 6846914053, PASS on `fb720b6c`, should-fix S1 and S2) in one push of two commits: `4bc2b134` (the two S1 pins; the S2 clause on the describe, the jsdoc and the changeset) and `d7a8d98f` (the regenerated reference page). No merge of `main` in this round. <details><summary>Round 2 on `d7a8d98f`: affected tests and gates</summary> - Prerequisite: whole-tree `pnpm exec turbo run build --concurrency=2` under the verify lock, exit 0 (rebuilds `packages/spec` for the changed describe). - `run-dropped-fields.test.ts`: `Tests 18 passed (18)`; `pnpm --filter @objectstack/service-automation typecheck`: exit 0. - spec `src/api/automation-api.zod.test.ts` + `src/contracts/`: `Test Files 53 passed (53)`, `Tests 555 passed (555)`. - The derivation is unchanged from `fb720b6c` (the same 116 commands). The 67 that read `packages/spec`, docs, the changeset, issue citations, NUL bytes or test sources were re-run: 67 exit 0, none exit 3. Record: `gates-ran-affected-d7a8d98f.txt`. </details> Round 1, head `fb720b6c` (origin/main `c54a23d2` merged before the PR opened; main had not moved). Every exit captured before any pipe. <details><summary>Package tests and typecheck</summary> - `pnpm --filter @objectstack/service-automation test`: `Test Files 279 passed (279)`, `Tests 3827 passed (3827)`. - `pnpm --filter @objectstack/spec test`: `Test Files 839 passed (839)`, `Tests 26796 passed | 1 todo (26797)`. - `pnpm --filter @objectstack/service-automation typecheck` (`tsc --noEmit` + `check:test-typecheck`): exit 0, `0 file(s) / 0 error(s)`. - `run-dropped-fields.test.ts`: `Tests 16 passed (16)`. - Prerequisites: whole-tree `pnpm exec turbo run build --concurrency=2` under the verify lock, exit 0; the plugin-teardown fixture commit fetched. </details> <details><summary>Derived gates (`dispatch-gates.mjs --commands`, 116) and lint</summary> `node scripts/pm/dispatch-gates.mjs --ran gates-ran-fb720b6c.txt`: `✓ dispatch-gates --ran: 116 derived famil(ies) accounted for — 116 run, 0 NOT-MEASURED (a DERIVED zero — all 116 recorded an exit code and none of them is 3)`. - 116 exit 0, none red, none exit 3. - `pnpm --filter @objectstack/spec run check:generated` and `check:docs` among them: the regenerated reference page is current. - `pnpm lint` (`eslint . --no-inline-config`): exit 0 (recorded outside the derivation). </details> --- _Generated by [Claude Code](https://claude.ai/code/session_016WV4cxDAXkDm3BEbMTZWFc)_ <!-- signed: domain:server#8 · os-elon-musk · session_016WV4cwqTK71kjQzHae8T5J --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8e3d4a5 commit e003ebb

9 files changed

Lines changed: 416 additions & 35 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@objectstack/spec': patch
3+
'@objectstack/service-automation': patch
4+
---
5+
6+
fix(automation): a flow's answer also names the read-only fields its `map` items and its paused-then-resumed `subflow` children dropped
7+
8+
Clause-②: yes (widening)
9+
Metadata-protocol: none
10+
11+
- **`@objectstack/service-automation`**: the run answer's `droppedFields` (#32861) now rolls up every child run that `summary` credits on completion. A `map` node folds the drop events of each item that completed, on its synchronous exit and on the exit that pauses; a `subflow` or `map` child that paused and then completed hands its drop events to the parent's awaiting step, whether the caller resumed the parent (the delegated leg) or the child's own run id (the up-bubble). This lifts the delegated limit #32861's note states for those two shapes. One fold serves every leg, one event per object and reason as before.
12+
- The fold is now total: a list or event that is not well-typed (a host-registered executor's malformed `droppedFields`) is skipped, and a completed run is never turned into a failed or retried one over it.
13+
- **`@objectstack/spec`**: the `AutomationResult.droppedFields` jsdoc and the `TriggerFlowResponseSchema.data.droppedFields` describe state the rule as built. What remains: a child run that failed answers no drops, so where a `try_catch` or `fault` edge contains that failure an absent member is not proof the failed child dropped nothing; and a `map` item whose paused run an operator cancelled answers none either (the map goes on with the cancelled marker in that item's `results` slot). The member's shape is unchanged.

‎content/docs/references/api/automation-api.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ const result = AutomationApiErrorCode.parse(data);
11411141
| **flowLabel** | `string` | optional | The flow definition's authored `label`, copied verbatim so a runner can name the flow (header, completion toast) and translate it against `flows.<flow>.label`. Set on every result of an evaluation of a registered flow (paused and terminal alike); absent on a refusal carrying `code`. For a subflow chain it is the addressed (parent) run's flow. Never defaulted to the API name |
11421142
| **refusalMessage** | `string` | optional | Rendered refusal, set when `status` is `refused` - the `end` node's `message` template interpolated against the run's variables, so it names the record. Authored per-record text (not a flow-level copy like the two above); absent on every other status. A runner shows it with Close only |
11431143
| **summary** | `{ selected: integer; acted: integer; skipped: integer; unmeasured?: integer; … }` | optional | What the run did - records selected / acted on, gate skips, per-node status. Set on a TERMINAL result (a paused run has not finished doing it yet). |
1144-
| **droppedFields** | `{ object: string; fields: string[]; reason: Enum<'readonly' \| 'readonly_when' \| 'primary_key' \| 'computed' \| 'stored_expression'> }[]` | optional | Caller-supplied field values a write step of the run did not store (e.g. a `readonly` field an `update_record` step wrote): the data engine's own drop events, one per object and reason in first-seen order; a field named means at least one write dropped it, not every write. The steps still succeeded and the run's outcome is unchanged - this tells the caller which values never landed. Set on a terminal success only, and only when a field was dropped. Delegated writes: a `subflow` child that completes without pausing rolls its drops up here; a child that paused, and a `map` item's run, do not yet, so an absent member is not proof that a delegated write dropped nothing. |
1144+
| **droppedFields** | `{ object: string; fields: string[]; reason: Enum<'readonly' \| 'readonly_when' \| 'primary_key' \| 'computed' \| 'stored_expression'> }[]` | optional | Caller-supplied field values a write step of the run did not store (e.g. a `readonly` field an `update_record` step wrote): the data engine's own drop events, one per object and reason in first-seen order; a field named means at least one write dropped it, not every write. The steps still succeeded and the run's outcome is unchanged - this tells the caller which values never landed. Set on a terminal success only, and only when a field was dropped. Delegated writes roll up here too: a `subflow` child's run and each `map` item's run, whether it completed without pausing or paused and resumed. A child run that failed answers no drops, so where a `try_catch` or `fault` edge contains that failure an absent member is not proof the failed child dropped nothing. A `map` item whose paused run an operator cancelled answers none either (its slot in `results` holds the cancelled marker). |
11451145

11461146

11471147
---

‎packages/services/service-automation/src/builtin/map-node.ts‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import type { MapConfigParsed } from '@objectstack/spec/automation';
66
import type { AutomationContext } from '@objectstack/spec/contracts';
77
import type { AutomationEngine } from '../engine.js';
88
import { refuseNode } from '../guard-refusal.js';
9+
import { foldDropEvents } from '../run-dropped-fields.js';
910
import { carriedRefusalOfResult } from '../inner-refusal.js';
1011
import { parseNodeConfig } from './parse-config.js';
1112
import { collectionNotAList, resolveCollectionSlot, resolveValueSlotMap } from './value-slot-map.js';
@@ -206,6 +207,19 @@ export function registerMapNode(engine: AutomationEngine, ctx: PluginContext): v
206207
let failures = 0;
207208
let failuresTracked = false;
208209
const rolledFailures = (): { failures?: number } => (failuresTracked ? { failures } : {});
210+
// #33019 — the drop events of the items that COMPLETED during this
211+
// entry, rolled onto this step beside their totals and through the one
212+
// fold, so the parent's answer (`AutomationResult.droppedFields`, folded
213+
// from its steps) names a value an item's write did not store. Same
214+
// per-entry rule as the totals: a PAUSED item's drops are credited to
215+
// this step by the engine when its run bubbles back
216+
// (AutomationEngine.creditChildRun). A failed or refused item's answer
217+
// carries none.
218+
const itemDrops: unknown[] = [];
219+
const rolledDrops = () => {
220+
const droppedFields = foldDropEvents(itemDrops);
221+
return droppedFields ? { droppedFields } : {};
222+
};
209223

210224
// Drive items in order. Synchronous items advance inline; a pausing item
211225
// suspends the run and is resumed via re-entry.
@@ -261,6 +275,7 @@ export function registerMapNode(engine: AutomationEngine, ctx: PluginContext): v
261275
// item's own totals to this same step when its child run bubbles
262276
// back (AutomationEngine.creditChildRun).
263277
metrics: { selected, acted, ...(unmeasured ? { unmeasuredEffect: true } : {}), ...rolledFailures() },
278+
...rolledDrops(),
264279
};
265280
}
266281
if (!child.success) {
@@ -287,6 +302,10 @@ export function registerMapNode(engine: AutomationEngine, ctx: PluginContext): v
287302
...(unmeasured || child.summary?.unmeasured ? { unmeasuredEffect: true } : {}),
288303
...rolledFailures(),
289304
},
305+
// The items that completed before it keep their drops too: a
306+
// `try_catch` or `fault` edge that contains this failure lets the
307+
// run complete, and its answer folds this step.
308+
...rolledDrops(),
290309
};
291310
}
292311
if (child.status === 'refused') {
@@ -330,6 +349,7 @@ export function registerMapNode(engine: AutomationEngine, ctx: PluginContext): v
330349
? { failures: failures + child.summary.failed }
331350
: rolledFailures()),
332351
},
352+
...rolledDrops(),
333353
};
334354
}
335355
// Synchronous completion — record and advance.
@@ -340,6 +360,7 @@ export function registerMapNode(engine: AutomationEngine, ctx: PluginContext): v
340360
// One uncountable effect anywhere in the batch makes the batch's
341361
// `acted` incomplete — the flag rides out with this entry's metrics.
342362
if (child.summary?.unmeasured) unmeasured = true;
363+
itemDrops.push(child.droppedFields);
343364
// #15617 — this item went on and contained its failures, so they are
344365
// this run's to answer for. `undefined` is "the child tracked no
345366
// count", so it neither adds nor flips the presence bit.
@@ -379,6 +400,7 @@ export function registerMapNode(engine: AutomationEngine, ctx: PluginContext): v
379400
// slot in `results` but is never counted as a run (#27971).
380401
output: { results: state.results, count: state.results.filter(r => !isMapItemCancelledMarker(r)).length },
381402
metrics: { selected, acted, ...(unmeasured ? { unmeasuredEffect: true } : {}), ...rolledFailures() },
403+
...rolledDrops(),
382404
};
383405
},
384406
});

‎packages/services/service-automation/src/engine.ts‎

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8573,10 +8573,21 @@ export class AutomationEngine implements IAutomationService {
85738573
* `!childRes.success` before reaching here — which is what lets #15617's
85748574
* `failures` ride this seam under exactly its declared rule: the contained
85758575
* failures of a child that COMPLETED, never a failed child's own `failed`.
8576+
*
8577+
* #33019 — the same seam carries the child's `droppedFields` (its own
8578+
* answer's), folded onto that awaiting step through the one fold
8579+
* (`foldDropEvents`), so the parent's terminal answer — folded from its
8580+
* steps — reports a paused child's or a `map` item's dropped values
8581+
* wherever this method credits its totals. A failed child answers none.
85768582
*/
8577-
private creditChildRun(steps: StepLogEntry[], nodeId: string, child: FlowRunSummary | undefined): void {
8583+
private creditChildRun(
8584+
steps: StepLogEntry[],
8585+
nodeId: string,
8586+
child: FlowRunSummary | undefined,
8587+
childDroppedFields?: readonly DroppedFieldsEvent[],
8588+
): void {
85788589
// The body lives in ./run-resume.ts (#25222).
8579-
creditChildRun(steps, nodeId, child);
8590+
creditChildRun(steps, nodeId, child, childDroppedFields);
85808591
}
85818592

85828593
/**
@@ -8592,6 +8603,11 @@ export class AutomationEngine implements IAutomationService {
85928603
* because it is engine-internal control flow, not data the parent's
85938604
* variable map should ever see — the reserved-name guard
85948605
* (`applyResumeSignal`) polices that map, and a refusal is not a variable.
8606+
* @param childDroppedFields - #33019: the drop events of the child run
8607+
* whose completion triggered this resume (the up-bubble path), folded
8608+
* onto the awaiting step beside `childSummary`. A parameter for the same
8609+
* reason: the parent's answer reads them from its steps, never from its
8610+
* variable map.
85958611
*/
85968612
private resumeInternal(
85978613
runId: string,
@@ -8604,6 +8620,7 @@ export class AutomationEngine implements IAutomationService {
86048620
skipBubble: boolean,
86058621
childSummary?: FlowRunSummary,
86068622
childRefusal?: ChildRunRefusal,
8623+
childDroppedFields?: readonly DroppedFieldsEvent[],
86078624
): Promise<AutomationResult> {
86088625
// The body lives in ./run-resume.ts (#25222).
86098626
const host: ThisParameterType<typeof resumeInternal> = {
@@ -8635,7 +8652,7 @@ export class AutomationEngine implements IAutomationService {
86358652
failAncestors: (...a) => this.failAncestors(...a),
86368653
renderFlowTerminalMessage: (...a) => this.renderFlowTerminalMessage(...a),
86378654
};
8638-
return resumeInternal.call(host, runId, signal, skipBubble, childSummary, childRefusal);
8655+
return resumeInternal.call(host, runId, signal, skipBubble, childSummary, childRefusal, childDroppedFields);
86398656
}
86408657

86418658
/**
@@ -8807,6 +8824,11 @@ export class AutomationEngine implements IAutomationService {
88078824
* control flow, not a variable.
88088825
*/
88098826
refusal?: ChildRunRefusal,
8827+
/**
8828+
* #33019 — this child's drop events (the ones its own terminal answer
8829+
* carries), credited to the parent's awaiting step beside `summary`.
8830+
*/
8831+
droppedFields?: readonly DroppedFieldsEvent[],
88108832
): Promise<void> {
88118833
const ctx = run.context as Record<string, unknown> | undefined;
88128834
const parentRunId = ctx?.$parentRunId;
@@ -8821,7 +8843,7 @@ export class AutomationEngine implements IAutomationService {
88218843
// the one writer allowed to set them (#3853 follow-up).
88228844
? engineBuilt({ variables: { [`${mapNode}.$mapItemOutput`]: output ?? null, [`${mapNode}.$mapItemDone`]: true } })
88238845
: this.buildSubflowResumeSignal(run.context, output);
8824-
const parentRes = await this.resumeInternal(parentRunId, sig, false, summary, refusal);
8846+
const parentRes = await this.resumeInternal(parentRunId, sig, false, summary, refusal, droppedFields);
88258847
if (!parentRes.success) {
88268848
// #6499 — `parentRes.error` is the envelope field that carries
88278849
// a failing node's / driver's text VERBATIM (#5912 left it

0 commit comments

Comments
 (0)