[arvados] created: 2.1.0-3028-g8851415af

git repository hosting git at public.arvados.org
Mon Nov 14 16:32:12 UTC 2022


        at  8851415af9ae0bd1a6362f1877e34d6c5ff0c46f (commit)


commit 8851415af9ae0bd1a6362f1877e34d6c5ff0c46f
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Mon Nov 14 10:36:39 2022 -0500

    Don't send validation warning to runtime status.
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/sdk/cwl/arvados_cwl/executor.py b/sdk/cwl/arvados_cwl/executor.py
index b042401d6..447c14b8b 100644
--- a/sdk/cwl/arvados_cwl/executor.py
+++ b/sdk/cwl/arvados_cwl/executor.py
@@ -70,6 +70,10 @@ class RuntimeStatusLoggingHandler(logging.Handler):
             kind = 'error'
         elif record.levelno >= logging.WARNING:
             kind = 'warning'
+        if kind == 'warning' and record.name == "salad":
+            # Don't send validation warnings to runtime status,
+            # they're noisy and unhelpful.
+            return
         if kind is not None and self.updatingRuntimeStatus is not True:
             self.updatingRuntimeStatus = True
             try:

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list