outerbounds 0.3.182rc0__py3-none-any.whl → 0.3.182rc1__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.
- outerbounds/apps/_state_machine.py +10 -5
- outerbounds/apps/capsule.py +2 -1
- {outerbounds-0.3.182rc0.dist-info → outerbounds-0.3.182rc1.dist-info}/METADATA +3 -3
- {outerbounds-0.3.182rc0.dist-info → outerbounds-0.3.182rc1.dist-info}/RECORD +6 -6
- {outerbounds-0.3.182rc0.dist-info → outerbounds-0.3.182rc1.dist-info}/WHEEL +0 -0
- {outerbounds-0.3.182rc0.dist-info → outerbounds-0.3.182rc1.dist-info}/entry_points.txt +0 -0
@@ -342,17 +342,22 @@ def _capsule_worker_semantic_status(
|
|
342
342
|
|
343
343
|
status_dict: CapsuleWorkerStatusDict = {
|
344
344
|
"at_least_one_pending": count_for_version(pending_workers) > 0,
|
345
|
-
|
345
|
+
# if min_replicas is 0, the at_least_one_running should be true for running worker count = 0
|
346
|
+
"at_least_one_running": (
|
347
|
+
count_for_version(running_workers) >= min(min_replicas, 1)
|
348
|
+
),
|
346
349
|
"at_least_one_crashlooping": count_for_version(crashlooping_workers) > 0,
|
347
350
|
"none_present": (
|
348
351
|
count_for_version(running_workers) == 0
|
349
352
|
and count_for_version(pending_workers) == 0
|
350
353
|
and count_for_version(crashlooping_workers) == 0
|
351
354
|
),
|
352
|
-
"all_running": count_for_version(running_workers)
|
353
|
-
"fully_finished":
|
354
|
-
|
355
|
-
|
355
|
+
"all_running": count_for_version(running_workers) >= min_replicas,
|
356
|
+
"fully_finished": (
|
357
|
+
count_for_version(running_workers) >= min_replicas
|
358
|
+
and len(pending_workers) == 0
|
359
|
+
and len(crashlooping_workers) == 0
|
360
|
+
),
|
356
361
|
"current_info": {
|
357
362
|
"pending": count_for_version(pending_workers),
|
358
363
|
"running": count_for_version(running_workers),
|
outerbounds/apps/capsule.py
CHANGED
@@ -751,7 +751,8 @@ class CapsuleDeployer:
|
|
751
751
|
# side will be really helpful.
|
752
752
|
self._monitor_worker_readiness(workers_state_machine, logger)
|
753
753
|
|
754
|
-
|
754
|
+
# We should still check for failure state and crash if we detect something in the readiness check
|
755
|
+
if workers_state_machine.is_failure_state:
|
755
756
|
# hit the logs endpoint for the worker and get the logs
|
756
757
|
# Print those logs out on the terminal
|
757
758
|
# raise an exception that should be caught gracefully by the cli
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: outerbounds
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.182rc1
|
4
4
|
Summary: More Data Science, Less Administration
|
5
5
|
License: Proprietary
|
6
6
|
Keywords: data science,machine learning,MLOps
|
@@ -29,8 +29,8 @@ Requires-Dist: google-cloud-secret-manager (>=2.20.0,<3.0.0) ; extra == "gcp"
|
|
29
29
|
Requires-Dist: google-cloud-storage (>=2.14.0,<3.0.0) ; extra == "gcp"
|
30
30
|
Requires-Dist: metaflow-checkpoint (==0.2.1)
|
31
31
|
Requires-Dist: ob-metaflow (==2.15.17.1)
|
32
|
-
Requires-Dist: ob-metaflow-extensions (==1.1.
|
33
|
-
Requires-Dist: ob-metaflow-stubs (==6.0.3.
|
32
|
+
Requires-Dist: ob-metaflow-extensions (==1.1.170rc1)
|
33
|
+
Requires-Dist: ob-metaflow-stubs (==6.0.3.182rc1)
|
34
34
|
Requires-Dist: opentelemetry-distro (>=0.41b0) ; extra == "otel"
|
35
35
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.20.0) ; extra == "otel"
|
36
36
|
Requires-Dist: opentelemetry-instrumentation-requests (>=0.41b0) ; extra == "otel"
|
@@ -43,11 +43,11 @@ outerbounds/_vendor/yaml/scanner.py,sha256=ZcI8IngR56PaQ0m27WU2vxCqmDCuRjz-hr7pi
|
|
43
43
|
outerbounds/_vendor/yaml/serializer.py,sha256=8wFZRy9SsQSktF_f9OOroroqsh4qVUe53ry07P9UgCc,4368
|
44
44
|
outerbounds/_vendor/yaml/tokens.py,sha256=JBSu38wihGr4l73JwbfMA7Ks1-X84g8-NskTz7KwPmA,2578
|
45
45
|
outerbounds/apps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
|
-
outerbounds/apps/_state_machine.py,sha256=
|
46
|
+
outerbounds/apps/_state_machine.py,sha256=eAJFNt_9kwE70XyXoMU107TrzPRnb2xcAyVtXV1yAGc,14646
|
47
47
|
outerbounds/apps/app_cli.py,sha256=vTbIN43A9A_OHTM0I6cb28g3GtY4_jk1wmUi5wG09w0,50174
|
48
48
|
outerbounds/apps/app_config.py,sha256=UHVK8JLIuW-OcGg5WxDm4QHeImPGtohD4KpJryZntC4,11307
|
49
49
|
outerbounds/apps/artifacts.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
50
|
-
outerbounds/apps/capsule.py,sha256=
|
50
|
+
outerbounds/apps/capsule.py,sha256=VTMS0qp0q7PiaMTyRgO5jmX_2BvSzYgNyODn9G377aQ,31151
|
51
51
|
outerbounds/apps/cli_to_config.py,sha256=Thc5jXRxoU6Pr8kAVVOX-5Es5ha6y6Vh_GBzL__oI7Q,3299
|
52
52
|
outerbounds/apps/click_importer.py,sha256=nnkPOR6TKrtIpc3a5Fna1zVJoQqDZvUXlNA9CdiNKFc,995
|
53
53
|
outerbounds/apps/code_package/__init__.py,sha256=8McF7pgx8ghvjRnazp2Qktlxi9yYwNiwESSQrk-2oW8,68
|
@@ -78,7 +78,7 @@ outerbounds/utils/metaflowconfig.py,sha256=l2vJbgPkLISU-XPGZFaC8ZKmYFyJemlD6bwB-
|
|
78
78
|
outerbounds/utils/schema.py,sha256=lMUr9kNgn9wy-sO_t_Tlxmbt63yLeN4b0xQXbDUDj4A,2331
|
79
79
|
outerbounds/utils/utils.py,sha256=4Z8cszNob_8kDYCLNTrP-wWads_S_MdL3Uj3ju4mEsk,501
|
80
80
|
outerbounds/vendor.py,sha256=gRLRJNXtZBeUpPEog0LOeIsl6GosaFFbCxUvR4bW6IQ,5093
|
81
|
-
outerbounds-0.3.
|
82
|
-
outerbounds-0.3.
|
83
|
-
outerbounds-0.3.
|
84
|
-
outerbounds-0.3.
|
81
|
+
outerbounds-0.3.182rc1.dist-info/METADATA,sha256=qJ6vJ908OYQf8CI05n_Ak06Akkm02ZxyzQPCVJJ9drc,1846
|
82
|
+
outerbounds-0.3.182rc1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
83
|
+
outerbounds-0.3.182rc1.dist-info/entry_points.txt,sha256=AP6rZg7y5SK9e9a9iVq0Fi9Q2KPjPZSwtZ6R98rLw-8,56
|
84
|
+
outerbounds-0.3.182rc1.dist-info/RECORD,,
|
File without changes
|
File without changes
|