Skip to content

refactor(core): Improving child workflow invocation and dropping aggregations [OUT-485]#260

Open
szanata wants to merge 1 commit into
mainfrom
refactor/child_workflow_invocation
Open

refactor(core): Improving child workflow invocation and dropping aggregations [OUT-485]#260
szanata wants to merge 1 commit into
mainfrom
refactor/child_workflow_invocation

Conversation

@szanata

@szanata szanata commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator
  • Refactoring child workflow invocation:

    • Workflow calls no longer need to be rewritten by the webpack loader to wrap with this.startWorkflow();
    • Any workflow invocation within the triggered inside an workflow will become a child
  • Dropping workflow activity aggregations: Aggregations had flaws with continue as new and detached child workflows, the whole feature is being dropped in favor of improving hooks. Activity aggregations are kept, as that can be retrieved using the history API;

  • Refactoring validations, simplifying code and adding runtime validation for workflow invocation options;

  • Renaming type WorkflowInvocationConfiguration to WorkflowInvocationOptions and update the shape inside renaming .options to .activityOptions;

  • Reorganized test workflows and added more tests covering nested (children) workflows common cases;

@mintlify

mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
outputai 🟢 Ready View Preview Jun 12, 2026, 7:20 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@szanata szanata force-pushed the refactor/child_workflow_invocation branch from 3909d55 to 1ef2eb4 Compare June 12, 2026 19:25
@szanata szanata changed the title refactor(core): Improving child workflow invocation and dropping aggregations refactor(core): Improving child workflow invocation and dropping aggregations [OUT-485] Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant