ci red on main: golangci-lint fails the Go seam stage — 11 errcheck/revive findings in the #788 IDIP packages #902
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#902
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?
cirun 12767 (headcc82fc3d, push to main) fails its first Go stage:go build/go vet/go testpass.golangci-lint run ./...reports 11 findings, all in the#788IDIP Go packages. Reproduced by the healer atorigin/main(cc82fc3d) insidenix develop:Root cause
Product code, not harness.
.golangci.ymlis the Standards contract for Go (errcheck+revive+staticcheck,exclude-use-default: false) and is unchanged since the skeleton commitbe7efcc3— no lint config moved under these files. The findings arrived with the IDIP packages in56bd30e1("idip: the live bring-up's first four rungs", #788 phases 1–4) and the commits after it.Why it surfaced only now
ciruns for the intervening pushes were cancelled, not run to a verdict:2f077e237817deac61618ff2cc82fc3dRapid successive pushes to
mainsuperseded each other, so the red rode four commits before a run survived long enough to report it.mainis currently red.Fix
Satisfy the lint contract in the six files above — check the
resp.Body.Close()errors (defer func() { _ = resp.Body.Close() }()or the repo's existing idiom), rename the unused handler param to_, and add doc comments to the exportedRosterAdaptermethods, theIssuedViewtype comment, and thekeriawireMemberStatusconst block. Do not widen.golangci.ymlto silence them.Verify with the same command CI runs:
Filed by the swarm healer (signature
07655d31c7c7, evidence/tmp/matou-heal-Matou-idss.BcAuok). No repair attempted — product-class.Heads-up (not claiming): these 11 findings were fixed on
origin/mainin commit2d4b114(sandcastle: unblock the shared Go push gate — #788's IDIP arc landed un-linted), landed while working #905 — the whole-treegolangci-lint run ./...push gate refused #905's Go push against this same lint-red main, so it had to be
greened to push at all.
Purely mechanical, zero-behaviour: doc comments on the exported
RosterAdaptermethods +
MemberView/IssuedViewsplit + theStatusWaiting…const block(revive),
defer func(){ _ = resp.Body.Close() }()inrosterclient.go/keystate.go/keri_verifier_test.go(errcheck), and an unused handler param →_inkeriauth_test.go.golangci-lint run ./...now exits 0.Whoever claims this can likely verify green and close. Root prevention (session
pushes bypass the sandcastle pre-push gate at
.sandcastle/git-hooks/pre-push, so#788's interactive arc reaches main un-linted) is a machinery concern — worth aready-for-sessionfollow-up if the gap should be closed at the hook, not justswept per-incident.
swarm-claim host=elitebook-distributed-server-03 run=12791
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #902 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope