You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analysis of the internal/ Go source files found 3 significant duplication patterns across the codebase. Two patterns carry correctness/safety implications beyond maintainability (inconsistent session-ID extraction can panic; inconsistent HTTP error formats break API contracts). The third pattern represents ~120+ lines of structural boilerplate that could be reduced to a shared helper.
Analysis of latest commit on
mainbranchSummary
Analysis of the
internal/Go source files found 3 significant duplication patterns across the codebase. Two patterns carry correctness/safety implications beyond maintainability (inconsistent session-ID extraction can panic; inconsistent HTTP error formats break API contracts). The third pattern represents ~120+ lines of structural boilerplate that could be reduced to a shared helper.Detected Patterns
Overall Impact
internal/guard/wasm.go,internal/server/session.go,internal/server/unified.go,internal/server/routed.go,internal/server/auth.go,internal/server/handlers.go)okcheck inrouted.go:91)Next Steps
routed.go:91as a priorityauth.goAnalysis Metadata
internal/(excluding*_test.go)