fix(execution): KIS child cancel identity binding, sanitized logging, PG cancel SQL tests

Co-authored-by: genichin <4282227+genichin@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-09-01 12:06:45 +00:00
committed by GitHub
co-authored by genichin
parent f0ac909958
commit 65df10542b
5 changed files with 331 additions and 31 deletions
+8 -2
View File
@@ -408,8 +408,14 @@ class Daemon:
self.event_publisher.keepalive_tick()
try:
self.execution.run_once()
except Exception: # noqa: BLE001 - loop must survive transient errors
_log.exception("execution loop error — worker continues")
except Exception as exc: # noqa: BLE001 - loop must survive transient errors
# Sanitized: emit only the exception type, not the message or
# traceback, so credentials / DSN / raw payloads in adapter
# exceptions are never written to the log stream.
_log.error(
"execution loop error — worker continues: exc_type=%s",
type(exc).__name__,
)
def _ledger_loop(self) -> None:
while not self.stop.wait(self.config.ledger_interval_sec):