Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Jan 23, 2026

Adds support for state variables in inline subworkflow nodes by adding the stateVariables field to InlineSubworkflowNodeData type/serializer and updating the generator to use it instead of hardcoding an empty array. This prevents state files from "disappearing" in nested subworkflow scenarios.


… nodes

- Add stateVariables field to InlineSubworkflowNodeData type
- Update InlineSubworkflowNodeDataSerializer to handle stateVariables
- Update inline-subworkflow-node.ts to use state variables from node data
- Create test fixture that verifies both parent and inner state files are generated

Co-Authored-By: vargas@vellum.ai <vargas@vellum.ai>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

2 participants