feat(jobs): t3code events go back to the dispatching conversation, quiet branches close at night

This commit is contained in:
hh committed 2026-10-23 22:25:12 +02:00
1 parent 2bf2326178
commit 6db6c7b6ec
3 files changed
+43 -3

No files matched your search

+3 -1
View File
@@ -1,4 +1,4 @@
"""Ночью после ротации: глубокие чаты, тихие два дня, закрываются, не больше трёх."""
"""Ночью после ротации: тихие глубокие чаты - с выжимкой, тихие ветки - молча."""
from __future__ import annotations
@@ -21,3 +21,5 @@ async def close_idle(run: JobRun) -> None:
result.digest.path if result.digest else None,
result.error,
)
for branch in await run.close_quiet(kind="branch", days=3):
_log.info("closed quiet branch %s «%s»", branch.external_id, branch.title)