vellum-workflow-server 1.7.4.post2__tar.gz → 1.7.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of vellum-workflow-server might be problematic. Click here for more details.
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/PKG-INFO +2 -2
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/pyproject.toml +2 -2
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/api/tests/test_workflow_view_stream_workflow_route.py +5 -2
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/core/cancel_workflow.py +1 -1
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/core/executor.py +2 -3
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/core/utils.py +1 -5
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/README.md +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/__init__.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/api/__init__.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/api/auth_middleware.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/api/healthz_view.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/api/tests/__init__.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/api/tests/test_input_display_mapping.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/api/tests/test_workflow_view.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/api/workflow_view.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/code_exec_runner.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/config.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/core/__init__.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/core/events.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/core/workflow_executor_context.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/server.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/start.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/__init__.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/exit_handler.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/log_proxy.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/oom_killer.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/sentry.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/system_utils.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/tests/__init__.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/tests/test_sentry_integration.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/tests/test_system_utils.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/tests/test_utils.py +0 -0
- {vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/utils/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vellum-workflow-server
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.5
|
|
4
4
|
Summary:
|
|
5
5
|
License: AGPL
|
|
6
6
|
Requires-Python: >=3.9.0,<4
|
|
@@ -29,7 +29,7 @@ Requires-Dist: pyjwt (==2.10.0)
|
|
|
29
29
|
Requires-Dist: python-dotenv (==1.0.1)
|
|
30
30
|
Requires-Dist: retrying (==1.3.4)
|
|
31
31
|
Requires-Dist: sentry-sdk[flask] (==2.20.0)
|
|
32
|
-
Requires-Dist: vellum-ai (==1.7.
|
|
32
|
+
Requires-Dist: vellum-ai (==1.7.5)
|
|
33
33
|
Description-Content-Type: text/markdown
|
|
34
34
|
|
|
35
35
|
# Vellum Workflow Runner Server
|
|
@@ -3,7 +3,7 @@ name = "vellum-workflow-server"
|
|
|
3
3
|
|
|
4
4
|
[tool.poetry]
|
|
5
5
|
name = "vellum-workflow-server"
|
|
6
|
-
version = "1.7.
|
|
6
|
+
version = "1.7.5"
|
|
7
7
|
description = ""
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
authors = []
|
|
@@ -45,7 +45,7 @@ flask = "2.3.3"
|
|
|
45
45
|
orderly-set = "5.2.2"
|
|
46
46
|
pebble = "5.0.7"
|
|
47
47
|
gunicorn = "23.0.0"
|
|
48
|
-
vellum-ai = "1.7.
|
|
48
|
+
vellum-ai = "1.7.5"
|
|
49
49
|
python-dotenv = "1.0.1"
|
|
50
50
|
retrying = "1.3.4"
|
|
51
51
|
sentry-sdk = {extras = ["flask"], version = "2.20.0"}
|
|
@@ -645,10 +645,13 @@ class TimeoutWorkflow(BaseWorkflow):
|
|
|
645
645
|
assert "workflow.execution.initiated" in event_names
|
|
646
646
|
assert "node.execution.initiated" in event_names
|
|
647
647
|
|
|
648
|
-
|
|
649
|
-
|
|
648
|
+
assert "node.execution.rejected" in event_names, "Should emit node.execution.rejected on timeout"
|
|
649
|
+
node_execution_rejected = next(e for e in events if e["name"] == "node.execution.rejected")
|
|
650
|
+
assert "vellum/workflows/runner/runner.py" in node_execution_rejected["body"]["stacktrace"]
|
|
650
651
|
|
|
651
652
|
assert "workflow.execution.rejected" in event_names, "Should emit workflow.execution.rejected on timeout"
|
|
653
|
+
workflow_execution_rejected = next(e for e in events if e["name"] == "workflow.execution.rejected")
|
|
654
|
+
assert "vellum/workflows/runner/runner.py" in workflow_execution_rejected["body"]["stacktrace"]
|
|
652
655
|
|
|
653
656
|
assert "vembda.execution.fulfilled" in event_names
|
|
654
657
|
vembda_fulfilled = next(e for e in events if e["name"] == "vembda.execution.fulfilled")
|
|
@@ -32,6 +32,7 @@ from vellum.workflows.resolvers.base import BaseWorkflowResolver
|
|
|
32
32
|
from vellum.workflows.resolvers.resolver import VellumResolver
|
|
33
33
|
from vellum.workflows.state.context import WorkflowContext
|
|
34
34
|
from vellum.workflows.state.store import EmptyStore
|
|
35
|
+
from vellum.workflows.types import CancelSignal
|
|
35
36
|
from vellum.workflows.workflows.event_filters import all_workflow_event_filter
|
|
36
37
|
from workflow_server.config import LOCAL_DEPLOYMENT, LOCAL_WORKFLOW_MODULE
|
|
37
38
|
from workflow_server.core.cancel_workflow import CancelWorkflowWatcherThread
|
|
@@ -42,7 +43,6 @@ from workflow_server.core.events import (
|
|
|
42
43
|
VembdaExecutionFulfilledEvent,
|
|
43
44
|
)
|
|
44
45
|
from workflow_server.core.utils import (
|
|
45
|
-
CancelSignal,
|
|
46
46
|
create_vembda_rejected_event,
|
|
47
47
|
is_events_emitting_enabled,
|
|
48
48
|
serialize_vembda_rejected_event,
|
|
@@ -172,8 +172,7 @@ def stream_workflow(
|
|
|
172
172
|
state=workflow_state,
|
|
173
173
|
node_output_mocks=node_output_mocks,
|
|
174
174
|
event_filter=all_workflow_event_filter,
|
|
175
|
-
|
|
176
|
-
cancel_signal=cancel_signal, # type: ignore[arg-type]
|
|
175
|
+
cancel_signal=cancel_signal,
|
|
177
176
|
entrypoint_nodes=[run_from_node] if run_from_node else None,
|
|
178
177
|
previous_execution_id=executor_context.previous_execution_id,
|
|
179
178
|
)
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
|
-
from multiprocessing.synchronize import Event as MultiprocessingEvent
|
|
3
|
-
from threading import Event as ThreadingEvent
|
|
4
2
|
from uuid import uuid4
|
|
5
|
-
from typing import Optional
|
|
3
|
+
from typing import Optional
|
|
6
4
|
|
|
7
5
|
from workflow_server.core.events import VembdaExecutionFulfilledBody, VembdaExecutionFulfilledEvent
|
|
8
6
|
from workflow_server.core.workflow_executor_context import BaseExecutorContext
|
|
9
7
|
|
|
10
|
-
CancelSignal = Union[MultiprocessingEvent, ThreadingEvent]
|
|
11
|
-
|
|
12
8
|
|
|
13
9
|
def _create_vembda_rejected_event_base(
|
|
14
10
|
executor_context: Optional[BaseExecutorContext], error_message: str, timed_out: bool
|
|
File without changes
|
{vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/server.py
RENAMED
|
File without changes
|
{vellum_workflow_server-1.7.4.post2 → vellum_workflow_server-1.7.5}/src/workflow_server/start.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|