v0.297.0: burn-down round 2 — 24 small rows (R-591 R-568 R-567 R-363 R-547 R-10 R-552 R-251 R-104 R-619 R-362 R-675 R-256 R-257 R-240 R-365 R-425 R-565 R-564 R-603 R-454 R-208 R-457-swept) + the banner countdown and deepCopyStack twins; MinAgent 0.131.0
gates / gates (push) Failing after 50s
gates / gates (push) Failing after 50s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -9,8 +9,6 @@ FROM golang:1.24-bookworm AS builder
|
||||
|
||||
ARG TARGETOS=linux
|
||||
ARG TARGETARCH
|
||||
ARG VERSION=dev
|
||||
ARG GIT_COMMIT=unknown
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
@@ -24,6 +22,13 @@ COPY . .
|
||||
# Generate go.sum and ensure all deps are fetched
|
||||
RUN go mod tidy
|
||||
|
||||
# R-208: the per-build values are declared HERE, just above the only step that reads them. A RUN's
|
||||
# cache key includes the stage's ARG environment, so declared above `go mod download` a fresh VERSION
|
||||
# re-ran the module download on every build (208 cache records, each used once, ~440 MB apiece).
|
||||
# Pinned by TestR208_DockerfileVersionArgsSitBelowModuleDownload.
|
||||
ARG VERSION=dev
|
||||
ARG GIT_COMMIT=unknown
|
||||
|
||||
# Build static binary
|
||||
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \
|
||||
-ldflags="-s -w \
|
||||
|
||||
Reference in New Issue
Block a user