Surveyed 2026-08-07: the Dockerfile lint stage pins golangci/golangci-lint v2.10.1 by digest, while local development
uses golangci-lint 2.12.2. The newer linter reports 94 findings
(noctx 47, gosec 23, goconst 24) that v2.10.1 does not — verified
today: script/cibuild (docker build, pinned v2.10.1) passes on main while local make check fails with those 94. CI is therefore
green while main is out of compliance with the "main always passes make check" policy under the current toolchain.
Once #175, #176, #177, and #178 land and local make check is clean,
bump the pin so CI enforces the current lint set and this divergence
cannot reopen.
Steps:
update the FROM golangci/golangci-lint@sha256:... line in Dockerfile to the digest of the current v2.12.x image
update the version/date comment above it (# golangci/golangci-lint:v2.12.x, YYYY-MM-DD) per REPO_POLICIES.md
digest-pinned only — never a mutable tag
Definition of done:
blocked on #175, #176, #177, #178 (bumping earlier turns CI red)
script/cibuild passes with the new pin (lint stage runs the
v2.12.x linter and finds zero issues)
comment above the pin states the exact version and date
lands via PR from a feature branch off main
Surveyed 2026-08-07: the `Dockerfile` lint stage pins
`golangci/golangci-lint` v2.10.1 by digest, while local development
uses golangci-lint 2.12.2. The newer linter reports 94 findings
(`noctx` 47, `gosec` 23, `goconst` 24) that v2.10.1 does not — verified
today: `script/cibuild` (docker build, pinned v2.10.1) passes on
`main` while local `make check` fails with those 94. CI is therefore
green while `main` is out of compliance with the "main always passes
`make check`" policy under the current toolchain.
Once #175, #176, #177, and #178 land and local `make check` is clean,
bump the pin so CI enforces the current lint set and this divergence
cannot reopen.
Steps:
- update the `FROM golangci/golangci-lint@sha256:...` line in
`Dockerfile` to the digest of the current v2.12.x image
- update the version/date comment above it (`# golangci/golangci-lint:v2.12.x, YYYY-MM-DD`) per `REPO_POLICIES.md`
- digest-pinned only — never a mutable tag
Definition of done:
- blocked on #175, #176, #177, #178 (bumping earlier turns CI red)
- `script/cibuild` passes with the new pin (lint stage runs the
v2.12.x linter and finds zero issues)
- comment above the pin states the exact version and date
- lands via PR from a feature branch off `main`
clawbot
added this to the 1.1.0 milestone 2026-08-07 18:40:59 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Surveyed 2026-08-07: the
Dockerfilelint stage pinsgolangci/golangci-lintv2.10.1 by digest, while local developmentuses golangci-lint 2.12.2. The newer linter reports 94 findings
(
noctx47,gosec23,goconst24) that v2.10.1 does not — verifiedtoday:
script/cibuild(docker build, pinned v2.10.1) passes onmainwhile localmake checkfails with those 94. CI is thereforegreen while
mainis out of compliance with the "main always passesmake check" policy under the current toolchain.Once #175, #176, #177, and #178 land and local
make checkis clean,bump the pin so CI enforces the current lint set and this divergence
cannot reopen.
Steps:
FROM golangci/golangci-lint@sha256:...line inDockerfileto the digest of the current v2.12.x image# golangci/golangci-lint:v2.12.x, YYYY-MM-DD) perREPO_POLICIES.mdDefinition of done:
script/cibuildpasses with the new pin (lint stage runs thev2.12.x linter and finds zero issues)
mainclawbot referenced this issue2026-09-03 18:29:27 +02:00
clawbot referenced this issue2026-09-03 18:29:58 +02:00