refactor: remove verified dead code

This commit is contained in:
chengyongru authored and chengyongru committed 2026-08-08 21:10:34 +08:00
1 parent 4e063f5695
commit 113e8d67ad
40 files changed
+76 -716

No files matched your search

-7
View File
@@ -25,9 +25,6 @@ from nanobot.cron.types import (
CronSchedule,
CronStore,
)
from nanobot.utils.run_records import (
safe_run_record_name,
)
from nanobot.utils.run_records import (
write_run_record as write_automation_run_record,
)
@@ -440,10 +437,6 @@ class CronService:
tmp_path.unlink(missing_ok=True)
raise
@staticmethod
def _safe_run_record_name(run_id: str) -> str:
return safe_run_record_name(run_id)
def write_run_record(self, run_id: str, record: dict[str, Any]) -> None:
"""Write an internal audit record for one cron execution."""
write_automation_run_record(self._run_records_dir, run_id, record)