perf(api)!: cut per-request and per-tick event bus traffic

Session update events carry the new action as action_entry instead of the full log; access lines stay out of the log ring unless --debug. Job events build and redact their dict once, the progress interval matches the 0.5 s poll, and dashboard stats are serialized once.
This commit is contained in:
imSp4rky
2026-11-02 14:52:18 -07:00
parent bb081046e2
commit f6ce600d71
9 changed files with 77 additions and 37 deletions
-2
View File
@@ -140,9 +140,7 @@ def main(argv: list[str]) -> int:
try:
with progress_lock:
progress_state.update(progress_data)
log.info(f"Writing progress update: {progress_data}")
write_result(progress_path, progress_state)
log.info(f"Progress update written to {progress_path}")
except Exception as e:
log.error(f"Failed to write progress update: {e}")