provision: #2018's fix never removes a phantom backup-copy inventory instance written BEFORE it landed — a retry still fails eval, a removal leaves it behind #2023
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2023
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
After #2018 (
47dd93aa) reached Whakatōhea Demo (release2026.09.3124, control plane restarted 05:36Z on 2026-09-30), the demo'sinventory.jsonstill holds the phantom instance left by a deploy that ran before the fix:The deploy (05:24–05:27Z, still on the pre-fix control plane
47275d9f) failed with the sameflake input 'clan-core' doesn't provide clan-module with name 'backup-copy'. The fixed code only affects new attaches. Nothing removes the old instance.Cause
The #2018 fix changed
AttachService/DetachServicefor renderless services to write or remove a marker file (machines/<node>/backup-copy.nix). Neither touches aninventory.instances["backup-copy@<node>"]entry that an earlier attach wrote. So:Any community that set up a member device with Backup copy before
47dd93aais left like this.Fix
inventory.instances[<service>@<node>](and drop the node from any instance of that module name). This is the migration the fix left out.Workaround on the demo
Remove
backup-copy@node-req-0003from/srv/idss/config/inventory.jsonby hand (revert7aa5ac3), then retry the deploy from the panel.Related
#2018 (the fix this completes).
swarm-claim host=matou-dev-server-01 run=36341
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2023 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope