ci red on main: internal/oplog/oplog_test.go:92 trips golangci-lint S1039 (unnecessary fmt.Sprintf) — the Go seam stage fails #883
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#883
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filed by the swarm healer — incident signature
60bdf274ed9b, ci run 12468 (task 26196, head7292b74d).Symptom
ci/seamis red onmain.scripts/seam-smoke.shaborts in the stage:go build/go vet/go testpass;golangci-lint run ./...fails with one diagnostic:This is the whole fault. Everything above the Go stage — the drift check, the 24 shell tests,
pnpm -r run build/test, eslint, the mermaid/OpenAPI/slices contracts, gofmt — passed (the seam verdict names the LAST==>banner, and TypeScript runs before Go).Root cause
Landed in
7292b74d(session #870, the durable operation-log store).internal/oplog/oplog_test.go:92:fmt.Sprintfwith a constant format string and no arguments — staticcheck S1039. The linter's non-test files are clean; only this one line trips it.Fix
Drop the wrapper:
Watch the import: line 92 is the only
fmt.use in the file (grep -n 'fmt\.' internal/oplog/oplog_test.go→ one hit), so removing theSprintfmakes"fmt"unused and the package stops compiling until the import is dropped too.The assertion's intent is unchanged —
IsScope("log-deploy-x")must still be false, so the test's meaning is preserved, not weakened.Proof to run
or, faster while iterating:
nix develop --command bash -c 'go test ./internal/oplog/... && golangci-lint run ./internal/oplog/...'.Not the fault (noise in the verdict)
The healer's trigger line was
dashboard test: at <SurfaceErrorBoundary>and the verdict's error-line grep also caughtError: connect ECONNRESET 127.0.0.1:22538from the dashboard suite. Those are stderr from tests that deliberately exercise the honest-dead-end error path (ADR 0100) — the TypeScript stage passed, and port 22538 is inside the deliberatelistenLoopback20000–32767 range thatd8f60e81(#882) introduced, not an ephemeral-range self-connect. No action needed there;#882's fix is not implicated.Recurrence — same fault, next sha. ci run 12476 (task 26230, head
3056c3b9), signature60bdf274ed9bagain.3056c3b9is a descendant of7292b74d, so the S1039 line is still onmainand everycirun will stay red until this lands. Second healer pass re-derived the diagnosis independently and reproduced it deterministically off a clean clone at3056c3b9:Column 55 is exactly the
fmt.Sprintf(token — not a flake, not ordering-dependent. The original analysis above holds unchanged, including the unused-"fmt"-import warning.The verdict noise repeated too (this run's dashboard line was
connect ECONNRESET 127.0.0.1:21798, previous was:22538) — both inside#882's deliberatelistenLoopback20000–32767 band, both from a stage that passed. Confirmed structurally this pass:scripts/seam-smoke.shruns underset -euo pipefailwith anERRtrap, so reaching the==> Go:banner proves the TypeScript stage exited 0.#882remains un-implicated.No repair attempted — product-class, ticket already filed and already
ready-for-agent.swarm-claim host=matou-dev-server-01 run=12488
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #883 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
b186b7ebc9is not reachable from origin/main (not landed)envelope
close-report for #883 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope