mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #441] [MERGED] fix: avoid 409 errors on message queue when services restart #466
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/441
Author: @masci
Created: 1/29/2025
Status: ✅ Merged
Merged: 1/29/2025
Merged by: @masci
Base:
main← Head:massi/fix-409📝 Commits (5)
e4a167dfix: avoid 409 errors on message queue when services restart5d1c1a4removed leftovers46013d9fix unit tests41c43dbavoid port conflictsc6deefdadd some unit tests📊 Changes
12 files changed (+216 additions, -38 deletions)
View changed files
📝
e2e_tests/deploy/test_deploy.py(+78 -2)➕
e2e_tests/message_queues/simple/conftest.py(+28 -0)📝
e2e_tests/message_queues/simple/test_message_queue.py(+24 -7)➕
e2e_tests/message_queues/simple/test_server.py(+18 -0)📝
llama_deploy/__init__.py(+2 -0)📝
llama_deploy/deploy/deploy.py(+7 -6)📝
llama_deploy/message_queues/simple/client.py(+26 -11)📝
llama_deploy/message_queues/simple/server.py(+3 -7)📝
llama_deploy/services/base.py(+7 -3)📝
llama_deploy/services/workflow.py(+5 -1)📝
tests/message_queues/simple/test_server.py(+1 -1)📝
tests/services/test_workflow_service.py(+17 -0)📄 Description
This PR addresses several issues:
deploy_workflownow cleans up asyncio tasks at shutdown🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.