frigate/frigate/record
Kirill Kulakov cfeb86646f
Some checks failed
CI / AMD64 Build (push) Has been cancelled
CI / ARM Build (push) Has been cancelled
CI / Jetson Jetpack 6 (push) Has been cancelled
CI / AMD64 Extra Build (push) Has been cancelled
CI / ARM Extra Build (push) Has been cancelled
CI / Synaptics Build (push) Has been cancelled
CI / Assemble and push default build (push) Has been cancelled
fix(recording): handle unexpected filenames in cache maintainer to prevent crash (#21676)
* fix(recording): handle unexpected filenames in cache maintainer to prevent crash

* test(recording): add test for maintainer cache file parsing

* Prevent log spam from unexpected cache files

Addresses PR review feedback: Add deduplication to prevent warning
messages from being logged repeatedly for the same unexpected file
in the cache directory. Each unexpected filename is only logged once
per RecordingMaintainer instance lifecycle.

Also adds test to verify warning is only emitted once per filename.

* Fix code formatting for test_maintainer.py

* fixes + ruff
2026-01-16 19:23:23 -07:00
..
__init__.py Ability to manually create events through the API (#3184) 2023-05-19 05:16:11 -05:00
cleanup.py Miscellaneous Fixes (#21289) 2025-12-15 09:32:11 -06:00
export.py Fix review summary for DST (#20770) 2025-11-03 07:34:47 -06:00
maintainer.py fix(recording): handle unexpected filenames in cache maintainer to prevent crash (#21676) 2026-01-16 19:23:23 -07:00
record.py Require setting process priority for FrigateProcess (#19207) 2025-08-16 10:20:33 -05:00
util.py Fix percentage in recording cleanup log (#19525) 2025-08-16 07:10:08 -06:00