feat(assessment): add the review band of attempt signals and the disclosed collector
This commit is contained in:
1 parent
68286af8b7
commit
b3c6dc870b
124 files changed
+13522
-633
No files matched your search
@@ -244,7 +244,16 @@ func (service *AttemptService) finalizeActiveAttempt(
|
||||
}
|
||||
return fmt.Errorf("%s - calculate pinned decision: %w", location, finalizeErr)
|
||||
}
|
||||
return service.persistFinalizedAttempt(ctx, repository, scope, command, current, updated, changed, decision, policy, result)
|
||||
if err := service.persistFinalizedAttempt(ctx, repository, scope, command, current, updated, changed, decision, policy, result); err != nil {
|
||||
return err
|
||||
}
|
||||
if !changed {
|
||||
return nil
|
||||
}
|
||||
if err := service.signalObserver.scheduleEndedReview(ctx, unit, updated, databaseTime); err != nil {
|
||||
return fmt.Errorf("%s - schedule review: %w", location, err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (service *AttemptService) persistFinalizedAttempt(
|
||||
|
||||
Reference in new issue
Block a user