ci: satisfy plugin branch quality gates

This commit is contained in:
yellowcooln committed 2026-09-04 10:42:33 -04:00
1 parent c0aeb89399
commit 9150264f49
6 files changed
+28 -34

No files matched your search

+6 -6
View File
@@ -571,8 +571,8 @@ class PluginRuntime:
pass
try:
proc.wait(timeout=2)
except Exception:
pass
except Exception as exc:
logger.debug("Wait after killing %s failed: %s", plugin_id, exc)
with self._lock:
self._cleanup_handle(plugin_id)
@@ -593,12 +593,12 @@ class PluginRuntime:
try:
if handle.process.poll() is not None:
self._exit_codes[plugin_id] = handle.process.returncode
except Exception:
pass
except Exception as exc:
logger.debug("Could not record exit status for %s: %s", plugin_id, exc)
try:
handle.log_fp.close()
except Exception:
pass
except Exception as exc:
logger.debug("Could not close plugin log for %s: %s", plugin_id, exc)
@staticmethod
def _rotate_log_if_needed(log_file: Path) -> None: