Skip to content

Org upkeep (.github#1): lint baseline, Go 1.27.1, tool pins, core v0.1.5, JSON logs off a terminal - #53

Merged
CMGS merged 6 commits into
masterfrom
upkeep/github-1
Sep 24, 2026
Merged

CMGS merged 6 commits into
masterfrom
upkeep/github-1

Conversation

@CMGS

@CMGS CMGS commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Implements the per-repo part of cocoonstack/.github#1: revive default rules, nolintlint, Go 1.27.1, the pinned tool versions, projecteru2/core v0.1.5 and JSON log records when stderr is not a terminal (only the sections that apply here).

Commits

  • 209a1d7 docs: package comments for every package
  • d276b57 lint: enable revive default rules
  • ecb438b lint: enable nolintlint
  • 031d4dc build: go 1.27.1
  • 229a998 build: goreleaser v2.18.2
  • 55c0c7c log: JSON records when stderr is not a terminal

Notes

  • The cocoon pin is unchanged.

JSON logs off a terminal

cocoon-macos bogus: stderr to a file gives {"level":"error","func":"cmd.Execute",...}; under script -q the console line has ANSI colour codes.

Gates

Run with GOWORK=off against the pinned golangci-lint v2.13.2 (built with go1.27.1):

fmt-check PASS
lint PASS
asl-linux PASS
asl-darwin PASS
test PASS
build PASS

gofumpt v0.12.0 / goimports v0.50.0 are held until the next golangci-lint release vendors them (see the issue).

@CMGS
CMGS merged commit 72a0843 into master Sep 24, 2026
3 checks passed
@CMGS
CMGS deleted the upkeep/github-1 branch September 24, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant