yunfengzhou-hub commented on code in PR #1138:
URL: https://github.com/apache/flink-agents/pull/1138#discussion_r4228155206
##########
runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:
##########
@@ -910,6 +1001,34 @@ private void processActionTask(Object key, String
contextKey, ActionTask actionT
}
}
+ private List<Event> completedActionOutputEvents(
+ ActionTask actionTask, ActionState actionState) {
+ if (!actionTask.isSubagentEvent()) {
+ return actionState.getOutputEvents();
Review Comment:
Fixed. The non-subagent branch of `completedActionOutputEvents()` now drops
`InternalSubagentCallEvent` and replays only the graph-driving events, so a
completed root caller no longer re-dispatches its finished child's bootstrap
envelope — which registers no call status and caused the `Missing subagent call
status` abort.
Added
`InternalSubagentRecoveryTest#replaysCompletedRootCallerWithoutRebootstrappingItsFinishedChildCall`,
an operator-level snapshot→restore test that seeds a completed root caller
whose persisted outputs still hold the child bootstrap envelope, then restores
and asserts the child is not re-dispatched.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]