vellum-workflow-server 1.6.4__py3-none-any.whl → 1.6.4.post2__py3-none-any.whl

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-workflow-server
3
- Version: 1.6.4
3
+ Version: 1.6.4.post2
4
4
  Summary:
5
5
  License: AGPL
6
6
  Requires-Python: >=3.9.0,<4
@@ -14,13 +14,13 @@ workflow_server/core/cancel_workflow.py,sha256=Ffkc3mzmrdMEUcD-sHfEhX4IwVrka-E--
14
14
  workflow_server/core/events.py,sha256=24MA66DVQuaLJJcZrS8IL1Zq4Ohi9CoouKZ5VgoH3Cs,1402
15
15
  workflow_server/core/executor.py,sha256=Bw6luelJs84-_fBIG9VvxYFxeha4DmwxDpslVeqr2I8,18411
16
16
  workflow_server/core/utils.py,sha256=si0NB4Suurc-mn8NYdn59xM9CkPrfOP1aWEVrZvifDI,1929
17
- workflow_server/core/workflow_executor_context.py,sha256=u6tK6YgKlMrFXEYNBgWF1FMJ9NmN9HgOsPvptoA4b_c,4517
17
+ workflow_server/core/workflow_executor_context.py,sha256=rSjgkWenRGpFOwioRXNnUhGnEI7isOB-Qk7Tw-2JwnM,4521
18
18
  workflow_server/server.py,sha256=QBU12AaAfAgLqfCDBd24qIJl_mbheiq0-hfcWV7rZM4,1234
19
- workflow_server/start.py,sha256=dsGg9998nki_avrow3m_bRnqSTp90wlrEsdjoP0SbrQ,2356
19
+ workflow_server/start.py,sha256=WHZEsLen8mtGX-wF3xUbB91_NpC_GBRtOEi87OR1rv4,2360
20
20
  workflow_server/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  workflow_server/utils/exit_handler.py,sha256=_FacDVi4zc3bfTA3D2mJsISePlJ8jpLrnGVo5-xZQFs,743
22
22
  workflow_server/utils/log_proxy.py,sha256=nugi6fOgAYKX2X9DIc39TG366rsmmDUPoEtG3gzma_Y,3088
23
- workflow_server/utils/oom_killer.py,sha256=AprKFXC_wT3lQZcKDxU5O6dtJwi6meRxjo7nhQtQ8T0,2955
23
+ workflow_server/utils/oom_killer.py,sha256=dzaqSzi0jQ3MvALwwiYIO9r6VWLa5Ln9AY6l11WEexo,3050
24
24
  workflow_server/utils/sentry.py,sha256=pqx3X_4W3yOzmz8QMJYUEi39skIKWtrTN5nyFhaPkbk,1597
25
25
  workflow_server/utils/system_utils.py,sha256=3jNv113zRkKJ0928i2Vm6TqFHrDulteQu1kjseP2B0Y,3271
26
26
  workflow_server/utils/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -28,7 +28,7 @@ workflow_server/utils/tests/test_sentry_integration.py,sha256=LGmWiaLhFrx-jslrRj
28
28
  workflow_server/utils/tests/test_system_utils.py,sha256=_4GwXvVvU5BrATxUEWwQIPg0bzQXMWBtiBmjP8MTxJM,4314
29
29
  workflow_server/utils/tests/test_utils.py,sha256=0Nq6du8o-iBtTrip9_wgHES53JSiJbVdSXaBnPobw3s,6930
30
30
  workflow_server/utils/utils.py,sha256=ZPoM1Suhid22dpB8oEFLux8wx-9iyzmSfWuYxSCrgWk,4774
31
- vellum_workflow_server-1.6.4.dist-info/METADATA,sha256=kHt8gHgq8Sb30IZ1kYhn_g6bDX-ZJ7VXtgkApq_ETm8,2267
32
- vellum_workflow_server-1.6.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
- vellum_workflow_server-1.6.4.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
- vellum_workflow_server-1.6.4.dist-info/RECORD,,
31
+ vellum_workflow_server-1.6.4.post2.dist-info/METADATA,sha256=NQOzPqJUMupffF4wb8lRMqZaBK7dtiAW4WBZbmM8Ccg,2273
32
+ vellum_workflow_server-1.6.4.post2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
+ vellum_workflow_server-1.6.4.post2.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
+ vellum_workflow_server-1.6.4.post2.dist-info/RECORD,,
@@ -15,7 +15,7 @@ from vellum.workflows.context import ExecutionContext
15
15
  from workflow_server.config import IS_VPC, VELLUM_API_URL_HOST, VELLUM_API_URL_PORT
16
16
  from workflow_server.utils.utils import convert_json_inputs_to_vellum
17
17
 
18
- DEFAULT_TIMEOUT_SECONDS = int(os.getenv("REVISION_TIMEOUT_SECONDS", 1800))
18
+ DEFAULT_TIMEOUT_SECONDS = int(os.getenv("MAX_WORKFLOW_RUNTIME_SECONDS", 1800))
19
19
 
20
20
 
21
21
  def create_vellum_client(
workflow_server/start.py CHANGED
@@ -44,7 +44,7 @@ def start() -> None:
44
44
  start_oom_killer_worker()
45
45
  init_signal_handlers()
46
46
 
47
- max_workflow_runtime_seconds = int(os.getenv("GUNICORN_TIMEOUT", os.getenv("REVISION_TIMEOUT_SECONDS", 1800)))
47
+ max_workflow_runtime_seconds = int(os.getenv("GUNICORN_TIMEOUT", os.getenv("MAX_WORKFLOW_RUNTIME_SECONDS", 1800)))
48
48
 
49
49
  # gevent didn't play nice with pebble and processes so just gthread here
50
50
  options = {
@@ -74,8 +74,12 @@ class OomKillerThread(Thread):
74
74
  self._kill_switch.set()
75
75
  active_span_ids = get_active_span_ids()
76
76
  logger.error(
77
- f"Workflow server OOM killed, memory: {memory_mb}MB, Process Count: {get_active_process_count()}",
78
- extra={"active_span_ids": active_span_ids},
77
+ "Workflow server OOM killed",
78
+ extra={
79
+ "active_span_ids": active_span_ids,
80
+ "memory_mb": memory_mb,
81
+ "process_count": get_active_process_count(),
82
+ },
79
83
  )
80
84
  # Give time for the threads to get our kill switch
81
85
  sleep(_KILL_GRACE_PERIOD)