mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 03:15:01 +00:00
* perf(mobile): open Review with the Changes data already loaded * fix(mobile): keep the open diff through re-keys and wait for Review rebuilds * fix(mobile): release Review writes once their files show, retry only fixed diffs * fix(mobile): follow language switches in Review's diff states * fix(mobile): keep Changes' compare key out of render and type the Review adapters
538 lines
13 KiB
JSON
538 lines
13 KiB
JSON
{
|
|
"goldenFormatVersion": 6,
|
|
"operation": "session.diff-review-load",
|
|
"family": "session.diff-review",
|
|
"namedDeltas": [],
|
|
"values": {
|
|
"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
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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\"}"
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"e39817462870": {
|
|
"branchCompare": "unloaded",
|
|
"diff": "unloaded",
|
|
"snapshot": "unloaded"
|
|
}
|
|
},
|
|
"recording": {
|
|
"scenario": "diff-review-snapshot",
|
|
"checkpoints": [
|
|
{
|
|
"id": "pending",
|
|
"observation": {
|
|
"sender": ["11e9ea6be860", "1f10fad6906c", "3374ccf2bc9a"],
|
|
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"],
|
|
"settlements": {
|
|
"snapshot": "9270aeb7d9c6"
|
|
},
|
|
"state": "e39817462870",
|
|
"effects": []
|
|
}
|
|
},
|
|
{
|
|
"id": "snapshot",
|
|
"observation": {
|
|
"sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "c0f7fd87f4a5"],
|
|
"payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"],
|
|
"settlements": {
|
|
"snapshot": "411c662db736"
|
|
},
|
|
"state": "5abf3b2ba503",
|
|
"effects": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|