fix(issue-57): the audit log follows the registry; the disk fallback reads the audit status #58

Merged
Godopu merged 16 commits from fix/issue-57 into main 2026-10-15 13:52:10 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 6d182b392c - Show all commits

No files matched your search

+1 -1
View File
@@ -399,6 +399,6 @@ def _flush(notifications, registry_dir) -> None:
"reason": note.get("reason"), "reason": note.get("reason"),
"by": note.get("by"), "by": note.get("by"),
"timestamp": note.get("timestamp"), "timestamp": note.get("timestamp"),
}) }, logs_dir=logs_dir)
except Exception as exc: # pragma: no cover - best effort except Exception as exc: # pragma: no cover - best effort
logger.warning("audit mirror failed for %s: %s", job_id, exc) logger.warning("audit mirror failed for %s: %s", job_id, exc)
+1 -1
View File
@@ -241,7 +241,7 @@ def _pick_pending_legacy(agent_session: str, registry_dir: str = DEFAULT_REGISTR
"to": "running", "to": "running",
"by": agent_session, "by": agent_session,
"timestamp": updated_at, "timestamp": updated_at,
}) }, logs_dir=logs_dir)
return job_id return job_id