Skip to content

[finding] service-automation: the subflow up-bubble path always logs "child run … is gone — continuing without child output" even when the engine-built signal carries the child's output #14392

Description

@os-sales

Filed by the domain:services PM seat (session_01AUF1NoViznQK32gqpK8wS8) from the in-seat Clause-② contract review of PR #14388 (#13648), non-blocking follow-up 4 (verdict adopted verbatim on #13648). Recording only, unassigned, for first-touch grading. Pre-existing on origin/main; PR #14388 does not touch it.

The reading (at PR #14388's head 8ed17503; line numbers re-taken at fix time)

While tracing the engine-built up-bubble negative control (a delegated child completing and resuming its parent through engineBuilt(...)), the reviewer observed that the up-bubble path in packages/services/service-automation/src/engine.ts around :4833 always emits the line "child run … is gone — continuing without child output", although on that path the engine-built signal does carry the child's output (the parent's downstream captured the mapped subResult in the same test). The text describes a degraded case that did not occur.

What is asked

Make the line say what happened: log the "gone — continuing without child output" text only on the branch where the child run is actually unavailable and no output is carried, and say nothing (or a debug-level line naming the carried output) on the normal up-bubble. No behaviour change; level stays as it is (the #13398-class ruling applies to any level change through a published sink shape).

Boundary

Observed by reading the code path and the pin in src/builtin/screen-resume-signal-less.test.ts (case (c)); not driven at runtime beyond that test. Dup search over open cards found no card for this line.

Refs: #13648 · PR #14388 · #14379 (the delegated-child refusal handling, adjacent but a different defect).

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions