mlrun 1.3.2rc4__py3-none-any.whl → 1.3.3rc1__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 mlrun might be problematic. Click here for more details.
- mlrun/api/main.py +11 -1
- mlrun/utils/version/version.json +2 -2
- {mlrun-1.3.2rc4.dist-info → mlrun-1.3.3rc1.dist-info}/METADATA +1 -1
- {mlrun-1.3.2rc4.dist-info → mlrun-1.3.3rc1.dist-info}/RECORD +8 -8
- {mlrun-1.3.2rc4.dist-info → mlrun-1.3.3rc1.dist-info}/LICENSE +0 -0
- {mlrun-1.3.2rc4.dist-info → mlrun-1.3.3rc1.dist-info}/WHEEL +0 -0
- {mlrun-1.3.2rc4.dist-info → mlrun-1.3.3rc1.dist-info}/entry_points.txt +0 -0
- {mlrun-1.3.2rc4.dist-info → mlrun-1.3.3rc1.dist-info}/top_level.txt +0 -0
mlrun/api/main.py
CHANGED
|
@@ -258,12 +258,17 @@ async def _initiate_logs_collection(start_logs_limit: asyncio.Semaphore):
|
|
|
258
258
|
"""
|
|
259
259
|
db_session = await fastapi.concurrency.run_in_threadpool(create_session)
|
|
260
260
|
try:
|
|
261
|
+
# we don't want initiate logs collection for aborted runs
|
|
262
|
+
run_states = mlrun.runtimes.constants.RunStates.all()
|
|
263
|
+
run_states.remove(mlrun.runtimes.constants.RunStates.aborted)
|
|
264
|
+
|
|
261
265
|
# list all the runs in the system which we didn't request logs collection for yet
|
|
262
266
|
runs = await fastapi.concurrency.run_in_threadpool(
|
|
263
267
|
get_db().list_distinct_runs_uids,
|
|
264
268
|
db_session,
|
|
265
269
|
requested_logs_modes=[False],
|
|
266
270
|
only_uids=False,
|
|
271
|
+
states=run_states,
|
|
267
272
|
)
|
|
268
273
|
if runs:
|
|
269
274
|
logger.debug(
|
|
@@ -431,7 +436,12 @@ async def _verify_log_collection_stopped_on_startup():
|
|
|
431
436
|
db_session,
|
|
432
437
|
requested_logs_modes=[True],
|
|
433
438
|
only_uids=False,
|
|
434
|
-
states=mlrun.runtimes.constants.RunStates.terminal_states()
|
|
439
|
+
states=mlrun.runtimes.constants.RunStates.terminal_states()
|
|
440
|
+
+ [
|
|
441
|
+
# add unknown state as well, as it's possible that the run reached such state
|
|
442
|
+
# usually it happens when run pods get preempted
|
|
443
|
+
mlrun.runtimes.constants.RunStates.unknown,
|
|
444
|
+
],
|
|
435
445
|
)
|
|
436
446
|
|
|
437
447
|
if len(runs) > 0:
|
mlrun/utils/version/version.json
CHANGED
|
@@ -16,7 +16,7 @@ mlrun/api/__init__.py,sha256=B-yvMk7vTs3QqtlPkM4pnZk_B4QKTGnfNhYr2n4Z30M,571
|
|
|
16
16
|
mlrun/api/alembic.ini,sha256=oeSJRHwBbF3c3-N_RJilcZD-diq3F-oPv21gDIkrZGs,2105
|
|
17
17
|
mlrun/api/constants.py,sha256=fyTQXJe4sx4GK8vZxklivgJgaSyOftk_NezGKA1J-mo,685
|
|
18
18
|
mlrun/api/initial_data.py,sha256=Zj9Oan9Qeg45AOv8Dfg3Gvsymuz5cFR7zgLskuxUTFs,23530
|
|
19
|
-
mlrun/api/main.py,sha256=
|
|
19
|
+
mlrun/api/main.py,sha256=5H7xmwus8DgDVJgGGOLfJ0Hkt18Cgyx-4SRvFV_TTqw,24498
|
|
20
20
|
mlrun/api/middlewares.py,sha256=VTW5VV7AGOigXf-ru2V3XSZzw_bMBr8j0uH2aMIGGfk,5235
|
|
21
21
|
mlrun/api/api/__init__.py,sha256=B-yvMk7vTs3QqtlPkM4pnZk_B4QKTGnfNhYr2n4Z30M,571
|
|
22
22
|
mlrun/api/api/api.py,sha256=suDQI8HL_zjtqaY7fBdm49SP73zJN2imdBiOh1hA4fQ,4267
|
|
@@ -371,11 +371,11 @@ mlrun/utils/notifications/notification/git.py,sha256=qI5Kd4U0PX8vfIVT_yjBIrToiJY
|
|
|
371
371
|
mlrun/utils/notifications/notification/ipython.py,sha256=jsM_tTV3ZzXv5NoQN2anfZJDTYsk95NDYVQnWFc9Zow,1951
|
|
372
372
|
mlrun/utils/notifications/notification/slack.py,sha256=wt6RlqJu9QC99Ki-3HNYmizYTyAnIVimFQ7bf-fYX2E,3650
|
|
373
373
|
mlrun/utils/version/__init__.py,sha256=hwfJgGWYGWFpepVGI1GbuCPqqEFGRbgguJg5sC0v4TU,614
|
|
374
|
-
mlrun/utils/version/version.json,sha256=
|
|
374
|
+
mlrun/utils/version/version.json,sha256=axUtBTcK-fciDg2HzIf8ic_ptS2ajlmMY3xuVWiZmpo,88
|
|
375
375
|
mlrun/utils/version/version.py,sha256=O4Q4kwtKlI73oK7oBPuz4SVkUI8BC11E9DJIKHT91kU,1970
|
|
376
|
-
mlrun-1.3.
|
|
377
|
-
mlrun-1.3.
|
|
378
|
-
mlrun-1.3.
|
|
379
|
-
mlrun-1.3.
|
|
380
|
-
mlrun-1.3.
|
|
381
|
-
mlrun-1.3.
|
|
376
|
+
mlrun-1.3.3rc1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
377
|
+
mlrun-1.3.3rc1.dist-info/METADATA,sha256=zRQUnLkGssFuXT_Pd6BkwoAHXs7DkMm6Dwpm3m9jDpQ,16690
|
|
378
|
+
mlrun-1.3.3rc1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
379
|
+
mlrun-1.3.3rc1.dist-info/entry_points.txt,sha256=ZbXmb36B9JmK7EaleP8MIAbZSOQXQV0iwKR6si0HUWk,47
|
|
380
|
+
mlrun-1.3.3rc1.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
|
|
381
|
+
mlrun-1.3.3rc1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|