node-engine: back up a data module before its apply only when its move changed; a needless backup's hold ends (design 47 H2 H-A-771, H-A-772; issue 1984) #260

Merged
mesh-tools merged 3 commits from fix/47-H2-771-unchanged-no-backup into main 2026-11-26 03:34:36 +00:00
3 Commits
Author SHA1 Message Date
jschoubben eb08f9c787 H-A-772 (3) again-rows: hold the want's again on an unchanged move to its backup and its hold (issue 1984)
Review round 2 found two cases of H-A-772 (3) without a row: an interrupted backup whose want carries
again, and a failed again backup of an unchanged move.

- An interrupted backup, the want carrying again, the move unchanged: it says it is backed up again,
  takes one backup and is applied.
- The want carrying again on an unchanged move whose backup fails: it is held, nothing is applied
  until the later answer, and nothing says the hold ends.

Builds: design 47 H2 H-A-772 (1), (3)
2026-11-26 04:30:37 +01:00
jschoubben a8f2a9a171 H-A-772 (3) hold-end-words: end only a failed backup's hold, and say an interrupted unchanged move takes no backup (issue 1984)
Review round 1 found that an interrupted backup of a move judged unchanged still said "it is backed up
again" while the apply takes none, and that the start's hold end also matched a revert's hold, which
carries a wait.

- The interrupted backup's line says the move is judged unchanged and applied with no backup when the
  judge finds it unchanged and the want carries no again; its comment says the same.
- The hold end at the start takes only a failed backup's hold (no wait): a revert's hold waits for the
  operator's answer, whatever the judgement. A hold after a failed again stays, as before.

Builds: design 47 H2 H-A-772 (3)
2026-11-26 04:24:59 +01:00
jschoubben 50dffe299f H-A-771 unchanged-no-backup: back up a data module before its apply only when its move changed (issue 1984)
On ace at 03:40:55 the node-engine backed up lidarr (5.6 GB) for a move whose one difference was
env.MESH_FINGERPRINT, judged unchanged; the backup ran past its 10 minutes, lidarr was held, the operator
was asked, and the agent's loop stood still for 10 minutes. A move judged unchanged changes nothing of
the module, so it needs no backup.

- The apply backs a data module up only when the judge finds the move changed (any judgement but
  unchanged), or when the want carries the operator's answer again.
- The judgement compares the composition to what the machine applied (this engine's last apply, else
  the applied store's composition read at the start), never to a have, which in issue 1585's shape
  names a held composition not yet applied; with neither, the move is changed.
- A module held for a failed backup of a move judged unchanged has its hold ended at the engine's
  start, said in the journal, and is applied with no backup; the assigner takes its ask back as stale
  once the have runs.

Builds: design 47 H2 H-A-771, H-A-772 (1), (2)
2026-11-26 04:10:26 +01:00