Доработайте публикацию и сверку вложений по итогам ревью

This commit is contained in:
2026-11-18 11:43:27 +03:00
parent 1f06d9f4ab
commit 80c4a56200
27 changed files with 605 additions and 275 deletions
+2 -1
View File
@@ -119,7 +119,8 @@ func measure(ctx context.Context, r *attachment.Reconciler, phase, mode string,
}
}()
m := measurement{Phase: phase, Mode: mode, TargetFiles: n}
stats, err := r.Run(ctx, apply, deep, func(f attachment.Finding) { m.Findings = append(m.Findings, f) })
options := attachment.ReconcileOptions{Apply: apply, Deep: deep}
stats, err := r.Run(ctx, options, func(f attachment.Finding) { m.Findings = append(m.Findings, f) })
close(done)
m.GoHeapPeakBytes = <-peakCh
m.Stats = stats