You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(app): Offline Sync counts gaps between chunks as pending audio #23561
Grouped Offline Sync recording durations currently use latest end minus earliest start. The grouping tolerance admits gaps up to 120 seconds, so this reports time with no audio as pending audio. For example, three 5-second WALs starting at 08:00, 08:01 and 08:02 group as one recording and display 2m 5s instead of 15s on On the Way and Offline Sync. Overlapping phone/device copies must still count once.
Reproduced on main 5fb53c01cb86ce18c39f9589d30f4a1c906ad6c8 with production RecordingBlock/OnTheWayPage tests. Four regressions fail on unchanged code (gaps, overlapping copies plus gaps, invalid/empty lengths, and rendered summary/day/row).
Expected: count the union of positive audio intervals, preserve recording grouping, source files, ownership, retry and upload state. This corrects one demonstrable display inflation; it does not prove any reported backlog is noise, identify every bad clip, or establish customer recovery. Related startup recovery tracking: #23223.
Submitted fix in PR #23570: RecordingBlock.seconds now computes the union of positive audio intervals, excluding gaps and deduplicating overlapping copies while preserving all grouping invariants. Regression tests included.
Activity
fix(app): count only union of positive audio intervals in RecordingBl…
huynhnhatquandongnai-source commentedon Oct 25, 2026
Submitted fix in PR #23570: RecordingBlock.seconds now computes the union of positive audio intervals, excluding gaps and deduplicating overlapping copies while preserving all grouping invariants. Regression tests included.
fix(app): count only union of positive audio intervals in RecordingBl…
test(app): model drained device copy in recording block union test (B…
fix(app): count only union of positive audio intervals in RecordingBl…