Appservice transactions: parse MSC2409 ephemeral/to-device and MSC3202 device-list/OTK/fallback fields into the fleet machines (§10.4.3, §10.9.3) #136

Closed
opened 2026-08-27 19:21:09 +02:00 by thecrealm · 0 comments
Owner

Review finding 2026-08-27 (A3). AppserviceInbound.kt:167 reads only events; the negotiated EPHEMERAL_PUSH/DEVICE_LIST_PUSH features never feed anything, so fleet machines get no D51 OTK counts, no device-list invalidation and no to-device traffic from transactions.

Acceptance (§10.4.3-8, §10.9.3, D47/D48, D51): the appservice source maps de.sorunome.msc2409.ephemeral / to_device, org.matrix.msc3202.device_lists, device_one_time_keys_count, device_unused_fallback_key_types into SyncBatch with the same semantics as the sliding source (absence = unchanged); unit tests per field; the replay corpus gains an APPSERVICE leg (ref #101).

Review finding 2026-08-27 (A3). `AppserviceInbound.kt:167` reads only `events`; the negotiated `EPHEMERAL_PUSH`/`DEVICE_LIST_PUSH` features never feed anything, so fleet machines get no D51 OTK counts, no device-list invalidation and no to-device traffic from transactions. Acceptance (§10.4.3-8, §10.9.3, D47/D48, D51): the appservice source maps `de.sorunome.msc2409.ephemeral` / `to_device`, `org.matrix.msc3202.device_lists`, `device_one_time_keys_count`, `device_unused_fallback_key_types` into `SyncBatch` with the same semantics as the sliding source (absence = unchanged); unit tests per field; the replay corpus gains an APPSERVICE leg (ref #101).
thecrealm added
now
and removed
next
labels 2026-08-31 12:30:31 +02:00
thecrealm 2026-08-31 12:46:57 +02:00
  • closed this issue
  • removed the
    now
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thecrealm/katrix#136
No description provided.