fix: hopefully fixed the background task progress situation

This commit is contained in:
2026-07-23 22:48:53 +02:00
parent ea90167a5a
commit 87318c8b22
16 changed files with 225 additions and 42 deletions

View File

@@ -116,6 +116,11 @@ invariant ProgressThrottled {
-- At most one progress event per 250ms per task
}
invariant GroupProgressAggregatesChildren {
-- Matches bDS2: group progress averages every child task contribution.
-- Pending tasks contribute 0 and completed tasks contribute 1.
}
invariant FinishedTaskRetention {
-- The status snapshot surfaces only the most recent finished tasks:
-- completed/failed/cancelled tasks beyond config.recent_finished_limit