Skip to content

Commit 935f43a

Browse files
authored
refactor: tighten function size baseline from 443 to 179 (#2029)
The recent batch of function extraction PRs (#2026, #2027, #2028) reduced oversized functions (>60 lines) from 443 to 179. Update the architecture test baseline to lock in these gains and prevent regression. Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
1 parent 6dc9591 commit 935f43a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/architecture/size_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const (
1717
// baselineOversizedFunctions is the number of functions exceeding maxFunctionLines
1818
// at the time this test was introduced. The test fails if this count increases,
1919
// preventing new violations while allowing gradual cleanup.
20-
// Last measured: 2026-03-28 (develop branch at be7b91a7)
21-
baselineOversizedFunctions = 443
20+
// Last measured: 2026-03-28 (develop branch at 6dc95916)
21+
baselineOversizedFunctions = 179
2222
)
2323

2424
// knownOversizedFiles tracks files that currently exceed the size limit.

0 commit comments

Comments
 (0)