Open source video conferencing app powered by LiveKit. Built with Django and React.
π©Ή(all) clear the SonarCloud reliability finding and the lint debt
davd-gzla67467b19357
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex bfb7203d..987b7959 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -29,7 +29,7 @@ and this project adheres to- π(frontend) improve participant name rendering in the list- π(backend) rename TelephonyService to SIPManagement-## Fixed+### Fixed- π(transcription) fix silent bug in speaker assignment- π(summary) extend tasks auto retry logic@@ -38,6 +38,7 @@ and this project adheres to- π(backend) allow any string as sub in the API serializer- π(frontend) fall back to user.full_name on request-entry- πΈ(frontend) show two initials in the Avatar when possible+- π©Ή(all) clear the SonarCloud reliability finding and the lint debt## [1.24.0] - 2026-07-21diff --git a/src/backend/core/tasks/__init__.py b/src/backend/core/tasks/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/backend/core/tasks/_task.py b/src/backend/core/tasks/_task.pyindex 01c362a0..ede151be 100644--- a/src/backend/core/tasks/_task.py+++ b/src/backend/core/tasks/_task.py@@ -1,4 +1,11 @@+"""+Celery task decorator that degrades to a synchronous call when Celery is off.+"""++# The Celery app is imported lazily so that importing this module does not pull+# in Celery when CELERY_ENABLED is false.# ruff: noqa: PLC0415+# pylint: disable=import-outside-toplevelfrom django.conf import settingsdiff --git a/src/frontend/src/features/sdk/utils/CallbackIdHandler.ts b/src/frontend/src/features/sdk/utils/CallbackIdHandler.tsindex aeee0736..80cf0fe2 100644--- a/src/frontend/src/features/sdk/utils/CallbackIdHandler.ts+++ b/src/frontend/src/features/sdk/utils/CallbackIdHandler.ts@@ -2,9 +2,12 @@ export class CallbackIdHandler {private readonly storageKey = 'popup_callback_id'private generateId(): string {- return (- Math.random().toString(36).substring(2, 15) +- Math.random().toString(36).substring(2, 15)+ // The id is the only thing guarding /rooms/creation-callback/, which is+ // unauthenticated, so it comes from the CSPRNG rather than Math.random.+ const bytes = new Uint8Array(16)+ crypto.getRandomValues(bytes)+ return Array.from(bytes, (byte) => byte.toString(16).padStart(2, '0')).join(+ '')}diff --git a/src/summary/tests/unit/test_file_service.py b/src/summary/tests/unit/test_file_service.pyindex f7e6fc6d..33f89b37 100644--- a/src/summary/tests/unit/test_file_service.py+++ b/src/summary/tests/unit/test_file_service.py@@ -143,13 +143,9 @@ def test_media_info_ignores_empty_stream_entry(monkeypatch: pytest.MonkeyPatch)def test_extract_audio_from_video():"""Test that extract_audio_from_video can extract audio from a video file."""- path = None+ path = extract_audio_from_media(MEDIA_INFO_SAMPLE_VISIO)# A bit of cleanup logic since this is not a generatortry:- path = extract_audio_from_media(MEDIA_INFO_SAMPLE_VISIO)assert path.name.endswith(".m4a")- except Exception as e:- pytest.fail(f"Failed to extract audio from video: {e}")finally:- if path and path.exists():- path.unlink()+ path.unlink(missing_ok=True)