Files
go/rootfs/root/docker
casjay c277a41397
Build and Push / build (push) Failing after 3h0m1s
🐛 Fix staticcheck incompatibility with latest Go export-data format 🐛
- Dockerfile: staticcheck is now built from `honnef.co/go/tools/cmd/staticcheck@master`
  in the go-tools cross-compile stage instead of being downloaded as a tagged-release
  binary in 05-custom.sh. The latest tagged release (2026.2.1) bundles an x/tools
  importer that only reads export-data format up to version 4, but the latest Go
  release (go1.27.2) now emits version 5, so every staticcheck run failed with
  "internal error in importing ... export data version 5 is greater than maximum
  supported version 4". go-tools' master branch already has the fix (bumped its
  x/tools dependency to v0.51.0 for unified v5 export data support) but no new tag
  has shipped yet — pinned to @master as a temporary measure, documented in a comment
  to switch back to @latest once a release ships with the fix.
- rootfs/root/docker/setup/05-custom.sh: removed the now-redundant tagged-release
  staticcheck download (__gh_latest dominikh/go-tools + __install_tar), updated the
  go-install-tools comment list to include staticcheck (and the previously-missing
  go-licenses/cyclonedx-gomod).
- Verified: rebuilt the image locally (--no-cache), ran `go vet ./... && staticcheck
  ./...` against a test module inside the real container — exits 0, no export-data
  errors, against go1.27.2 and staticcheck (devel, v0.7.0-0.dev.0.20261009230814).

- README.md: N/A - no user-facing change

Claude-Session: https://claude.ai/code/session_0179kqXvwBhQiMKQkbT9XEqG
2026-10-10 18:48:41 -04:00
..