[PR #301] [MERGED] Support state type inheritance in workflows #305

Closed
opened 2026-02-16 02:17:11 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-py/pull/301
Author: @adrianlyjak
Created: 1/23/2026
Status: Merged
Merged: 1/26/2026
Merged by: @adrianlyjak

Base: mainHead: claude/slack-test-child-state-inheritance-yvRs6


📝 Commits (4)

  • 49b08d1 test: add unit tests for child state inheritance behavior
  • dc79f2b feat: allow subtype state inheritance in workflows
  • f692f79 test: add unit tests for child state inheritance behavior
  • d4ca327 Create smooth-kids-laugh.md

📊 Changes

4 files changed (+673 additions, -17 deletions)

View changed files

.changeset/smooth-kids-laugh.md (+5 -0)
📝 packages/llama-index-workflows/src/workflows/context/context.py (+57 -9)
📝 packages/llama-index-workflows/src/workflows/context/state_store.py (+33 -8)
packages/llama-index-workflows/tests/test_child_state_inheritance.py (+578 -0)

📄 Description

Fix for #300


Open with Devin

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/workflows-py/pull/301 **Author:** [@adrianlyjak](https://github.com/adrianlyjak) **Created:** 1/23/2026 **Status:** ✅ Merged **Merged:** 1/26/2026 **Merged by:** [@adrianlyjak](https://github.com/adrianlyjak) **Base:** `main` ← **Head:** `claude/slack-test-child-state-inheritance-yvRs6` --- ### 📝 Commits (4) - [`49b08d1`](https://github.com/run-llama/workflows-py/commit/49b08d1a6537ff0244fe84ea5637111d73236259) test: add unit tests for child state inheritance behavior - [`dc79f2b`](https://github.com/run-llama/workflows-py/commit/dc79f2b5e0c459e13b48d8f2cde733a4fe5aa673) feat: allow subtype state inheritance in workflows - [`f692f79`](https://github.com/run-llama/workflows-py/commit/f692f79e57168929d372684c176038944a0243d4) test: add unit tests for child state inheritance behavior - [`d4ca327`](https://github.com/run-llama/workflows-py/commit/d4ca327862db12ca26ab02d288738dd42f9fe930) Create smooth-kids-laugh.md ### 📊 Changes **4 files changed** (+673 additions, -17 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/smooth-kids-laugh.md` (+5 -0) 📝 `packages/llama-index-workflows/src/workflows/context/context.py` (+57 -9) 📝 `packages/llama-index-workflows/src/workflows/context/state_store.py` (+33 -8) ➕ `packages/llama-index-workflows/tests/test_child_state_inheritance.py` (+578 -0) </details> ### 📄 Description Fix for #300 <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/run-llama/workflows-py/pull/301"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 02:17:11 -05:00
yindo closed this issue 2026-02-16 02:17:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/workflows-py#305