Skip to content

Conversation

@niu789
Copy link

@niu789 niu789 commented Aug 14, 2025

  • Update Go from 1.22.5 to 1.24.6

    • .tool-versions: golang 1.22.5 → 1.24.6
    • go.mod: go 1.22 → go 1.24
    • Dockerfile: golang:1.22-alpine → golang:1.24.6-alpine
  • Update core dependencies to latest versions:

    • Docker client: v27.0.3 → v28.3.3+incompatible
    • Prometheus client: v1.19.1 → v1.23.0
    • Prometheus common: v0.55.0 → v0.65.0
    • Prometheus client model: v0.6.1 → v0.6.2
    • Prometheus procfs: v0.15.1 → v0.16.1
    • golang.org/x/sys: v0.22.0 → v0.33.0
    • google.golang.org/protobuf: v1.34.2 → v1.36.6
  • Update Docker infrastructure:

    • Base Alpine image: alpine:3 → alpine:3.21
    • Fix Dockerfile linting: 'as' → 'AS'
  • Update GitHub Actions workflow to latest versions:

    • actions/checkout: v2 → v5.0.0
    • docker/login-action: SHA-based → v3.5.0
    • docker/metadata-action: SHA-based → v5.8.0
    • docker/build-push-action: SHA-based → v6.18.0
  • Implement pre-commit hooks

  • Modernize Docker API usage with version negotiation

  • Add comprehensive Go documentation with auto-generation (gomarkdoc)

  • Fix security vulnerabilities and improve error handling as detected by gosec

  • Add HTTP server timeouts to prevent Slowloris attacks as detected by gosec

  • Update GitHub Actions to latest semantic versions

  • Add development tooling: editorconfig, yamllint, gosec, govulncheck

  • Replace deprecated imports (go-kit/kit -> go-kit/log)

  • Improve nil safety and defensive programming as detected by gosec

niu789 added 2 commits August 13, 2025 18:35
- Update Go from 1.22.5 to 1.24.6
  - .tool-versions: golang 1.22.5 → 1.24.6
  - go.mod: go 1.22 → go 1.24
  - Dockerfile: golang:1.22-alpine → golang:1.24.6-alpine

- Update core dependencies to latest versions:
  - Docker client: v27.0.3 → v28.3.3+incompatible
  - Prometheus client: v1.19.1 → v1.23.0
  - Prometheus common: v0.55.0 → v0.65.0
  - Prometheus client model: v0.6.1 → v0.6.2
  - Prometheus procfs: v0.15.1 → v0.16.1
  - golang.org/x/sys: v0.22.0 → v0.33.0
  - google.golang.org/protobuf: v1.34.2 → v1.36.6

- Update Docker infrastructure:
  - Base Alpine image: alpine:3 → alpine:3.21
  - Fix Dockerfile linting: 'as' → 'AS'

- Update GitHub Actions workflow to latest versions:
  - actions/checkout: v2 → v5.0.0
  - docker/login-action: SHA-based → v3.5.0
  - docker/metadata-action: SHA-based → v5.8.0
  - docker/build-push-action: SHA-based → v6.18.0
…dations

- Implement pre-commit hooks
- Modernize Docker API usage with version negotiation
- Add comprehensive Go documentation with auto-generation (gomarkdoc)
- Fix security vulnerabilities and improve error handling as detected by gosec
- Add HTTP server timeouts to prevent Slowloris attacks as detected by gosec
- Update GitHub Actions to latest semantic versions
- Add development tooling: editorconfig, yamllint, gosec, govulncheck
- Replace deprecated imports (go-kit/kit -> go-kit/log)
- Improve nil safety and defensive programming as detected by gosec
@niu789 niu789 requested review from crou and joan-s-molas August 14, 2025 13:20
@niu789 niu789 self-assigned this Aug 14, 2025
@niu789 niu789 added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 14, 2025
Copy link

@crou crou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a Go expert but LGTM

@crou crou merged commit acb18bf into main Aug 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants