Skip to content

v26.05.12

Choose a tag to compare

@mudrii mudrii released this 12 May 09:26
· 68 commits to main since this release
4d5cbd1

Highlights

Quality-audit hardening release. Addresses all HIGH and MEDIUM findings from QUALITY_AUDIT.md (commit bf58ddb baseline).

Code quality

  • Refactored cmd/post.go, cmd/approval.go, cmd/doctor.go, cmd/schedule.go into small testable helpers (cognitive complexity reductions)
  • Made internal/auth keyring backend injectable for integration tests
  • Up-front validation in cmd/batch.go (text 5–3000 chars, author_urn prefix, reaction type) with classified error codes

Correctness

  • Fixed Rest.li URN encoding in internal/api/urn.go to escape /, ?, #, &, = (was only % and :)
  • Capped HTTP record/replay response bodies at 8 MiB; dropped content-type gate so opaque bodies still flow through redaction

Tests

  • Split 1013-line internal/output/schema_test.go into 19 per-feature files
  • Total coverage 72.2% → 81.3%; every package now ≥75%
  • Added keyring backend integration tests and approval store internal tests

Security

  • Bumped Go 1.26.2 → 1.26.3 to clear stdlib net / net/http vulnerabilities (GO-2026-4918 et al.)
  • Bumped golangci-lint-action v6 → v9 (matches v2 config schema; pinned to golangci-lint v2.12.2)

Install

# Go
go install github.com/mudrii/golink@v26.05.12

# Homebrew (tap is this repo)
brew tap mudrii/golink https://github.com/mudrii/golink
brew install mudrii/golink/golink

Requires Go 1.26.3+. Tested with brew test + brew style on macOS arm64.