[PR #252] [MERGED] fix(workflows): enforce retry delay and attempt limit #260

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-py/pull/252
Author: @Roaimkhan
Created: 12/24/2025
Status: Merged
Merged: 12/24/2025
Merged by: @adrianlyjak

Base: mainHead: main


📝 Commits (5)

  • e6da745 fix(workflows): enforce retry delay and attempt limit
  • 12c5353 test: validate retry delay and attempt limit
  • 406901a chore: add changeset
  • eff610c fix: rather, add time-machine to root deps
  • 06e6c96 fix: downgrade time machine to support 3.9

📊 Changes

8 files changed (+396 additions, -102 deletions)

View changed files

.changeset/sixty-steaks-burn.md (+5 -0)
📝 packages/llama-index-workflows/pyproject.toml (+2 -1)
📝 packages/llama-index-workflows/src/workflows/runtime/control_loop.py (+7 -2)
📝 packages/llama-index-workflows/tests/runtime/conftest.py (+23 -91)
📝 packages/llama-index-workflows/tests/runtime/test_control_loop.py (+149 -5)
📝 packages/llama-index-workflows/tests/runtime/test_control_loop_transformations.py (+107 -0)
📝 packages/llama-index-workflows/tests/test_retry_policy.py (+1 -2)
📝 uv.lock (+102 -1)

📄 Description

Fixes workflow retry logic where delay was ignored and attempt count reset, causing infinite immediate retries and resource exhaustion.

Fixes run-llama/llama_index#20403


🔄 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/252 **Author:** [@Roaimkhan](https://github.com/Roaimkhan) **Created:** 12/24/2025 **Status:** ✅ Merged **Merged:** 12/24/2025 **Merged by:** [@adrianlyjak](https://github.com/adrianlyjak) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (5) - [`e6da745`](https://github.com/run-llama/workflows-py/commit/e6da745e7468d346162523d60d10b58e5e84821c) fix(workflows): enforce retry delay and attempt limit - [`12c5353`](https://github.com/run-llama/workflows-py/commit/12c53536585ec9629e95ef26025e8f3dd950cd64) test: validate retry delay and attempt limit - [`406901a`](https://github.com/run-llama/workflows-py/commit/406901a6b891b73297cd72db13b1866ad3a2a4e7) chore: add changeset - [`eff610c`](https://github.com/run-llama/workflows-py/commit/eff610c56ed70f3395ccd255d848e7d33ccc78fd) fix: rather, add time-machine to root deps - [`06e6c96`](https://github.com/run-llama/workflows-py/commit/06e6c964f45d3cdb4087d64c0e63ffe014f8d8d3) fix: downgrade time machine to support 3.9 ### 📊 Changes **8 files changed** (+396 additions, -102 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/sixty-steaks-burn.md` (+5 -0) 📝 `packages/llama-index-workflows/pyproject.toml` (+2 -1) 📝 `packages/llama-index-workflows/src/workflows/runtime/control_loop.py` (+7 -2) 📝 `packages/llama-index-workflows/tests/runtime/conftest.py` (+23 -91) 📝 `packages/llama-index-workflows/tests/runtime/test_control_loop.py` (+149 -5) 📝 `packages/llama-index-workflows/tests/runtime/test_control_loop_transformations.py` (+107 -0) 📝 `packages/llama-index-workflows/tests/test_retry_policy.py` (+1 -2) 📝 `uv.lock` (+102 -1) </details> ### 📄 Description Fixes workflow retry logic where delay was ignored and attempt count reset, causing infinite immediate retries and resource exhaustion. Fixes run-llama/llama_index#20403 --- <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:04 -05:00
yindo closed this issue 2026-02-16 02:17:04 -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#260