main is red: internal/rescue test double recordingConfig missing clan.Config.WriteCommunityLanguage (regression of #2122) — go vet fails, ci blocked #2141
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#2141
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?
main is red:
go vet ./...fails to compile theinternal/rescuetest package, so theciworkflow's "Go: go.work resolves both modules; build, vet, test, lint each" stage exits 1 on every push. Found by the self-healing swarm healer on run 59214 (heada71cee68); classified product-class, so the healer filed this rather than touchinginternal/.The fault
Reproduced at
a71cee68in a fresh clone (go vet ./..., go1.26.7). Thebrokermodule vets clean;internal/rescue_testis the only failing package.Root cause
a8987221(#2122, "the community's primary language sets each service's default language") addedWriteCommunityLanguage(ctx, code string) (Commit, error)to theclan.Configinterface (internal/clan/clan.go:1031) and updated three implementors:internal/clan/config.go:294— the realconfigFaceinternal/clan/testing/fake.go:1460— the sharedfakeConfigcontrol-plane/cmd/control-plane/resting_composition.go:221— the resting stubIt missed a fourth:
recordingConfigininternal/rescue/deviceladder_test.go:60. That double is a hand-rolled forwarder — it embeds nothing and declares all 20clan.Configmethods explicitly (so it cannote()each config edit and prove the remove rung issues no clan op of its own), which means every new interface method has to be added to it by hand. The commit's own test run (go test clan/founding/) did not coverinternal/rescue, so it landed green locally and red in CI.The fix
Add the missing forwarder next to its siblings, matching the surrounding style (
WriteCommunityApex/WriteCommunitySizeat lines 127-135):Delegating to
c.r.Fake.Config()keeps the fake's real semantics (empty/enis a no-op recorded by absence, an unsupported code is refused per ADR 0100) and keeps the edit visible inrecordingClan.edits, which is what the ladder's "no clan op leaves rescue" assertion reads.Acceptance criteria
go vet ./...exits 0 at the repo root (bothgo.workmodules).go test ./internal/rescue/...passes, including the two load-bearing ladder assertions (removal routes to provisioning's LOSES confirm; gateway degradation summons break-glass).ciworkflow's Go stage goes green onmain.clan.Configinterface or to any non-test source — this is a test-double gap only.Worth considering (not required to close)
recordingConfigwill break this way again on the nextclan.Configmethod. Embedding the fake's config and overriding only the methods the test asserts on would make it forward-compatible. If that is a bigger change than this fix warrants, leave it and raise it separately — do not let it block going green.Evidence
ci, signature372652b2f4ef)/tmp/matou-heal-Matou-idss.ckkmTconmatou-workstation(run-verdict.txtcarries the stage/exit/error marker)a8987221c47179ff72f4d01835e7450f20513d4bStill red, still unclaimed — healer recurrence on
cirun 59281 (headfed0aa92), signature372652b2f4ef, heal runheal-Matou-idss-1793759807-2474692. Same fault as filed, re-confirmed atfed0aa92; no new diagnosis, and no code touched (product-class).Re-verified at
fed0aa92in the throwaway clone:recordingConfig(internal/rescue/deviceladder_test.go:60) is still the only one of the fourclan.Configimplementors missingWriteCommunityLanguage. The other three are present —internal/clan/config.go:294,internal/clan/testing/fake.go:1460,control-plane/cmd/control-plane/resting_composition.go:221.go vetreports exactly one error; the fix in the body above is still the whole fix.Why this ticket has not moved. It is not triage and not priority — the swarm physically cannot claim it.
claim-next-task.shhas been emitting[]on every tick because its 12sCLAIM_LISTER_MAX_TIMEbound now killslist-ready-tasks.sh(measured 11.45s / 22.15s / 27.88s / 18.01s over four consecutive runs — this forge answersissues?state=open&limit=50in 8–22s). The timeout arm takes the graceful[], which renders as an empty ready-tasks queue, so four consecutive workers opened their iteration with nothing claimed and ended without work — while re-running the lister by hand showed this ticket at the head of the queue. Filed as #2145 (ready-for-session; both scripts are factory-vendored, so the fix lands inMatou/dev-factory).So: this ticket stays
ready-for-agentand correct as written — it just needs either #2145 fixed first, or a hand to land the four-line forwarder. No dependency edge added deliberately: ablocked byedge would drop this ticket out of the lister's unblocked set and make it less claimable the moment the claim path recovers.