Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublicTeam
Assigneesstack72

Relationships

#1902 Two versions of the same data record both flagged isLatest=true

Opened by 4chems · 8/29/2026· Shipped 8/31/2026

Model node-provisioner, spec 'state': records camphor, cysteine, isoleucine each have v1 and v2 with identical name/ns and BOTH isLatest=true (v1 created 2026-08-18T20:47Z, v2 2026-08-18T21:50Z — v1's flag was apparently not cleared when v2 was written; the writes happened during a rename-node session). Effects: data queries filtered on isLatest return duplicates, and the ambiguous-match error message of issue #1878 lists these nodes twice. Expected: exactly one isLatest per (model, spec, ns, name). Repro query: swamp data query 'modelName == "node-provisioner" && name == "camphor"' --select '"v=" + string(version) + " latest=" + string(isLatest)'. Cleanup guidance welcome — deleting by name would remove BOTH versions, so there is currently no safe way to drop just the stale v1.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 7 MOREPR_MERGED+ 2 MORESESSION_SUMMARIZED

Shipped

8/31/2026, 4:22:09 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack728/31/2026, 3:04:34 PM
Editable. Press Enter to edit.

stack72 commented 8/31/2026, 4:22:17 PM

Thanks @4chems for reporting this! The fix has been merged and a release is on its way. We appreciate your contribution to swamp.

Sign in to post a ripple.