Provisioning deploy writes phantom clan-core inventory instances for render-shipping services — one selected docs-editing breaks the whole machine's eval #428
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#428
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?
Defect (live repro, Tairea Anau manual drive 2026-08-11)
Deploying Files & documents + Docs editing to the gateway committed
attach files (Nextcloud) module(real render, fine) and thenattach service docs-editing to gateway as gateway— a clan-core inventory instance naming a module that does not exist:That phantom instance breaks evaluation of the entire gateway machine, so nothing deploys — not even the services whose renders are real. Redeploying with only Files selected still fails, because the phantom placement is already committed in the config repo.
Cause
attachCatalogueService(internal/provision/deploy.go:412) routes a service through its real render only whenshipsOwnRendersays so — andshipsOwnRender(deploy.go:483) returns true only for files. Every other catalogue service falls through toConfig().AttachService, the phantom path — exactly the silent lie #351 AC3 outlawed for files.Meanwhile the renders already exist on the clan seam for every catalogue service:
files_attach.go,mail_attach.go,staticsites_attach.go,meetings_attach.go,docsediting_attach.go,chat_attach.go,code_attach.go.AttachDocsEditingeven documents its orchestrator join (WOPI pairing: both-placed re-runsAttachFileswithFilesLiveSet.DocsEditingset). Nothing calls them from provisioning.Fix
Attach*inattachCatalogueService(docs-editing first — it must also complete the WOPI pair perdocsediting_attach.go's contract; the orchestrator holds both live sets).Acceptance
files.nix+docs-editing.nixland, config evaluates,clan machines updateactually switches the node, health checks run against deployed services.DocsEditingset).Sibling: the silent-success masking defect is filed separately (deploy reports success when eval preflight skipped every node).
Fixed in
43d1843(on origin/main).attachCatalogueServiceis now a routing switch: files →AttachFiles, docs-editing →AttachDocsEditing(its render existed since #226 but was called by nothing). The WOPI pair completes whichever side attaches second (#413) — the node's final desired service set is threaded in, so docs-editing beside files re-runsAttachFileswithFilesLiveSet.DocsEditingset.docs-editing.nixwas added toknownGatewayModuleFilessoComposeGatewayCohostimports it (recomposed AFTER the module is written) — config evaluates, never a phantom clan-core instance.Ben's ruling (fix point 2) implemented: a render-shipping service provisioning does not yet route (mail / chat / code / meetings / static-sites) is gated out of P4-S2 (
provisionCannotDeploy— shown but not selectable, "not ready to set up here yet"). files + docs-editing are offered; the rest are the sibling frontier (each needs its secret live set + apex-in-test assembled).Acceptance:
TestDeploy_DocsEditingDrivesTheRealRenderNotAPhantomInventory,TestComposeGatewayCohost_ImportsTheLandedDocsEditingBesideFiles.DocsEditingset).attach-service docs-editingedit;AttachDocsEditingwith no apex is refused, never fabricated.TestForRole_GatewayOffersExactlyTheServicesProvisioningCanDeploy.Deferred follow-ups (noted in STATUS.md / GOTCHAS #14): docs-editing's coolwsd admin-console clan-var secret (WOPI editing works without it); the browser-side edit-a-document leg + docs-editing's own front-door route (the noted e2e follow-up); routing mail/chat/code/meetings/static-sites to their real renders (each exists on the clan seam).
Full suite green (52 packages), pre-push go-ci gate passed.