[PR #18] [MERGED] fix: properly serialize DictState in state manager #51

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-py/pull/18
Author: @logan-markewich
Created: 6/26/2025
Status: Merged
Merged: 6/26/2025
Merged by: @logan-markewich

Base: mainHead: logan/fix_ctx_serialization


📝 Commits (1)

  • c0383cb fix: properly serialize DictState in state manager

📊 Changes

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

View changed files

📝 pyproject.toml (+1 -1)
📝 src/workflows/context/state_store.py (+1 -3)
📝 tests/test_state_manager.py (+14 -1)
📝 uv.lock (+1 -1)

📄 Description

By calling model_dump() before serializing, we through away a lot of types for the serializer which actually breaks re-hydration.


🔄 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/18 **Author:** [@logan-markewich](https://github.com/logan-markewich) **Created:** 6/26/2025 **Status:** ✅ Merged **Merged:** 6/26/2025 **Merged by:** [@logan-markewich](https://github.com/logan-markewich) **Base:** `main` ← **Head:** `logan/fix_ctx_serialization` --- ### 📝 Commits (1) - [`c0383cb`](https://github.com/run-llama/workflows-py/commit/c0383cb68e490df78df99871154ec823b509c417) fix: properly serialize DictState in state manager ### 📊 Changes **4 files changed** (+17 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `pyproject.toml` (+1 -1) 📝 `src/workflows/context/state_store.py` (+1 -3) 📝 `tests/test_state_manager.py` (+14 -1) 📝 `uv.lock` (+1 -1) </details> ### 📄 Description By calling `model_dump()` before serializing, we through away a lot of types for the serializer which actually breaks re-hydration. --- <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:16:24 -05:00
yindo closed this issue 2026-02-16 02:16:24 -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#51