secubox-deb/scripts/tests
CyberMind-FR 68a3e78673 fix(ci): cache-lint recognizes threading.Thread background-refresh idiom
secubox-frigate follows the double-cache pattern (daemon refresh thread +
in-memory _cache guard + file cache + compute fallback) but used a sync handler
+ threading.Thread(target=refresh_cache) instead of asyncio.create_task — which
the lint's has_bg_refresh detection didn't recognize → false-positive
[no-cache-signals] → Dashboard Cache Lint red. Detect threading.Thread(target=
refresh_*)/Thread(target=refresh_*) alongside asyncio.create_task. +self-test.

Co-Authored-By: Gerald KERMA <devel@cybermind.fr>
2026-07-21 07:38:39 +02:00
..
fixtures
__init__.py
README.md
test_check_dashboard_cache.py fix(ci): cache-lint recognizes threading.Thread background-refresh idiom 2026-07-21 07:38:39 +02:00
test-agent-worktree.sh

test fixtures for agent-worktree.sh