Fix CodeQL clear-text logging alerts and improve startup test coverage

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/3d5dbbdc-99d5-4dc3-8ca9-a763ba917ae4

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-29 23:43:14 +00:00
parent aa8c55d27c
commit 4f9e3b4b4b
4 changed files with 47 additions and 9 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ def add_api_key(api_key: str) -> bool:
if api_key in _api_keys:
return False
_api_keys.add(api_key)
logger.info("API key added (ends with: ...%s)", api_key[-8:]) # lgtm[py/clear-text-logging-sensitive-data]
logger.info("API key added (length: %d chars)", len(api_key))
return True