profile: harden compaction cleanup

This commit is contained in:
2026-08-05 00:07:38 +08:00
parent 0dd221a80f
commit 6eef9bb4f2
9 changed files with 351 additions and 58 deletions
@@ -65,6 +65,7 @@ data class ProfileCompactionPlan(
val mergedGroups: Int,
val rewrittenItems: Int,
val deletedItems: Int,
val repairedItemRanges: Int = 0,
val skippedOperations: List<String> = emptyList(),
)
@@ -75,6 +76,7 @@ data class ProfileCompactionReport(
val mergedGroups: Int,
val rewrittenItems: Int,
val deletedItems: Int,
val repairedItemRanges: Int = 0,
val summaryChanged: Boolean,
val skippedOperations: Int,
val usage: ProfileTokenUsage,