mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #419] [MERGED] feat: Reload a running deployment. #452
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/419
Author: @masci
Created: 1/2/2025
Status: ✅ Merged
Merged: 1/4/2025
Merged by: @masci
Base:
main← Head:massi/322📝 Commits (8)
17d7599propagate reload param973b27dadd test data0841d48add more test datace6d54dadd reload functionality1d59d2ffix tests8fa4206add more testsc443b42add comments686afbdmore comments📊 Changes
15 files changed (+405 additions, -54 deletions)
View changed files
📝
e2e_tests/apiserver/deployments/deployment1.yml(+2 -2)📝
e2e_tests/apiserver/deployments/deployment2.yml(+2 -2)➕
e2e_tests/apiserver/deployments/deployment_reload1.yml(+15 -0)➕
e2e_tests/apiserver/deployments/deployment_reload2.yml(+15 -0)➕
e2e_tests/apiserver/deployments/src/__init__.py(+6 -0)➕
e2e_tests/apiserver/deployments/src/workflow_reload.py(+11 -0)➕
e2e_tests/apiserver/test_reload.py(+26 -0)📝
llama_deploy/apiserver/deployment.py(+85 -24)📝
llama_deploy/apiserver/routers/deployments.py(+3 -4)📝
llama_deploy/cli/deploy.py(+5 -2)📝
llama_deploy/client/models/apiserver.py(+6 -3)📝
llama_deploy/services/workflow.py(+8 -4)📝
tests/apiserver/routers/test_deployments.py(+211 -7)📝
tests/apiserver/test_deployment.py(+9 -6)📝
tests/client/models/test_apiserver.py(+1 -0)📄 Description
Fixes #322
Reload a running deployment by restarting its services. The message queue and the control plane won't be restarted, the thread running the dedicated ioloop for this deployment will stay active.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.