[PR #359] [MERGED] Fix: idle detection only working for wait_for_event #359

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-py/pull/359
Author: @adrianlyjak
Created: 2/10/2026
Status: Merged
Merged: 2/10/2026
Merged by: @adrianlyjak

Base: devHead: adrian/idle-fix


📝 Commits (2)

  • 4852fff Handle idle without wait_for_event
  • 5e2b45e Update idle detection fix description

📊 Changes

7 files changed (+143 additions, -56 deletions)

View changed files

.changeset/modern-planets-tan.md (+5 -0)
📝 packages/llama-index-workflows/src/workflows/runtime/control_loop.py (+30 -15)
📝 packages/llama-index-workflows/src/workflows/runtime/types/commands.py (+14 -0)
📝 packages/llama-index-workflows/src/workflows/runtime/types/ticks.py (+20 -1)
📝 packages/llama-index-workflows/tests/runtime/test_control_loop.py (+62 -10)
📝 packages/llama-index-workflows/tests/runtime/test_control_loop_transformations.py (+12 -29)
📝 packages/llama-index-workflows/tests/test_workflow_internal_events.py (+0 -1)

📄 Description

Fix for idle detection, HumanResponseEvent style steps with no active steps were not detecting idle


🔄 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/359 **Author:** [@adrianlyjak](https://github.com/adrianlyjak) **Created:** 2/10/2026 **Status:** ✅ Merged **Merged:** 2/10/2026 **Merged by:** [@adrianlyjak](https://github.com/adrianlyjak) **Base:** `dev` ← **Head:** `adrian/idle-fix` --- ### 📝 Commits (2) - [`4852fff`](https://github.com/run-llama/workflows-py/commit/4852fff9b90418dd4c90b7709866c116111f9a86) Handle idle without wait_for_event - [`5e2b45e`](https://github.com/run-llama/workflows-py/commit/5e2b45ef863c1bc2c40c9490f89272e40d814060) Update idle detection fix description ### 📊 Changes **7 files changed** (+143 additions, -56 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/modern-planets-tan.md` (+5 -0) 📝 `packages/llama-index-workflows/src/workflows/runtime/control_loop.py` (+30 -15) 📝 `packages/llama-index-workflows/src/workflows/runtime/types/commands.py` (+14 -0) 📝 `packages/llama-index-workflows/src/workflows/runtime/types/ticks.py` (+20 -1) 📝 `packages/llama-index-workflows/tests/runtime/test_control_loop.py` (+62 -10) 📝 `packages/llama-index-workflows/tests/runtime/test_control_loop_transformations.py` (+12 -29) 📝 `packages/llama-index-workflows/tests/test_workflow_internal_events.py` (+0 -1) </details> ### 📄 Description Fix for idle detection, HumanResponseEvent style steps with no active steps were not detecting idle --- <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:19 -05:00
yindo closed this issue 2026-02-16 02:17:19 -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#359