Skip to content

Commit b1aaa64

Browse files
committed
docs(android): record why acknowledged run ids stay in-memory
1 parent 71445ce commit b1aaa64

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎apps/android/app/src/main/java/ai/openclaw/app/chat/ChatController.kt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ class ChatController internal constructor(
208208

209209
// Gateway ACKs may return a run id that differs from the row's idempotency key; ownership
210210
// and in-flight checks must recognize both or reconciliation can park a still-live run.
211+
// Deliberately in-memory: chat.send uses the client idempotency key as the run id, and
212+
// after a restart canonical-history proof by "<id>:user" retires rows regardless of the
213+
// acked id; an ambiguous survivor parks for manual review instead of auto-retrying.
211214
private val acknowledgedRunIdByRowId = ConcurrentHashMap<String, String>()
212215

213216
private val outboxRecoveryJob =

0 commit comments

Comments
 (0)