Run all linting in Docker via Dockerfile.lint (closes #188) #200

Merged
clawbot merged 1 commits from feature/dockerized-lint into next 2026-09-22 12:11:19 +02:00
1 Commits
Author SHA1 Message Date
sneak b65d273077 Run all linting in Docker via Dockerfile.lint (closes #188)
Check / check (pull_request) Skipped
golangci-lint now runs only in Docker. New Dockerfile.lint (pinned
golangci-lint v2.12.2) COPYs the tree and runs the linter as a build
step; script/lint just builds it. A GATE_RUN build arg differs every
run, so the lint layer always executes -- a cached build would exit 0
having linted nothing.

config verify is deliberately omitted: it fetches its JSON schema over
an unpinned live HTTPS call, which REPO_POLICIES.md forbids.

script/bootstrap no longer installs golangci-lint (goimports kept). The
main Dockerfile lint stage now invokes golangci-lint directly rather
than make lint, so building it is not docker-in-docker.

Model: opus-4-8
2026-09-22 09:29:22 +00:00