Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ permissions:
contents: read

env:
# Bumped to 1.25.11 for the June 2026 security release (govulncheck
# flagged reachable net/textproto (GO-2026-5039) and crypto/x509
# (GO-2026-5037) stdlib advisories fixed in 1.25.11).
GO_VERSION: "1.25.11"
# Bumped to 1.25.12 for the July 2026 security release (govulncheck
# flagged the reachable crypto/tls ECH advisory GO-2026-5856, fixed in
# 1.25.12; previous bump: GO-2026-5039/GO-2026-5037 fixed in 1.25.11).
GO_VERSION: "1.25.12"
GOLANGCI_LINT_VERSION: "v2.11.4"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ All commands are wrapped in the root Makefile. Always use `make` targets — nev
- Always provide `envDefault` for non-critical config (port, database name, log level); never default secrets or connection strings — mark them `required`

### Docker
- Multi-stage Dockerfiles: `golang:1.25.11-alpine` builder, `alpine:3.21` runtime
- Multi-stage Dockerfiles: `golang:1.25.12-alpine` builder, `alpine:3.21` runtime
- Location: `<service>/deploy/Dockerfile`
- Build context: repo root so `pkg/` and `go.mod` are accessible
- Docker Compose for local dev only — include only the dependencies the service needs
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OBS_COMPOSE := tools/observability/docker-compose.yml
# Go 1.25. Tracks the repo-wide Go (go.mod / ci.yml); Go fetches the
# pinned toolchain on demand.
GOBIN_DIR := $(shell go env GOPATH)/bin
TOOLS_GO_TOOLCHAIN := go1.25.11
TOOLS_GO_TOOLCHAIN := go1.25.12
GOLANGCI_LINT_VERSION := v2.11.4
GOSEC_VERSION := v2.26.1
GOVULNCHECK_VERSION := v1.3.0
Expand Down
2 changes: 1 addition & 1 deletion auth-service/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion auth-service/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: auth-service
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion broadcast-worker/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion broadcast-worker/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: broadcast-worker
REGISTRY: '$(containerRegistry)'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder

WORKDIR /app

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_PATH: data-migration/oplog-collections-transformer
IMAGE_NAME: oplog-collections-transformer
REGISTRY: '$(containerRegistry)'
Expand Down
2 changes: 1 addition & 1 deletion data-migration/oplog-connector/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion data-migration/oplog-connector/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_PATH: data-migration/oplog-connector
IMAGE_NAME: oplog-connector
REGISTRY: '$(containerRegistry)'
Expand Down
2 changes: 1 addition & 1 deletion data-migration/oplog-direct-transfer/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder

WORKDIR /app

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_PATH: data-migration/oplog-direct-transfer
IMAGE_NAME: oplog-direct-transfer
REGISTRY: '$(containerRegistry)'
Expand Down
2 changes: 1 addition & 1 deletion data-migration/oplog-transformer/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder

WORKDIR /app

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_PATH: data-migration/oplog-transformer
IMAGE_NAME: oplog-transformer
REGISTRY: '$(containerRegistry)'
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hmchangw/chat

go 1.25.11
go 1.25.12

require (
github.com/Marz32onE/instrumentation-go/otel-nats v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion history-service/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion history-service/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: history-service
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion inbox-worker/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion inbox-worker/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: inbox-worker
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion media-service/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion media-service/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: media-service
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion message-gatekeeper/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion message-gatekeeper/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: message-gatekeeper
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion message-worker/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion message-worker/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: message-worker
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion notification-worker/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion notification-worker/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: notification-worker
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion portal-service/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion portal-service/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: portal-service
REGISTRY: '$(containerRegistry)'
# Repo-wide 80% minimum, gated like search-service's pipeline. main.go is
Expand Down
2 changes: 1 addition & 1 deletion room-service/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion room-service/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: room-service
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion room-worker/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion room-worker/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: room-worker
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion search-service/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion search-sync-worker/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion search-sync-worker/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: search-sync-worker
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion tools/loadgen/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion tools/nats-debug/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

# ── Build stage ───────────────────────────────────────────────────────────────
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder

WORKDIR /build

Expand Down
2 changes: 1 addition & 1 deletion upload-service/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion user-presence-service/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion user-presence-service/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: user-presence-service
REGISTRY: '$(containerRegistry)'

Expand Down
2 changes: 1 addition & 1 deletion user-presence-service/sync/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion user-presence-service/sync/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_DIR: user-presence-service/sync
IMAGE_NAME: user-presence-sync
REGISTRY: '$(containerRegistry)'
Expand Down
2 changes: 1 addition & 1 deletion user-service/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25.11-alpine AS builder
FROM golang:1.25.12-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion user-service/deploy/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pr:
- pkg/

variables:
GO_VERSION: '1.25.11'
GO_VERSION: '1.25.12'
SERVICE_NAME: user-service
REGISTRY: '$(containerRegistry)'

Expand Down