Files
orca/mobile/rpc-foundation/goldens/matrix-session.diff-review-git.status-1.json
Kelvin Amoaba 2ec6ea4aad perf(mobile): prefetch the next and previous file in Review (#39355)
* perf(mobile): prefetch the next and previous file in Review

* perf(mobile): open Review on the tapped file without reading the first file

* fix(mobile): show failed Review diff reads and re-read refused deleted files

A re-keyed worktree diff that fails now shows its error instead of the
older lines. A deleted-file stand-in from a refused read is re-read on the
next visit and by Retry. Without git status, the branch section no longer
waits on an unused compare.
2026-11-07 23:14:26 +00:00

1066 lines
26 KiB
JSON

{
"goldenFormatVersion": 6,
"operation": "session.diff-review-load",
"family": "session.diff-review",
"namedDeltas": [],
"values": {
"0bd4c9fb1332": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"11e9ea6be860": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"14804a5e414f": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"kind": "unavailable",
"message": "Update Orca desktop to review changes on mobile."
}
},
"1f10fad6906c": {
"name": "worktree.show#1",
"ordinal": 2,
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"32a7c0ae7918": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "outer refused",
"isRpcDeliveryUnknown": false
}
},
"3374ccf2bc9a": {
"name": "repo.list#1",
"ordinal": 5,
"args": [
{
"name": "method",
"value": "repo.list"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"411c662db736": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"branchCompare": {
"entries": [
{
"added": 1,
"oldPath": {
"$rpc": "undefined"
},
"path": "src/old.ts",
"removed": 0,
"status": "modified"
}
],
"summary": {
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"baseRef": "origin/main",
"changedFiles": 1,
"commitsAhead": {
"$rpc": "undefined"
},
"compareRef": "feature",
"errorMessage": {
"$rpc": "undefined"
},
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567",
"status": "ready"
}
},
"branchError": {
"$rpc": "undefined"
},
"comments": [],
"kind": "ready",
"reviewState": {
"completedAt": {
"$rpc": "undefined"
},
"files": {
"branch\u0000branch\u0000\u0000src/old.ts": {
"filePath": "src/old.ts",
"key": "branch\u0000branch\u0000\u0000src/old.ts",
"lastOpenedAt": {
"$rpc": "undefined"
},
"lastSeenDiffIdentity": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"reviewDiffIdentity": {
"$rpc": "undefined"
},
"reviewedAt": {
"$rpc": "undefined"
},
"scope": "branch"
},
"unstaged\u0000unstaged\u0000\u0000src/app.ts": {
"filePath": "src/app.ts",
"key": "unstaged\u0000unstaged\u0000\u0000src/app.ts",
"lastOpenedAt": {
"$rpc": "undefined"
},
"lastSeenDiffIdentity": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"reviewDiffIdentity": {
"$rpc": "undefined"
},
"reviewedAt": {
"$rpc": "undefined"
},
"scope": "unstaged"
}
},
"updatedAt": 1767225600000,
"version": 1
},
"status": {
"branch": "feature",
"entries": [
{
"added": 3,
"area": "unstaged",
"path": "src/app.ts",
"removed": 1,
"status": "modified"
}
],
"head": "head-sha-1",
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
},
"45d1ea7c0b42": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"55c07df45014": {
"branchCompare": "unloaded",
"diff": "unloaded",
"snapshot": {
"kind": "unavailable",
"message": "Update Orca desktop to review changes on mobile."
}
},
"5a46fcc976ac": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"error": "inner refused",
"ok": false
}
}
}
},
"5abf3b2ba503": {
"branchCompare": "unloaded",
"diff": "unloaded",
"snapshot": {
"branchCompare": {
"entries": [
{
"added": 1,
"oldPath": {
"$rpc": "undefined"
},
"path": "src/old.ts",
"removed": 0,
"status": "modified"
}
],
"summary": {
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"baseRef": "origin/main",
"changedFiles": 1,
"commitsAhead": {
"$rpc": "undefined"
},
"compareRef": "feature",
"errorMessage": {
"$rpc": "undefined"
},
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567",
"status": "ready"
}
},
"branchError": {
"$rpc": "undefined"
},
"comments": [],
"kind": "ready",
"reviewState": {
"completedAt": {
"$rpc": "undefined"
},
"files": {
"branch\u0000branch\u0000\u0000src/old.ts": {
"filePath": "src/old.ts",
"key": "branch\u0000branch\u0000\u0000src/old.ts",
"lastOpenedAt": {
"$rpc": "undefined"
},
"lastSeenDiffIdentity": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"reviewDiffIdentity": {
"$rpc": "undefined"
},
"reviewedAt": {
"$rpc": "undefined"
},
"scope": "branch"
},
"unstaged\u0000unstaged\u0000\u0000src/app.ts": {
"filePath": "src/app.ts",
"key": "unstaged\u0000unstaged\u0000\u0000src/app.ts",
"lastOpenedAt": {
"$rpc": "undefined"
},
"lastSeenDiffIdentity": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"reviewDiffIdentity": {
"$rpc": "undefined"
},
"reviewedAt": {
"$rpc": "undefined"
},
"scope": "unstaged"
}
},
"updatedAt": 1767225600000,
"version": 1
},
"status": {
"branch": "feature",
"entries": [
{
"added": 3,
"area": "unstaged",
"path": "src/app.ts",
"removed": 1,
"status": "modified"
}
],
"head": "head-sha-1",
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
},
"5dbd52d6a1c7": {
"name": "worktree.show#1",
"ordinal": 4,
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"5dd74fdeb001": {
"name": "worktree.show#1",
"ordinal": 2,
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main",
"diffComments": [],
"linkedPR": 12,
"mobileDiffReview": {
"files": []
}
}
}
}
}
},
"622e5aadb43d": {
"name": "git.branchCompare#1",
"ordinal": 8,
"json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}"
},
"648638103acb": {
"name": "repo.list#1",
"ordinal": 6,
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}"
},
"8baf252a9a66": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true
}
}
},
"8db27b0778a5": {
"name": "git.status#1",
"ordinal": 3,
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"9affac551982": {
"name": "repo.list#1",
"ordinal": 5,
"args": [
{
"name": "method",
"value": "repo.list"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
}
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"b2181825a3ca": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"c0f7fd87f4a5": {
"name": "git.branchCompare#1",
"ordinal": 7,
"args": [
{
"name": "method",
"value": "git.branchCompare"
},
{
"name": "params",
"value": {
"baseRef": "origin/main",
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-4",
"ok": true,
"result": {
"entries": [
{
"added": 1,
"path": "src/old.ts",
"removed": 0,
"status": "modified"
}
],
"summary": {
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"baseRef": "origin/main",
"changedFiles": 1,
"compareRef": "feature",
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567",
"status": "ready"
}
}
}
}
},
"c33e0a3d4a1f": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"$rpc": "null"
}
}
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"d0e28a73dae6": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"branch": "feature",
"entries": [
{
"added": 3,
"area": "unstaged",
"path": "src/app.ts",
"removed": 1,
"status": "modified"
}
],
"head": "head-sha-1",
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
}
},
"d2367ea0fad5": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "RpcIncompatibleReplyError",
"message": "The host sent a reply this app could not read (git.status)",
"isRpcDeliveryUnknown": false,
"code": "incompatible_reply"
}
},
"d4d06fefbe7c": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Unable to load source control",
"isRpcDeliveryUnknown": false
}
},
"e39817462870": {
"branchCompare": "unloaded",
"diff": "unloaded",
"snapshot": "unloaded"
},
"eb92786433d3": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"ebfcf8909ca0": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"error": "refused"
}
}
}
},
"fa4ee3a35705": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"fb05490ae527": {
"name": "git.status#1",
"ordinal": 1,
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
}
},
"recording": {
"scenario": "matrix-session.diff-review-git.status-1",
"checkpoints": [
{
"id": "diff-review-snapshot.prelude:pending",
"observation": {
"sender": ["11e9ea6be860", "1f10fad6906c", "3374ccf2bc9a"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "9270aeb7d9c6"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "diff-review-snapshot.normal:snapshot",
"observation": {
"sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "c0f7fd87f4a5"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"],
"settlements": {
"snapshot": "411c662db736"
},
"state": "5abf3b2ba503",
"effects": []
}
},
{
"id": "diff-review-snapshot.result-absent:snapshot",
"observation": {
"sender": ["8baf252a9a66", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "d2367ea0fad5"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "diff-review-snapshot.result-null:snapshot",
"observation": {
"sender": ["c33e0a3d4a1f", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "d2367ea0fad5"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "diff-review-snapshot.inner-ok-missing:snapshot",
"observation": {
"sender": ["ebfcf8909ca0", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "d2367ea0fad5"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "diff-review-snapshot.inner-false-string-error:snapshot",
"observation": {
"sender": ["5a46fcc976ac", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "d2367ea0fad5"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "diff-review-snapshot.inner-false-object-error:snapshot",
"observation": {
"sender": ["fb05490ae527", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "d2367ea0fad5"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "diff-review-snapshot.outer-refused:snapshot",
"observation": {
"sender": ["b2181825a3ca", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "32a7c0ae7918"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "diff-review-snapshot.outer-refused-no-message:snapshot",
"observation": {
"sender": ["0bd4c9fb1332", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "d4d06fefbe7c"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "diff-review-snapshot.method-not-found:snapshot",
"observation": {
"sender": ["45d1ea7c0b42", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "14804a5e414f"
},
"state": "55c07df45014",
"effects": []
}
},
{
"id": "diff-review-snapshot.transport-rejection:snapshot",
"observation": {
"sender": ["eb92786433d3", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "a947768bc0ed"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "diff-review-snapshot.transport-rejection-no-message:snapshot",
"observation": {
"sender": ["fa4ee3a35705", "5dd74fdeb001", "9affac551982"],
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
"settlements": {
"snapshot": "c7584e82c72f"
},
"state": "e39817462870",
"effects": []
}
}
]
}
}