[PR #273] [CLOSED] refactor: extract server/client/protocol to new llama-index-workflows-server package #279

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-py/pull/273
Author: @adrianlyjak
Created: 1/13/2026
Status: Closed

Base: mainHead: claude/refactor-workflows-server-package-hqICG


📝 Commits (2)

  • 6019da8 refactor: extract server/client/protocol to new llama-index-workflows-server package
  • b5f7c73 refactor: move client and protocol back to main package

📊 Changes

46 files changed (+248 additions, -18 deletions)

View changed files

📝 packages/llama-index-utils-workflow/pyproject.toml (+3 -0)
packages/llama-index-workflows-server/README.md (+57 -0)
packages/llama-index-workflows-server/pyproject.toml (+50 -0)
📝 packages/llama-index-workflows-server/src/workflows/__init__.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/py.typed (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/__init__.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/__main__.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/abstract_workflow_store.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/keyed_lock.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/memory_workflow_store.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/server.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/sqlite/__init__.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/sqlite/migrate.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/sqlite/migrations/0001_init.sql (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/sqlite/migrations/0002_extend_handlers.sql (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/sqlite/migrations/0003_add_idle_since.sql (+0 -0)
packages/llama-index-workflows-server/src/workflows/server/sqlite/migrations/__init__.py (+2 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/sqlite/sqlite_workflow_store.py (+0 -0)
📝 packages/llama-index-workflows-server/src/workflows/server/static/index.html (+0 -0)
📝 packages/llama-index-workflows-server/tests/client/__init__.py (+0 -0)

...and 26 more files

📄 Description

Create a new package llama-index-workflows-server v0.1.0 containing:

  • WorkflowServer and related server components
  • WorkflowClient for HTTP communication
  • Protocol models shared between client and server
  • representation_utils for workflow graph extraction

The main llama-index-workflows package now depends on the new package via
optional extras [server] and [client], maintaining the same module namespace
through Python namespace packages.

Key changes:

  • New package in packages/llama-index-workflows-server/
  • Main package uses pkgutil.extend_path for namespace merging
  • Updated llama-index-utils-workflow to depend on new package
  • Moved related tests to the new package

🔄 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/273 **Author:** [@adrianlyjak](https://github.com/adrianlyjak) **Created:** 1/13/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `claude/refactor-workflows-server-package-hqICG` --- ### 📝 Commits (2) - [`6019da8`](https://github.com/run-llama/workflows-py/commit/6019da87973d7add9bdf399e69b73e85c85a56e8) refactor: extract server/client/protocol to new llama-index-workflows-server package - [`b5f7c73`](https://github.com/run-llama/workflows-py/commit/b5f7c731a4f4aa8c3d43093292a113c8122720f5) refactor: move client and protocol back to main package ### 📊 Changes **46 files changed** (+248 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `packages/llama-index-utils-workflow/pyproject.toml` (+3 -0) ➕ `packages/llama-index-workflows-server/README.md` (+57 -0) ➕ `packages/llama-index-workflows-server/pyproject.toml` (+50 -0) 📝 `packages/llama-index-workflows-server/src/workflows/__init__.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/py.typed` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/__init__.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/__main__.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/abstract_workflow_store.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/keyed_lock.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/memory_workflow_store.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/server.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/sqlite/__init__.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/sqlite/migrate.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/sqlite/migrations/0001_init.sql` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/sqlite/migrations/0002_extend_handlers.sql` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/sqlite/migrations/0003_add_idle_since.sql` (+0 -0) ➕ `packages/llama-index-workflows-server/src/workflows/server/sqlite/migrations/__init__.py` (+2 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/sqlite/sqlite_workflow_store.py` (+0 -0) 📝 `packages/llama-index-workflows-server/src/workflows/server/static/index.html` (+0 -0) 📝 `packages/llama-index-workflows-server/tests/client/__init__.py` (+0 -0) _...and 26 more files_ </details> ### 📄 Description Create a new package llama-index-workflows-server v0.1.0 containing: - WorkflowServer and related server components - WorkflowClient for HTTP communication - Protocol models shared between client and server - representation_utils for workflow graph extraction The main llama-index-workflows package now depends on the new package via optional extras [server] and [client], maintaining the same module namespace through Python namespace packages. Key changes: - New package in packages/llama-index-workflows-server/ - Main package uses pkgutil.extend_path for namespace merging - Updated llama-index-utils-workflow to depend on new package - Moved related tests to the new package --- <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:07 -05:00
yindo closed this issue 2026-02-16 02:17:07 -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#279