diff --git a/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.unsubscribe-1.json b/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.unsubscribe-1.json deleted file mode 100644 index 5883cc11186..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.unsubscribe-1.json +++ /dev/null @@ -1,775 +0,0 @@ -{ - "operation": "notifications.desktop-stream", - "family": "notifications.desktop-stream", - "namedDeltas": [], - "runnerVersion": 1, - "baseline": "80e0bee23b8153f5db195a0d8c1db114f28bd336", - "lockfileSha256": "1327605e77b3fed83c7410635d39fdab40c49380e5cbf483ec6ff1b404b4e1d1", - "recorderSha256": "f67c2f5b753d2a4f572599f6861fae8e6e917fe89ac75b58288f8e84be609d86", - "adapterSha256": "eacf859143588ae6bee2804975d642b6c1088d57ae77ffe298620250d9a9f0e4", - "scenarioSha256": "afd3985ecdc07a1880aaee81739432633a1e87ec2de2c02166f43a6c78cb493b", - "platform": "darwin", - "scenarioVersion": 1, - "projectionVersion": 2, - "goldenFormatVersion": 5, - "values": { - "18a100fb6bae": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "dismissedPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - } - ] - } - } - } - }, - "31580ba60f39": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "45aca32cac62": { - "name": "notification-tray.dismiss", - "ordinal": 7, - "value": { - "identifier": "tray-2" - } - }, - "4924583cde9d": { - "name": "device-store.setItem", - "ordinal": 6, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-2\\\"]\",\"seq\":8,\"expiresAt\":1767312000000}]" - } - }, - "4c376c5d53ac": { - "name": "notifications.unsubscribe#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "5359579cc62d": { - "running": true - }, - "55b2f497c709": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "5bbb691c4e73": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "67485a6a910e": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6ebc5caed1cf": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "96f940529e7e": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "97d75ba51dcd": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "unsubscribed": true - } - } - } - }, - "a0b2bcfcde77": { - "running": false - }, - "b02d0b3cb3fb": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "b7a7822cc9d3": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "c3e6dac5f619": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "c7a0ec1c071d": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "cb4d5f9980e8": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "e074c0b6fa0a": { - "name": "notifications.getMissedSince#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.getMissedSince\",\"params\":{\"lastSeenSeq\":9007199254740991,\"deliveredPushes\":[{\"notificationId\":\"note-1\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":7},{\"notificationId\":\"note-2\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":8}]}}" - }, - "e1fb5599ca9c": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "notifications.unsubscribe" - }, - { - "name": "params", - "value": { - "subscriptionId": "sub-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f552b5040ec7": { - "name": "notifications.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.subscribe\",\"params\":{\"includeDesktopSuppressed\":true}}" - }, - "f79cc42f0819": { - "name": "notification-tray.dismiss", - "ordinal": 5, - "value": { - "identifier": "tray-1" - } - }, - "ff11f542ada5": { - "name": "device-store.setItem", - "ordinal": 4, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-1\\\"]\",\"seq\":7,\"expiresAt\":1767312000000}]" - } - } - }, - "recording": { - "scenario": "matrix-notifications.desktop-stream-notifications.unsubscribe-1", - "checkpoints": [ - { - "id": "notifications-desktop-stream.prelude:subscribed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.prelude:ready", - "observation": { - "sender": ["67485a6a910e"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.prelude:caught-up", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.prelude:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.prelude:unsubscribing", - "observation": { - "sender": ["18a100fb6bae", "96f940529e7e"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.normal:stopped", - "observation": { - "sender": ["18a100fb6bae", "97d75ba51dcd"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:stopped", - "observation": { - "sender": ["18a100fb6bae", "6ebc5caed1cf"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.result-null:stopped", - "observation": { - "sender": ["18a100fb6bae", "b02d0b3cb3fb"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:stopped", - "observation": { - "sender": ["18a100fb6bae", "31580ba60f39"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:stopped", - "observation": { - "sender": ["18a100fb6bae", "c7a0ec1c071d"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:stopped", - "observation": { - "sender": ["18a100fb6bae", "cb4d5f9980e8"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:stopped", - "observation": { - "sender": ["18a100fb6bae", "c3e6dac5f619"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:stopped", - "observation": { - "sender": ["18a100fb6bae", "5bbb691c4e73"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:stopped", - "observation": { - "sender": ["18a100fb6bae", "b7a7822cc9d3"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection:stopped", - "observation": { - "sender": ["18a100fb6bae", "e1fb5599ca9c"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection-no-message:stopped", - "observation": { - "sender": ["18a100fb6bae", "55b2f497c709"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "4c376c5d53ac"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - } - ] - } -} diff --git a/mobile/src/test-support/bridged-parity/divergence-classes.ts b/mobile/src/test-support/bridged-parity/divergence-classes.ts index 5d16e7a09e9..c77948d247a 100644 --- a/mobile/src/test-support/bridged-parity/divergence-classes.ts +++ b/mobile/src/test-support/bridged-parity/divergence-classes.ts @@ -186,7 +186,7 @@ export const BRIDGED_PARITY_BASELINE: Readonly