mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Maintainer decision of 2026-09-30: every Scrum record and activity gets a new random incarnation each time it is created, so a record deleted and recreated with the same values is not taken for the original. Scrum records have it; activities now do too. The server insert hook sets it on every insert - whatever the caller passed - before the notification intent captures the activity, and recovery already compares the stored activity with the captured one, so another lifetime is refused as unconfirmed. Sync-planned activities are deferred past this hook on purpose: their deterministic id is their identity, and a replay must match the plan. A full-app test inserts an activity, recreates it under the same id with the same values and timestamps, and recovery refuses it; the original lifetime is still accepted, and a caller cannot choose the incarnation. 564 server tests pass. Thanks to xet7 !