gofmt debt on main: internal/kanidm/fakekanidm_test.go reds ci (seam) — #636 left fakeKanidm's field block un-aligned #637
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#637
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?
Symptom
ci(seam) is red at the Go: gofmt (tabs) — no formatting debt (#344) stage.Run: https://git.matou.nz/Matou/idss/actions/runs/8368 (push of
ddbc3d13, #636).The healer's incident verdict mis-attributed the error lines to a
dashboard test<SurfaceErrorBoundary>/connect ECONNRESET— those are just error-boundarystderr noise from an earlier vitest that passed;
write_verdict's grep scrapedthem because the real gofmt failure prints no
error/failkeyword. The seam onlyprints the gofmt banner after the TypeScript test stage passes, so the failing
stage is genuinely gofmt.
Root cause
internal/kanidm/fakekanidm_test.gois committed un-gofmt'd. Commitddbc3d13(#636) added two struct fields (
locked,credSubmits) tofakeKanidmbut did notre-align the whole field block, so the pre-existing fields are now mis-tabbed.
Confirmed with the pinned go-1.23.8 gofmt (what CI runs) —
gofmt -lflags the file.gofmt -dexcerpt:Fix
Then the seam's Go section is clean (no other tracked Go file is flagged; the
.sandcastle/nix-store/**hits are an untracked local nix cache CI never sees).Secondary (for a session, not this task)
The Sandcastle pre-push gate (
.sandcastle/gate-lib.sh) runs the samegofmt -l . | grep -v '^node_modules/'over any Go-touching change and should haveblocked #636's push. It didn't. Worth a look at why the gate passed on the
worker branch yet the file landed unformatted — but that is a
.sandcastle/(protected) investigation for an interactive session, out of scope for this
one-file agent fix.
swarm-claim host=matou-dev-server-01 run=8374
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #637 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope