chore: split the compile-check changed-files check file under the line limit
Merged
HA
2d ago+189+189+012345678901234567890123456789-177-177-012345678901234567890123456789
Summary
- No behavior change. Splits
fast_path.goso the final pull request intomain(#3318) passes CI.
User Impact
- None. The pull request into
mainfailedbuild-cli,Go CLI Security Analysis, andtest-windows-installersonTestProductionGoFilesStayFocused, becausefast_path.gohad 575 lines against the architecture test's limit of 500 (it counts every line, unlike the SLOC-based file-length check).
Changes
- The baseline record types and the code that records a baseline after a full compile (
RecordBaseline, the generator output hashing,baselineFiles,writeBaselineRecord, and the path helpers) move unchanged tobaseline_record.go, next tobaseline_record_test.go. The check that reads a baseline stays infast_path.go(now 401 lines).
Verification
cli/release-automation:go test ./...passes, includingTestProductionGoFilesStayFocused, which failed before.cli/dispatcher:go vet ./...,golangci-lint fmt --diff,golangci-lint run(0 issues), the complexity config (0 issues), andgo test ./...all pass.- File length check: no file over the limit.