fix(issue-57): the audit log follows the registry; the disk fallback reads the audit status #58
No files matched your search
@@ -399,6 +399,6 @@ def _flush(notifications, registry_dir) -> None:
|
||||
"reason": note.get("reason"),
|
||||
"by": note.get("by"),
|
||||
"timestamp": note.get("timestamp"),
|
||||
})
|
||||
}, logs_dir=logs_dir)
|
||||
except Exception as exc: # pragma: no cover - best effort
|
||||
logger.warning("audit mirror failed for %s: %s", job_id, exc)
|
||||
@@ -241,7 +241,7 @@ def _pick_pending_legacy(agent_session: str, registry_dir: str = DEFAULT_REGISTR
|
||||
"to": "running",
|
||||
"by": agent_session,
|
||||
"timestamp": updated_at,
|
||||
})
|
||||
}, logs_dir=logs_dir)
|
||||
return job_id
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user