ci red: revive unused-parameter 'tree' in renderGrampsWebAdmin blocks the seam Go stage (causative in 3a2645a2) #1312
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#1312
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 19794 (seam, push of3a2645a2tomain) is red at stage "Go: go.work resolves both modules; build, vet, test, lint each", exit 1.golangci-lint run ./...reports onereviveerror:Unlike #1309 (where the pushed commit was the messenger), this fault is causative: it shipped in the head commit of the failing run.
Root cause
3a2645a2("Gramps Web owner bootstrap uses the real CLI shape…") rewrote thegrampsweb-adminoneshot. The old shape consumed the parameter:Both lines were deleted by the fix — correctly, because
--treetakes a tree ID that single-tree mode (GRAMPSWEB_TREE) does not need, and the tree name moved torenderGrampsWebContainers, which now emitsGRAMPSWEB_TREE = %qfor the celery worker. The commit dropped every use oftreeinsiderenderGrampsWebAdminbut left the parameter in the signature:internal/clan/whakapapa.go:424—func renderGrampsWebAdmin(b *strings.Builder, _ WhakapapaConfig, admin, tree string)internal/clan/whakapapa.go:266— the sole caller,renderGrampsWebAdmin(&b, cfg, admin, tree)Across the function's full extent (424–474)
treeappears only insideb.WriteStringstring literals — comment text in the generated Nix, not a Go reference. Column 73 in the verdict lands exactly on thetreetoken in the signature.This is a repeat of the class #1309 cleared, in the same function: #1309 renamed this signature's dead
cfgto_;3a2645a2then killedtreethe same way.Fix
Drop the parameter and its argument (preferred —
renderGrampsWebAdmingenuinely no longer needs a tree), or rename it_to match thecfgtreatment #1309 applied one position to the left. Then re-rule the Go stage:Check whether the same commit left any sibling parameter dead in
renderGrampsWebContainers/renderWhakapapaBrandbefore closing — the seam stops at the first error, so one green run is the only proof the set is clear.Evidence
run-verdict.txt(heal evidence/tmp/matou-heal-Matou-idss.PGUyKx) — stage,exit=1, the verbatim error line.runs.json— the seam run for3a2645a2;workdir-git.txt— workdir at3a2645a2, no rebase in progress.scripts/seam-smoke.sh:185-189— the stage that runsgolangci-lint run ./....git show 3a2645a2 -- internal/clan/whakapapa.go— the removedtree=%q/--tree "$tree"lines.Confirmed statically, not by re-running the linter:
golangci-lintis not on the healer's PATH (it lives in the flake devshell,flake.nix:210) and the swarm lock washeld, so the workdir was read-only.Filed by the swarm healer — heal run
heal-Matou-idss-1788833133-3585532, signature90d3280a8d76.swarm-claim host=matou-dev-server-01 run=19828
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1312 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope