refac: missing mutation tests, spa specs, checks shown to pass, touch targets, catalogue entry, production code

This commit is contained in:
Florian Sylvain committed 2026-11-04 03:04:35 +01:00
1 parent 7c15206170
commit 3e02e14da4
48 files changed
+2173 -83

No files matched your search

+4
View File
@@ -16,6 +16,7 @@ import (
"sort"
"strconv"
"strings"
"sync"
"testing"
"time"
)
@@ -42,12 +43,15 @@ const (
)
type contentScopeRecorder struct {
mu sync.Mutex
events []audit.Event
}
var _ audit.Recorder = &contentScopeRecorder{}
func (r *contentScopeRecorder) Record(_ context.Context, event audit.Event) {
r.mu.Lock()
defer r.mu.Unlock()
r.events = append(r.events, event)
}