The copy of sent_builds never revives an ended key; a send empties its node's column (issue 1109)

A found ended or pending key is skipped and a pulled-in key is created only where no key exists. RecordSentWith and RecordSentUnder set sent_builds = null in their own update of the node row, so a machine delivery 2 has sent is never copied afterwards. These two updates and the copy's own null are the only writes to the column.
This commit is contained in:
2026-10-18 05:40:50 +02:00
parent d095a3dcef
commit 4eeba8fb20
5 changed files with 31 additions and 9 deletions
+1
View File
@@ -160,3 +160,4 @@
./internal/inventory TestMigration0105PassesAStoreThatNeverHeldARow
./cmd/mesh-controller TestNoTableOfTheControllersStoreHoldsBuildsRolloutsOrAssignments
./internal/inventory TestTheColumnOfASentMachineIsCopiedOntoItsKeysAndEmptied
./internal/inventory TestASendEmptiesTheColumnSoALaterCopyLeavesAClearedKeyBare