mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-19 00:27:49 +00:00
CodeRabbit's majors on #1735: evicting a file from the capped usage list dropped asset_peaks, so a later identical report was counted twice. Retention now includes asset_updated, and the file just heard from is kept even when timestamps tie. The document keeps up to 1000 asset counts, but each wire message is still capped at 250, so reports are sent in batches an older server will accept. Tests: evicting_capped_usage_rows_keeps_asset_peaks_so_a_repeat_report_is_not_counted_twice and asset_action_reports_cover_every_count_past_the_message_cap. Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>