mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-11 17:10:38 -10:00
Problem: The x/crypto security update raises the module language directive to Go 1.26, so golangci-lint starts reporting repository-wide modernize suggestions that predate this change. Root cause: The linter's modernize suite includes Go 1.25/1.26 migrations that were not part of the repository baseline, while one new parser change still used the stringscut pattern. Fix: Defer newexpr, stditerators, and waitgroupgo as explicit migrations, remove the unnecessary loop-variable copy in the new concurrency test, and use strings.Cut in the framed session parser. Verification: - golangci-lint run --timeout=5m (root and desktop) - go run ./tools/repolint - go test ./... -count=1 (root and desktop) - go test -race ./internal/agent ./internal/control ./internal/sessioncontext -count=1 - go mod tidy -diff (root and desktop)