fix: None crash in providers, _merge_deepest loop, lock-file false positives, stage() race, cache TTL, config merge, changelog indent, template check

This commit is contained in:
sankalp committed 2026-06-06 21:33:51 +05:45
1 parent fb87bfa146
commit 70e9068082
14 files changed
+31 -17

No files matched your search

+2 -1
View File
@@ -48,6 +48,7 @@ class CacheManager:
def __init__(self, path: Path, max_age_minutes: int = 120) -> None:
self.path = path
self.max_age_minutes = max_age_minutes
def init_dry_run(self) -> None:
self.path.parent.mkdir(parents=True, exist_ok=True)
@@ -59,7 +60,7 @@ class CacheManager:
if dry_run:
self.init_dry_run()
return {}
if not force_rebuild and is_file_recent(self.path):
if not force_rebuild and is_file_recent(self.path, self.max_age_minutes):
return extract_commit_messages(self.path)
return {}